applied-ai-018 commited on
Commit
436e2d9
·
verified ·
1 Parent(s): 9468569

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py +3 -0
  2. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py +12 -0
  3. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-310.pyc +0 -0
  4. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-310.pyc +0 -0
  5. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-310.pyc +0 -0
  6. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem +0 -0
  7. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py +76 -0
  8. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py +44 -0
  9. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-310.pyc +0 -0
  10. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-310.pyc +0 -0
  11. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-310.pyc +0 -0
  12. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/core.cpython-310.pyc +0 -0
  13. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-310.pyc +0 -0
  14. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-310.pyc +0 -0
  15. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-310.pyc +0 -0
  16. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-310.pyc +0 -0
  17. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py +112 -0
  18. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py +13 -0
  19. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/core.py +397 -0
  20. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py +2137 -0
  21. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py +54 -0
  22. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py +2 -0
  23. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py +0 -0
  24. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py +6 -0
  25. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__pycache__/build.cpython-310.pyc +0 -0
  26. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__pycache__/colorlog.cpython-310.pyc +0 -0
  27. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__pycache__/envbuild.cpython-310.pyc +0 -0
  28. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py +127 -0
  29. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py +207 -0
  30. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
  31. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py +51 -0
  32. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
  33. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py +171 -0
  34. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py +17 -0
  35. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__pycache__/__init__.cpython-310.pyc +0 -0
  36. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py +92 -0
  37. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py +375 -0
  38. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-310.pyc +0 -0
  39. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-310.pyc +0 -0
  40. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-310.pyc +0 -0
  41. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-310.pyc +0 -0
  42. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_lru_cache.cpython-310.pyc +0 -0
  43. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-310.pyc +0 -0
  44. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-310.pyc +0 -0
  45. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-310.pyc +0 -0
  46. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-310.pyc +0 -0
  47. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-310.pyc +0 -0
  48. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/box.cpython-310.pyc +0 -0
  49. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-310.pyc +0 -0
  50. scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/console.cpython-310.pyc +0 -0
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from .core import contents, where
2
+
3
+ __version__ = "2021.10.08"
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+
3
+ from pip._vendor.certifi import contents, where
4
+
5
+ parser = argparse.ArgumentParser()
6
+ parser.add_argument("-c", "--contents", action="store_true")
7
+ args = parser.parse_args()
8
+
9
+ if args.contents:
10
+ print(contents())
11
+ else:
12
+ print(where())
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (278 Bytes). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-310.pyc ADDED
Binary file (457 Bytes). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-310.pyc ADDED
Binary file (1.52 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem ADDED
The diff for this file is too large to render. See raw diff
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+
3
+ """
4
+ certifi.py
5
+ ~~~~~~~~~~
6
+
7
+ This module returns the installation location of cacert.pem or its contents.
8
+ """
9
+ import os
10
+
11
+
12
+ class _PipPatchedCertificate(Exception):
13
+ pass
14
+
15
+
16
+ DEBIAN_CA_CERTS_PATH = '/etc/ssl/certs/ca-certificates.crt'
17
+
18
+ try:
19
+ # Return a certificate file on disk for a standalone pip zipapp running in
20
+ # an isolated build environment to use. Passing --cert to the standalone
21
+ # pip does not work since requests calls where() unconditionally on import.
22
+ _PIP_STANDALONE_CERT = os.environ.get("_PIP_STANDALONE_CERT")
23
+ if _PIP_STANDALONE_CERT:
24
+ def where():
25
+ return _PIP_STANDALONE_CERT
26
+ raise _PipPatchedCertificate()
27
+
28
+ from importlib.resources import path as get_path, read_text
29
+
30
+ _CACERT_CTX = None
31
+ _CACERT_PATH = None
32
+
33
+ def where():
34
+ # This is slightly terrible, but we want to delay extracting the file
35
+ # in cases where we're inside of a zipimport situation until someone
36
+ # actually calls where(), but we don't want to re-extract the file
37
+ # on every call of where(), so we'll do it once then store it in a
38
+ # global variable.
39
+ global _CACERT_CTX
40
+ global _CACERT_PATH
41
+ if _CACERT_PATH is None:
42
+ # This is slightly janky, the importlib.resources API wants you to
43
+ # manage the cleanup of this file, so it doesn't actually return a
44
+ # path, it returns a context manager that will give you the path
45
+ # when you enter it and will do any cleanup when you leave it. In
46
+ # the common case of not needing a temporary file, it will just
47
+ # return the file system location and the __exit__() is a no-op.
48
+ #
49
+ # We also have to hold onto the actual context manager, because
50
+ # it will do the cleanup whenever it gets garbage collected, so
51
+ # we will also store that at the global level as well.
52
+ _CACERT_PATH = DEBIAN_CA_CERTS_PATH
53
+
54
+ return _CACERT_PATH
55
+
56
+ except _PipPatchedCertificate:
57
+ pass
58
+
59
+ except ImportError:
60
+ # This fallback will work for Python versions prior to 3.7 that lack the
61
+ # importlib.resources module but relies on the existing `where` function
62
+ # so won't address issues with environments like PyOxidizer that don't set
63
+ # __file__ on modules.
64
+ def read_text(_module, _path, encoding="ascii"):
65
+ with open(where(), "r", encoding=encoding) as data:
66
+ return data.read()
67
+
68
+ # If we don't have importlib.resources, then we will just do the old logic
69
+ # of assuming we're on the filesystem and munge the path directly.
70
+ def where():
71
+ return DEBIAN_CA_CERTS_PATH
72
+
73
+
74
+ def contents():
75
+ with open(where(), "r", encoding="ascii") as data:
76
+ return data.read()
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .package_data import __version__
2
+ from .core import (
3
+ IDNABidiError,
4
+ IDNAError,
5
+ InvalidCodepoint,
6
+ InvalidCodepointContext,
7
+ alabel,
8
+ check_bidi,
9
+ check_hyphen_ok,
10
+ check_initial_combiner,
11
+ check_label,
12
+ check_nfc,
13
+ decode,
14
+ encode,
15
+ ulabel,
16
+ uts46_remap,
17
+ valid_contextj,
18
+ valid_contexto,
19
+ valid_label_length,
20
+ valid_string_length,
21
+ )
22
+ from .intranges import intranges_contain
23
+
24
+ __all__ = [
25
+ "IDNABidiError",
26
+ "IDNAError",
27
+ "InvalidCodepoint",
28
+ "InvalidCodepointContext",
29
+ "alabel",
30
+ "check_bidi",
31
+ "check_hyphen_ok",
32
+ "check_initial_combiner",
33
+ "check_label",
34
+ "check_nfc",
35
+ "decode",
36
+ "encode",
37
+ "intranges_contain",
38
+ "ulabel",
39
+ "uts46_remap",
40
+ "valid_contextj",
41
+ "valid_contexto",
42
+ "valid_label_length",
43
+ "valid_string_length",
44
+ ]
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (850 Bytes). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-310.pyc ADDED
Binary file (2.82 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-310.pyc ADDED
Binary file (750 Bytes). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/core.cpython-310.pyc ADDED
Binary file (9.57 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-310.pyc ADDED
Binary file (38.2 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-310.pyc ADDED
Binary file (1.99 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-310.pyc ADDED
Binary file (214 Bytes). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-310.pyc ADDED
Binary file (151 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .core import encode, decode, alabel, ulabel, IDNAError
2
+ import codecs
3
+ import re
4
+ from typing import Tuple, Optional
5
+
6
+ _unicode_dots_re = re.compile('[\u002e\u3002\uff0e\uff61]')
7
+
8
+ class Codec(codecs.Codec):
9
+
10
+ def encode(self, data: str, errors: str = 'strict') -> Tuple[bytes, int]:
11
+ if errors != 'strict':
12
+ raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
13
+
14
+ if not data:
15
+ return b"", 0
16
+
17
+ return encode(data), len(data)
18
+
19
+ def decode(self, data: bytes, errors: str = 'strict') -> Tuple[str, int]:
20
+ if errors != 'strict':
21
+ raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
22
+
23
+ if not data:
24
+ return '', 0
25
+
26
+ return decode(data), len(data)
27
+
28
+ class IncrementalEncoder(codecs.BufferedIncrementalEncoder):
29
+ def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple[str, int]: # type: ignore
30
+ if errors != 'strict':
31
+ raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
32
+
33
+ if not data:
34
+ return "", 0
35
+
36
+ labels = _unicode_dots_re.split(data)
37
+ trailing_dot = ''
38
+ if labels:
39
+ if not labels[-1]:
40
+ trailing_dot = '.'
41
+ del labels[-1]
42
+ elif not final:
43
+ # Keep potentially unfinished label until the next call
44
+ del labels[-1]
45
+ if labels:
46
+ trailing_dot = '.'
47
+
48
+ result = []
49
+ size = 0
50
+ for label in labels:
51
+ result.append(alabel(label))
52
+ if size:
53
+ size += 1
54
+ size += len(label)
55
+
56
+ # Join with U+002E
57
+ result_str = '.'.join(result) + trailing_dot # type: ignore
58
+ size += len(trailing_dot)
59
+ return result_str, size
60
+
61
+ class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
62
+ def _buffer_decode(self, data: str, errors: str, final: bool) -> Tuple[str, int]: # type: ignore
63
+ if errors != 'strict':
64
+ raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
65
+
66
+ if not data:
67
+ return ('', 0)
68
+
69
+ labels = _unicode_dots_re.split(data)
70
+ trailing_dot = ''
71
+ if labels:
72
+ if not labels[-1]:
73
+ trailing_dot = '.'
74
+ del labels[-1]
75
+ elif not final:
76
+ # Keep potentially unfinished label until the next call
77
+ del labels[-1]
78
+ if labels:
79
+ trailing_dot = '.'
80
+
81
+ result = []
82
+ size = 0
83
+ for label in labels:
84
+ result.append(ulabel(label))
85
+ if size:
86
+ size += 1
87
+ size += len(label)
88
+
89
+ result_str = '.'.join(result) + trailing_dot
90
+ size += len(trailing_dot)
91
+ return (result_str, size)
92
+
93
+
94
+ class StreamWriter(Codec, codecs.StreamWriter):
95
+ pass
96
+
97
+
98
+ class StreamReader(Codec, codecs.StreamReader):
99
+ pass
100
+
101
+
102
+ def getregentry() -> codecs.CodecInfo:
103
+ # Compatibility as a search_function for codecs.register()
104
+ return codecs.CodecInfo(
105
+ name='idna',
106
+ encode=Codec().encode, # type: ignore
107
+ decode=Codec().decode, # type: ignore
108
+ incrementalencoder=IncrementalEncoder,
109
+ incrementaldecoder=IncrementalDecoder,
110
+ streamwriter=StreamWriter,
111
+ streamreader=StreamReader,
112
+ )
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .core import *
2
+ from .codec import *
3
+ from typing import Any, Union
4
+
5
+ def ToASCII(label: str) -> bytes:
6
+ return encode(label)
7
+
8
+ def ToUnicode(label: Union[bytes, bytearray]) -> str:
9
+ return decode(label)
10
+
11
+ def nameprep(s: Any) -> None:
12
+ raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
13
+
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/core.py ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from . import idnadata
2
+ import bisect
3
+ import unicodedata
4
+ import re
5
+ from typing import Union, Optional
6
+ from .intranges import intranges_contain
7
+
8
+ _virama_combining_class = 9
9
+ _alabel_prefix = b'xn--'
10
+ _unicode_dots_re = re.compile('[\u002e\u3002\uff0e\uff61]')
11
+
12
+ class IDNAError(UnicodeError):
13
+ """ Base exception for all IDNA-encoding related problems """
14
+ pass
15
+
16
+
17
+ class IDNABidiError(IDNAError):
18
+ """ Exception when bidirectional requirements are not satisfied """
19
+ pass
20
+
21
+
22
+ class InvalidCodepoint(IDNAError):
23
+ """ Exception when a disallowed or unallocated codepoint is used """
24
+ pass
25
+
26
+
27
+ class InvalidCodepointContext(IDNAError):
28
+ """ Exception when the codepoint is not valid in the context it is used """
29
+ pass
30
+
31
+
32
+ def _combining_class(cp: int) -> int:
33
+ v = unicodedata.combining(chr(cp))
34
+ if v == 0:
35
+ if not unicodedata.name(chr(cp)):
36
+ raise ValueError('Unknown character in unicodedata')
37
+ return v
38
+
39
+ def _is_script(cp: str, script: str) -> bool:
40
+ return intranges_contain(ord(cp), idnadata.scripts[script])
41
+
42
+ def _punycode(s: str) -> bytes:
43
+ return s.encode('punycode')
44
+
45
+ def _unot(s: int) -> str:
46
+ return 'U+{:04X}'.format(s)
47
+
48
+
49
+ def valid_label_length(label: Union[bytes, str]) -> bool:
50
+ if len(label) > 63:
51
+ return False
52
+ return True
53
+
54
+
55
+ def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
56
+ if len(label) > (254 if trailing_dot else 253):
57
+ return False
58
+ return True
59
+
60
+
61
+ def check_bidi(label: str, check_ltr: bool = False) -> bool:
62
+ # Bidi rules should only be applied if string contains RTL characters
63
+ bidi_label = False
64
+ for (idx, cp) in enumerate(label, 1):
65
+ direction = unicodedata.bidirectional(cp)
66
+ if direction == '':
67
+ # String likely comes from a newer version of Unicode
68
+ raise IDNABidiError('Unknown directionality in label {} at position {}'.format(repr(label), idx))
69
+ if direction in ['R', 'AL', 'AN']:
70
+ bidi_label = True
71
+ if not bidi_label and not check_ltr:
72
+ return True
73
+
74
+ # Bidi rule 1
75
+ direction = unicodedata.bidirectional(label[0])
76
+ if direction in ['R', 'AL']:
77
+ rtl = True
78
+ elif direction == 'L':
79
+ rtl = False
80
+ else:
81
+ raise IDNABidiError('First codepoint in label {} must be directionality L, R or AL'.format(repr(label)))
82
+
83
+ valid_ending = False
84
+ number_type = None # type: Optional[str]
85
+ for (idx, cp) in enumerate(label, 1):
86
+ direction = unicodedata.bidirectional(cp)
87
+
88
+ if rtl:
89
+ # Bidi rule 2
90
+ if not direction in ['R', 'AL', 'AN', 'EN', 'ES', 'CS', 'ET', 'ON', 'BN', 'NSM']:
91
+ raise IDNABidiError('Invalid direction for codepoint at position {} in a right-to-left label'.format(idx))
92
+ # Bidi rule 3
93
+ if direction in ['R', 'AL', 'EN', 'AN']:
94
+ valid_ending = True
95
+ elif direction != 'NSM':
96
+ valid_ending = False
97
+ # Bidi rule 4
98
+ if direction in ['AN', 'EN']:
99
+ if not number_type:
100
+ number_type = direction
101
+ else:
102
+ if number_type != direction:
103
+ raise IDNABidiError('Can not mix numeral types in a right-to-left label')
104
+ else:
105
+ # Bidi rule 5
106
+ if not direction in ['L', 'EN', 'ES', 'CS', 'ET', 'ON', 'BN', 'NSM']:
107
+ raise IDNABidiError('Invalid direction for codepoint at position {} in a left-to-right label'.format(idx))
108
+ # Bidi rule 6
109
+ if direction in ['L', 'EN']:
110
+ valid_ending = True
111
+ elif direction != 'NSM':
112
+ valid_ending = False
113
+
114
+ if not valid_ending:
115
+ raise IDNABidiError('Label ends with illegal codepoint directionality')
116
+
117
+ return True
118
+
119
+
120
+ def check_initial_combiner(label: str) -> bool:
121
+ if unicodedata.category(label[0])[0] == 'M':
122
+ raise IDNAError('Label begins with an illegal combining character')
123
+ return True
124
+
125
+
126
+ def check_hyphen_ok(label: str) -> bool:
127
+ if label[2:4] == '--':
128
+ raise IDNAError('Label has disallowed hyphens in 3rd and 4th position')
129
+ if label[0] == '-' or label[-1] == '-':
130
+ raise IDNAError('Label must not start or end with a hyphen')
131
+ return True
132
+
133
+
134
+ def check_nfc(label: str) -> None:
135
+ if unicodedata.normalize('NFC', label) != label:
136
+ raise IDNAError('Label must be in Normalization Form C')
137
+
138
+
139
+ def valid_contextj(label: str, pos: int) -> bool:
140
+ cp_value = ord(label[pos])
141
+
142
+ if cp_value == 0x200c:
143
+
144
+ if pos > 0:
145
+ if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
146
+ return True
147
+
148
+ ok = False
149
+ for i in range(pos-1, -1, -1):
150
+ joining_type = idnadata.joining_types.get(ord(label[i]))
151
+ if joining_type == ord('T'):
152
+ continue
153
+ if joining_type in [ord('L'), ord('D')]:
154
+ ok = True
155
+ break
156
+
157
+ if not ok:
158
+ return False
159
+
160
+ ok = False
161
+ for i in range(pos+1, len(label)):
162
+ joining_type = idnadata.joining_types.get(ord(label[i]))
163
+ if joining_type == ord('T'):
164
+ continue
165
+ if joining_type in [ord('R'), ord('D')]:
166
+ ok = True
167
+ break
168
+ return ok
169
+
170
+ if cp_value == 0x200d:
171
+
172
+ if pos > 0:
173
+ if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
174
+ return True
175
+ return False
176
+
177
+ else:
178
+
179
+ return False
180
+
181
+
182
+ def valid_contexto(label: str, pos: int, exception: bool = False) -> bool:
183
+ cp_value = ord(label[pos])
184
+
185
+ if cp_value == 0x00b7:
186
+ if 0 < pos < len(label)-1:
187
+ if ord(label[pos - 1]) == 0x006c and ord(label[pos + 1]) == 0x006c:
188
+ return True
189
+ return False
190
+
191
+ elif cp_value == 0x0375:
192
+ if pos < len(label)-1 and len(label) > 1:
193
+ return _is_script(label[pos + 1], 'Greek')
194
+ return False
195
+
196
+ elif cp_value == 0x05f3 or cp_value == 0x05f4:
197
+ if pos > 0:
198
+ return _is_script(label[pos - 1], 'Hebrew')
199
+ return False
200
+
201
+ elif cp_value == 0x30fb:
202
+ for cp in label:
203
+ if cp == '\u30fb':
204
+ continue
205
+ if _is_script(cp, 'Hiragana') or _is_script(cp, 'Katakana') or _is_script(cp, 'Han'):
206
+ return True
207
+ return False
208
+
209
+ elif 0x660 <= cp_value <= 0x669:
210
+ for cp in label:
211
+ if 0x6f0 <= ord(cp) <= 0x06f9:
212
+ return False
213
+ return True
214
+
215
+ elif 0x6f0 <= cp_value <= 0x6f9:
216
+ for cp in label:
217
+ if 0x660 <= ord(cp) <= 0x0669:
218
+ return False
219
+ return True
220
+
221
+ return False
222
+
223
+
224
+ def check_label(label: Union[str, bytes, bytearray]) -> None:
225
+ if isinstance(label, (bytes, bytearray)):
226
+ label = label.decode('utf-8')
227
+ if len(label) == 0:
228
+ raise IDNAError('Empty Label')
229
+
230
+ check_nfc(label)
231
+ check_hyphen_ok(label)
232
+ check_initial_combiner(label)
233
+
234
+ for (pos, cp) in enumerate(label):
235
+ cp_value = ord(cp)
236
+ if intranges_contain(cp_value, idnadata.codepoint_classes['PVALID']):
237
+ continue
238
+ elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTJ']):
239
+ try:
240
+ if not valid_contextj(label, pos):
241
+ raise InvalidCodepointContext('Joiner {} not allowed at position {} in {}'.format(
242
+ _unot(cp_value), pos+1, repr(label)))
243
+ except ValueError:
244
+ raise IDNAError('Unknown codepoint adjacent to joiner {} at position {} in {}'.format(
245
+ _unot(cp_value), pos+1, repr(label)))
246
+ elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTO']):
247
+ if not valid_contexto(label, pos):
248
+ raise InvalidCodepointContext('Codepoint {} not allowed at position {} in {}'.format(_unot(cp_value), pos+1, repr(label)))
249
+ else:
250
+ raise InvalidCodepoint('Codepoint {} at position {} of {} not allowed'.format(_unot(cp_value), pos+1, repr(label)))
251
+
252
+ check_bidi(label)
253
+
254
+
255
+ def alabel(label: str) -> bytes:
256
+ try:
257
+ label_bytes = label.encode('ascii')
258
+ ulabel(label_bytes)
259
+ if not valid_label_length(label_bytes):
260
+ raise IDNAError('Label too long')
261
+ return label_bytes
262
+ except UnicodeEncodeError:
263
+ pass
264
+
265
+ if not label:
266
+ raise IDNAError('No Input')
267
+
268
+ label = str(label)
269
+ check_label(label)
270
+ label_bytes = _punycode(label)
271
+ label_bytes = _alabel_prefix + label_bytes
272
+
273
+ if not valid_label_length(label_bytes):
274
+ raise IDNAError('Label too long')
275
+
276
+ return label_bytes
277
+
278
+
279
+ def ulabel(label: Union[str, bytes, bytearray]) -> str:
280
+ if not isinstance(label, (bytes, bytearray)):
281
+ try:
282
+ label_bytes = label.encode('ascii')
283
+ except UnicodeEncodeError:
284
+ check_label(label)
285
+ return label
286
+ else:
287
+ label_bytes = label
288
+
289
+ label_bytes = label_bytes.lower()
290
+ if label_bytes.startswith(_alabel_prefix):
291
+ label_bytes = label_bytes[len(_alabel_prefix):]
292
+ if not label_bytes:
293
+ raise IDNAError('Malformed A-label, no Punycode eligible content found')
294
+ if label_bytes.decode('ascii')[-1] == '-':
295
+ raise IDNAError('A-label must not end with a hyphen')
296
+ else:
297
+ check_label(label_bytes)
298
+ return label_bytes.decode('ascii')
299
+
300
+ try:
301
+ label = label_bytes.decode('punycode')
302
+ except UnicodeError:
303
+ raise IDNAError('Invalid A-label')
304
+ check_label(label)
305
+ return label
306
+
307
+
308
+ def uts46_remap(domain: str, std3_rules: bool = True, transitional: bool = False) -> str:
309
+ """Re-map the characters in the string according to UTS46 processing."""
310
+ from .uts46data import uts46data
311
+ output = ''
312
+
313
+ for pos, char in enumerate(domain):
314
+ code_point = ord(char)
315
+ try:
316
+ uts46row = uts46data[code_point if code_point < 256 else
317
+ bisect.bisect_left(uts46data, (code_point, 'Z')) - 1]
318
+ status = uts46row[1]
319
+ replacement = None # type: Optional[str]
320
+ if len(uts46row) == 3:
321
+ replacement = uts46row[2] # type: ignore
322
+ if (status == 'V' or
323
+ (status == 'D' and not transitional) or
324
+ (status == '3' and not std3_rules and replacement is None)):
325
+ output += char
326
+ elif replacement is not None and (status == 'M' or
327
+ (status == '3' and not std3_rules) or
328
+ (status == 'D' and transitional)):
329
+ output += replacement
330
+ elif status != 'I':
331
+ raise IndexError()
332
+ except IndexError:
333
+ raise InvalidCodepoint(
334
+ 'Codepoint {} not allowed at position {} in {}'.format(
335
+ _unot(code_point), pos + 1, repr(domain)))
336
+
337
+ return unicodedata.normalize('NFC', output)
338
+
339
+
340
+ def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: bool = False, transitional: bool = False) -> bytes:
341
+ if isinstance(s, (bytes, bytearray)):
342
+ s = s.decode('ascii')
343
+ if uts46:
344
+ s = uts46_remap(s, std3_rules, transitional)
345
+ trailing_dot = False
346
+ result = []
347
+ if strict:
348
+ labels = s.split('.')
349
+ else:
350
+ labels = _unicode_dots_re.split(s)
351
+ if not labels or labels == ['']:
352
+ raise IDNAError('Empty domain')
353
+ if labels[-1] == '':
354
+ del labels[-1]
355
+ trailing_dot = True
356
+ for label in labels:
357
+ s = alabel(label)
358
+ if s:
359
+ result.append(s)
360
+ else:
361
+ raise IDNAError('Empty label')
362
+ if trailing_dot:
363
+ result.append(b'')
364
+ s = b'.'.join(result)
365
+ if not valid_string_length(s, trailing_dot):
366
+ raise IDNAError('Domain too long')
367
+ return s
368
+
369
+
370
+ def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: bool = False) -> str:
371
+ try:
372
+ if isinstance(s, (bytes, bytearray)):
373
+ s = s.decode('ascii')
374
+ except UnicodeDecodeError:
375
+ raise IDNAError('Invalid ASCII in A-label')
376
+ if uts46:
377
+ s = uts46_remap(s, std3_rules, False)
378
+ trailing_dot = False
379
+ result = []
380
+ if not strict:
381
+ labels = _unicode_dots_re.split(s)
382
+ else:
383
+ labels = s.split('.')
384
+ if not labels or labels == ['']:
385
+ raise IDNAError('Empty domain')
386
+ if not labels[-1]:
387
+ del labels[-1]
388
+ trailing_dot = True
389
+ for label in labels:
390
+ s = ulabel(label)
391
+ if s:
392
+ result.append(s)
393
+ else:
394
+ raise IDNAError('Empty label')
395
+ if trailing_dot:
396
+ result.append('')
397
+ return '.'.join(result)
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py ADDED
@@ -0,0 +1,2137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically generated by tools/idna-data
2
+
3
+ __version__ = '14.0.0'
4
+ scripts = {
5
+ 'Greek': (
6
+ 0x37000000374,
7
+ 0x37500000378,
8
+ 0x37a0000037e,
9
+ 0x37f00000380,
10
+ 0x38400000385,
11
+ 0x38600000387,
12
+ 0x3880000038b,
13
+ 0x38c0000038d,
14
+ 0x38e000003a2,
15
+ 0x3a3000003e2,
16
+ 0x3f000000400,
17
+ 0x1d2600001d2b,
18
+ 0x1d5d00001d62,
19
+ 0x1d6600001d6b,
20
+ 0x1dbf00001dc0,
21
+ 0x1f0000001f16,
22
+ 0x1f1800001f1e,
23
+ 0x1f2000001f46,
24
+ 0x1f4800001f4e,
25
+ 0x1f5000001f58,
26
+ 0x1f5900001f5a,
27
+ 0x1f5b00001f5c,
28
+ 0x1f5d00001f5e,
29
+ 0x1f5f00001f7e,
30
+ 0x1f8000001fb5,
31
+ 0x1fb600001fc5,
32
+ 0x1fc600001fd4,
33
+ 0x1fd600001fdc,
34
+ 0x1fdd00001ff0,
35
+ 0x1ff200001ff5,
36
+ 0x1ff600001fff,
37
+ 0x212600002127,
38
+ 0xab650000ab66,
39
+ 0x101400001018f,
40
+ 0x101a0000101a1,
41
+ 0x1d2000001d246,
42
+ ),
43
+ 'Han': (
44
+ 0x2e8000002e9a,
45
+ 0x2e9b00002ef4,
46
+ 0x2f0000002fd6,
47
+ 0x300500003006,
48
+ 0x300700003008,
49
+ 0x30210000302a,
50
+ 0x30380000303c,
51
+ 0x340000004dc0,
52
+ 0x4e000000a000,
53
+ 0xf9000000fa6e,
54
+ 0xfa700000fada,
55
+ 0x16fe200016fe4,
56
+ 0x16ff000016ff2,
57
+ 0x200000002a6e0,
58
+ 0x2a7000002b739,
59
+ 0x2b7400002b81e,
60
+ 0x2b8200002cea2,
61
+ 0x2ceb00002ebe1,
62
+ 0x2f8000002fa1e,
63
+ 0x300000003134b,
64
+ ),
65
+ 'Hebrew': (
66
+ 0x591000005c8,
67
+ 0x5d0000005eb,
68
+ 0x5ef000005f5,
69
+ 0xfb1d0000fb37,
70
+ 0xfb380000fb3d,
71
+ 0xfb3e0000fb3f,
72
+ 0xfb400000fb42,
73
+ 0xfb430000fb45,
74
+ 0xfb460000fb50,
75
+ ),
76
+ 'Hiragana': (
77
+ 0x304100003097,
78
+ 0x309d000030a0,
79
+ 0x1b0010001b120,
80
+ 0x1b1500001b153,
81
+ 0x1f2000001f201,
82
+ ),
83
+ 'Katakana': (
84
+ 0x30a1000030fb,
85
+ 0x30fd00003100,
86
+ 0x31f000003200,
87
+ 0x32d0000032ff,
88
+ 0x330000003358,
89
+ 0xff660000ff70,
90
+ 0xff710000ff9e,
91
+ 0x1aff00001aff4,
92
+ 0x1aff50001affc,
93
+ 0x1affd0001afff,
94
+ 0x1b0000001b001,
95
+ 0x1b1200001b123,
96
+ 0x1b1640001b168,
97
+ ),
98
+ }
99
+ joining_types = {
100
+ 0x600: 85,
101
+ 0x601: 85,
102
+ 0x602: 85,
103
+ 0x603: 85,
104
+ 0x604: 85,
105
+ 0x605: 85,
106
+ 0x608: 85,
107
+ 0x60b: 85,
108
+ 0x620: 68,
109
+ 0x621: 85,
110
+ 0x622: 82,
111
+ 0x623: 82,
112
+ 0x624: 82,
113
+ 0x625: 82,
114
+ 0x626: 68,
115
+ 0x627: 82,
116
+ 0x628: 68,
117
+ 0x629: 82,
118
+ 0x62a: 68,
119
+ 0x62b: 68,
120
+ 0x62c: 68,
121
+ 0x62d: 68,
122
+ 0x62e: 68,
123
+ 0x62f: 82,
124
+ 0x630: 82,
125
+ 0x631: 82,
126
+ 0x632: 82,
127
+ 0x633: 68,
128
+ 0x634: 68,
129
+ 0x635: 68,
130
+ 0x636: 68,
131
+ 0x637: 68,
132
+ 0x638: 68,
133
+ 0x639: 68,
134
+ 0x63a: 68,
135
+ 0x63b: 68,
136
+ 0x63c: 68,
137
+ 0x63d: 68,
138
+ 0x63e: 68,
139
+ 0x63f: 68,
140
+ 0x640: 67,
141
+ 0x641: 68,
142
+ 0x642: 68,
143
+ 0x643: 68,
144
+ 0x644: 68,
145
+ 0x645: 68,
146
+ 0x646: 68,
147
+ 0x647: 68,
148
+ 0x648: 82,
149
+ 0x649: 68,
150
+ 0x64a: 68,
151
+ 0x66e: 68,
152
+ 0x66f: 68,
153
+ 0x671: 82,
154
+ 0x672: 82,
155
+ 0x673: 82,
156
+ 0x674: 85,
157
+ 0x675: 82,
158
+ 0x676: 82,
159
+ 0x677: 82,
160
+ 0x678: 68,
161
+ 0x679: 68,
162
+ 0x67a: 68,
163
+ 0x67b: 68,
164
+ 0x67c: 68,
165
+ 0x67d: 68,
166
+ 0x67e: 68,
167
+ 0x67f: 68,
168
+ 0x680: 68,
169
+ 0x681: 68,
170
+ 0x682: 68,
171
+ 0x683: 68,
172
+ 0x684: 68,
173
+ 0x685: 68,
174
+ 0x686: 68,
175
+ 0x687: 68,
176
+ 0x688: 82,
177
+ 0x689: 82,
178
+ 0x68a: 82,
179
+ 0x68b: 82,
180
+ 0x68c: 82,
181
+ 0x68d: 82,
182
+ 0x68e: 82,
183
+ 0x68f: 82,
184
+ 0x690: 82,
185
+ 0x691: 82,
186
+ 0x692: 82,
187
+ 0x693: 82,
188
+ 0x694: 82,
189
+ 0x695: 82,
190
+ 0x696: 82,
191
+ 0x697: 82,
192
+ 0x698: 82,
193
+ 0x699: 82,
194
+ 0x69a: 68,
195
+ 0x69b: 68,
196
+ 0x69c: 68,
197
+ 0x69d: 68,
198
+ 0x69e: 68,
199
+ 0x69f: 68,
200
+ 0x6a0: 68,
201
+ 0x6a1: 68,
202
+ 0x6a2: 68,
203
+ 0x6a3: 68,
204
+ 0x6a4: 68,
205
+ 0x6a5: 68,
206
+ 0x6a6: 68,
207
+ 0x6a7: 68,
208
+ 0x6a8: 68,
209
+ 0x6a9: 68,
210
+ 0x6aa: 68,
211
+ 0x6ab: 68,
212
+ 0x6ac: 68,
213
+ 0x6ad: 68,
214
+ 0x6ae: 68,
215
+ 0x6af: 68,
216
+ 0x6b0: 68,
217
+ 0x6b1: 68,
218
+ 0x6b2: 68,
219
+ 0x6b3: 68,
220
+ 0x6b4: 68,
221
+ 0x6b5: 68,
222
+ 0x6b6: 68,
223
+ 0x6b7: 68,
224
+ 0x6b8: 68,
225
+ 0x6b9: 68,
226
+ 0x6ba: 68,
227
+ 0x6bb: 68,
228
+ 0x6bc: 68,
229
+ 0x6bd: 68,
230
+ 0x6be: 68,
231
+ 0x6bf: 68,
232
+ 0x6c0: 82,
233
+ 0x6c1: 68,
234
+ 0x6c2: 68,
235
+ 0x6c3: 82,
236
+ 0x6c4: 82,
237
+ 0x6c5: 82,
238
+ 0x6c6: 82,
239
+ 0x6c7: 82,
240
+ 0x6c8: 82,
241
+ 0x6c9: 82,
242
+ 0x6ca: 82,
243
+ 0x6cb: 82,
244
+ 0x6cc: 68,
245
+ 0x6cd: 82,
246
+ 0x6ce: 68,
247
+ 0x6cf: 82,
248
+ 0x6d0: 68,
249
+ 0x6d1: 68,
250
+ 0x6d2: 82,
251
+ 0x6d3: 82,
252
+ 0x6d5: 82,
253
+ 0x6dd: 85,
254
+ 0x6ee: 82,
255
+ 0x6ef: 82,
256
+ 0x6fa: 68,
257
+ 0x6fb: 68,
258
+ 0x6fc: 68,
259
+ 0x6ff: 68,
260
+ 0x70f: 84,
261
+ 0x710: 82,
262
+ 0x712: 68,
263
+ 0x713: 68,
264
+ 0x714: 68,
265
+ 0x715: 82,
266
+ 0x716: 82,
267
+ 0x717: 82,
268
+ 0x718: 82,
269
+ 0x719: 82,
270
+ 0x71a: 68,
271
+ 0x71b: 68,
272
+ 0x71c: 68,
273
+ 0x71d: 68,
274
+ 0x71e: 82,
275
+ 0x71f: 68,
276
+ 0x720: 68,
277
+ 0x721: 68,
278
+ 0x722: 68,
279
+ 0x723: 68,
280
+ 0x724: 68,
281
+ 0x725: 68,
282
+ 0x726: 68,
283
+ 0x727: 68,
284
+ 0x728: 82,
285
+ 0x729: 68,
286
+ 0x72a: 82,
287
+ 0x72b: 68,
288
+ 0x72c: 82,
289
+ 0x72d: 68,
290
+ 0x72e: 68,
291
+ 0x72f: 82,
292
+ 0x74d: 82,
293
+ 0x74e: 68,
294
+ 0x74f: 68,
295
+ 0x750: 68,
296
+ 0x751: 68,
297
+ 0x752: 68,
298
+ 0x753: 68,
299
+ 0x754: 68,
300
+ 0x755: 68,
301
+ 0x756: 68,
302
+ 0x757: 68,
303
+ 0x758: 68,
304
+ 0x759: 82,
305
+ 0x75a: 82,
306
+ 0x75b: 82,
307
+ 0x75c: 68,
308
+ 0x75d: 68,
309
+ 0x75e: 68,
310
+ 0x75f: 68,
311
+ 0x760: 68,
312
+ 0x761: 68,
313
+ 0x762: 68,
314
+ 0x763: 68,
315
+ 0x764: 68,
316
+ 0x765: 68,
317
+ 0x766: 68,
318
+ 0x767: 68,
319
+ 0x768: 68,
320
+ 0x769: 68,
321
+ 0x76a: 68,
322
+ 0x76b: 82,
323
+ 0x76c: 82,
324
+ 0x76d: 68,
325
+ 0x76e: 68,
326
+ 0x76f: 68,
327
+ 0x770: 68,
328
+ 0x771: 82,
329
+ 0x772: 68,
330
+ 0x773: 82,
331
+ 0x774: 82,
332
+ 0x775: 68,
333
+ 0x776: 68,
334
+ 0x777: 68,
335
+ 0x778: 82,
336
+ 0x779: 82,
337
+ 0x77a: 68,
338
+ 0x77b: 68,
339
+ 0x77c: 68,
340
+ 0x77d: 68,
341
+ 0x77e: 68,
342
+ 0x77f: 68,
343
+ 0x7ca: 68,
344
+ 0x7cb: 68,
345
+ 0x7cc: 68,
346
+ 0x7cd: 68,
347
+ 0x7ce: 68,
348
+ 0x7cf: 68,
349
+ 0x7d0: 68,
350
+ 0x7d1: 68,
351
+ 0x7d2: 68,
352
+ 0x7d3: 68,
353
+ 0x7d4: 68,
354
+ 0x7d5: 68,
355
+ 0x7d6: 68,
356
+ 0x7d7: 68,
357
+ 0x7d8: 68,
358
+ 0x7d9: 68,
359
+ 0x7da: 68,
360
+ 0x7db: 68,
361
+ 0x7dc: 68,
362
+ 0x7dd: 68,
363
+ 0x7de: 68,
364
+ 0x7df: 68,
365
+ 0x7e0: 68,
366
+ 0x7e1: 68,
367
+ 0x7e2: 68,
368
+ 0x7e3: 68,
369
+ 0x7e4: 68,
370
+ 0x7e5: 68,
371
+ 0x7e6: 68,
372
+ 0x7e7: 68,
373
+ 0x7e8: 68,
374
+ 0x7e9: 68,
375
+ 0x7ea: 68,
376
+ 0x7fa: 67,
377
+ 0x840: 82,
378
+ 0x841: 68,
379
+ 0x842: 68,
380
+ 0x843: 68,
381
+ 0x844: 68,
382
+ 0x845: 68,
383
+ 0x846: 82,
384
+ 0x847: 82,
385
+ 0x848: 68,
386
+ 0x849: 82,
387
+ 0x84a: 68,
388
+ 0x84b: 68,
389
+ 0x84c: 68,
390
+ 0x84d: 68,
391
+ 0x84e: 68,
392
+ 0x84f: 68,
393
+ 0x850: 68,
394
+ 0x851: 68,
395
+ 0x852: 68,
396
+ 0x853: 68,
397
+ 0x854: 82,
398
+ 0x855: 68,
399
+ 0x856: 82,
400
+ 0x857: 82,
401
+ 0x858: 82,
402
+ 0x860: 68,
403
+ 0x861: 85,
404
+ 0x862: 68,
405
+ 0x863: 68,
406
+ 0x864: 68,
407
+ 0x865: 68,
408
+ 0x866: 85,
409
+ 0x867: 82,
410
+ 0x868: 68,
411
+ 0x869: 82,
412
+ 0x86a: 82,
413
+ 0x870: 82,
414
+ 0x871: 82,
415
+ 0x872: 82,
416
+ 0x873: 82,
417
+ 0x874: 82,
418
+ 0x875: 82,
419
+ 0x876: 82,
420
+ 0x877: 82,
421
+ 0x878: 82,
422
+ 0x879: 82,
423
+ 0x87a: 82,
424
+ 0x87b: 82,
425
+ 0x87c: 82,
426
+ 0x87d: 82,
427
+ 0x87e: 82,
428
+ 0x87f: 82,
429
+ 0x880: 82,
430
+ 0x881: 82,
431
+ 0x882: 82,
432
+ 0x883: 67,
433
+ 0x884: 67,
434
+ 0x885: 67,
435
+ 0x886: 68,
436
+ 0x887: 85,
437
+ 0x888: 85,
438
+ 0x889: 68,
439
+ 0x88a: 68,
440
+ 0x88b: 68,
441
+ 0x88c: 68,
442
+ 0x88d: 68,
443
+ 0x88e: 82,
444
+ 0x890: 85,
445
+ 0x891: 85,
446
+ 0x8a0: 68,
447
+ 0x8a1: 68,
448
+ 0x8a2: 68,
449
+ 0x8a3: 68,
450
+ 0x8a4: 68,
451
+ 0x8a5: 68,
452
+ 0x8a6: 68,
453
+ 0x8a7: 68,
454
+ 0x8a8: 68,
455
+ 0x8a9: 68,
456
+ 0x8aa: 82,
457
+ 0x8ab: 82,
458
+ 0x8ac: 82,
459
+ 0x8ad: 85,
460
+ 0x8ae: 82,
461
+ 0x8af: 68,
462
+ 0x8b0: 68,
463
+ 0x8b1: 82,
464
+ 0x8b2: 82,
465
+ 0x8b3: 68,
466
+ 0x8b4: 68,
467
+ 0x8b5: 68,
468
+ 0x8b6: 68,
469
+ 0x8b7: 68,
470
+ 0x8b8: 68,
471
+ 0x8b9: 82,
472
+ 0x8ba: 68,
473
+ 0x8bb: 68,
474
+ 0x8bc: 68,
475
+ 0x8bd: 68,
476
+ 0x8be: 68,
477
+ 0x8bf: 68,
478
+ 0x8c0: 68,
479
+ 0x8c1: 68,
480
+ 0x8c2: 68,
481
+ 0x8c3: 68,
482
+ 0x8c4: 68,
483
+ 0x8c5: 68,
484
+ 0x8c6: 68,
485
+ 0x8c7: 68,
486
+ 0x8c8: 68,
487
+ 0x8e2: 85,
488
+ 0x1806: 85,
489
+ 0x1807: 68,
490
+ 0x180a: 67,
491
+ 0x180e: 85,
492
+ 0x1820: 68,
493
+ 0x1821: 68,
494
+ 0x1822: 68,
495
+ 0x1823: 68,
496
+ 0x1824: 68,
497
+ 0x1825: 68,
498
+ 0x1826: 68,
499
+ 0x1827: 68,
500
+ 0x1828: 68,
501
+ 0x1829: 68,
502
+ 0x182a: 68,
503
+ 0x182b: 68,
504
+ 0x182c: 68,
505
+ 0x182d: 68,
506
+ 0x182e: 68,
507
+ 0x182f: 68,
508
+ 0x1830: 68,
509
+ 0x1831: 68,
510
+ 0x1832: 68,
511
+ 0x1833: 68,
512
+ 0x1834: 68,
513
+ 0x1835: 68,
514
+ 0x1836: 68,
515
+ 0x1837: 68,
516
+ 0x1838: 68,
517
+ 0x1839: 68,
518
+ 0x183a: 68,
519
+ 0x183b: 68,
520
+ 0x183c: 68,
521
+ 0x183d: 68,
522
+ 0x183e: 68,
523
+ 0x183f: 68,
524
+ 0x1840: 68,
525
+ 0x1841: 68,
526
+ 0x1842: 68,
527
+ 0x1843: 68,
528
+ 0x1844: 68,
529
+ 0x1845: 68,
530
+ 0x1846: 68,
531
+ 0x1847: 68,
532
+ 0x1848: 68,
533
+ 0x1849: 68,
534
+ 0x184a: 68,
535
+ 0x184b: 68,
536
+ 0x184c: 68,
537
+ 0x184d: 68,
538
+ 0x184e: 68,
539
+ 0x184f: 68,
540
+ 0x1850: 68,
541
+ 0x1851: 68,
542
+ 0x1852: 68,
543
+ 0x1853: 68,
544
+ 0x1854: 68,
545
+ 0x1855: 68,
546
+ 0x1856: 68,
547
+ 0x1857: 68,
548
+ 0x1858: 68,
549
+ 0x1859: 68,
550
+ 0x185a: 68,
551
+ 0x185b: 68,
552
+ 0x185c: 68,
553
+ 0x185d: 68,
554
+ 0x185e: 68,
555
+ 0x185f: 68,
556
+ 0x1860: 68,
557
+ 0x1861: 68,
558
+ 0x1862: 68,
559
+ 0x1863: 68,
560
+ 0x1864: 68,
561
+ 0x1865: 68,
562
+ 0x1866: 68,
563
+ 0x1867: 68,
564
+ 0x1868: 68,
565
+ 0x1869: 68,
566
+ 0x186a: 68,
567
+ 0x186b: 68,
568
+ 0x186c: 68,
569
+ 0x186d: 68,
570
+ 0x186e: 68,
571
+ 0x186f: 68,
572
+ 0x1870: 68,
573
+ 0x1871: 68,
574
+ 0x1872: 68,
575
+ 0x1873: 68,
576
+ 0x1874: 68,
577
+ 0x1875: 68,
578
+ 0x1876: 68,
579
+ 0x1877: 68,
580
+ 0x1878: 68,
581
+ 0x1880: 85,
582
+ 0x1881: 85,
583
+ 0x1882: 85,
584
+ 0x1883: 85,
585
+ 0x1884: 85,
586
+ 0x1885: 84,
587
+ 0x1886: 84,
588
+ 0x1887: 68,
589
+ 0x1888: 68,
590
+ 0x1889: 68,
591
+ 0x188a: 68,
592
+ 0x188b: 68,
593
+ 0x188c: 68,
594
+ 0x188d: 68,
595
+ 0x188e: 68,
596
+ 0x188f: 68,
597
+ 0x1890: 68,
598
+ 0x1891: 68,
599
+ 0x1892: 68,
600
+ 0x1893: 68,
601
+ 0x1894: 68,
602
+ 0x1895: 68,
603
+ 0x1896: 68,
604
+ 0x1897: 68,
605
+ 0x1898: 68,
606
+ 0x1899: 68,
607
+ 0x189a: 68,
608
+ 0x189b: 68,
609
+ 0x189c: 68,
610
+ 0x189d: 68,
611
+ 0x189e: 68,
612
+ 0x189f: 68,
613
+ 0x18a0: 68,
614
+ 0x18a1: 68,
615
+ 0x18a2: 68,
616
+ 0x18a3: 68,
617
+ 0x18a4: 68,
618
+ 0x18a5: 68,
619
+ 0x18a6: 68,
620
+ 0x18a7: 68,
621
+ 0x18a8: 68,
622
+ 0x18aa: 68,
623
+ 0x200c: 85,
624
+ 0x200d: 67,
625
+ 0x202f: 85,
626
+ 0x2066: 85,
627
+ 0x2067: 85,
628
+ 0x2068: 85,
629
+ 0x2069: 85,
630
+ 0xa840: 68,
631
+ 0xa841: 68,
632
+ 0xa842: 68,
633
+ 0xa843: 68,
634
+ 0xa844: 68,
635
+ 0xa845: 68,
636
+ 0xa846: 68,
637
+ 0xa847: 68,
638
+ 0xa848: 68,
639
+ 0xa849: 68,
640
+ 0xa84a: 68,
641
+ 0xa84b: 68,
642
+ 0xa84c: 68,
643
+ 0xa84d: 68,
644
+ 0xa84e: 68,
645
+ 0xa84f: 68,
646
+ 0xa850: 68,
647
+ 0xa851: 68,
648
+ 0xa852: 68,
649
+ 0xa853: 68,
650
+ 0xa854: 68,
651
+ 0xa855: 68,
652
+ 0xa856: 68,
653
+ 0xa857: 68,
654
+ 0xa858: 68,
655
+ 0xa859: 68,
656
+ 0xa85a: 68,
657
+ 0xa85b: 68,
658
+ 0xa85c: 68,
659
+ 0xa85d: 68,
660
+ 0xa85e: 68,
661
+ 0xa85f: 68,
662
+ 0xa860: 68,
663
+ 0xa861: 68,
664
+ 0xa862: 68,
665
+ 0xa863: 68,
666
+ 0xa864: 68,
667
+ 0xa865: 68,
668
+ 0xa866: 68,
669
+ 0xa867: 68,
670
+ 0xa868: 68,
671
+ 0xa869: 68,
672
+ 0xa86a: 68,
673
+ 0xa86b: 68,
674
+ 0xa86c: 68,
675
+ 0xa86d: 68,
676
+ 0xa86e: 68,
677
+ 0xa86f: 68,
678
+ 0xa870: 68,
679
+ 0xa871: 68,
680
+ 0xa872: 76,
681
+ 0xa873: 85,
682
+ 0x10ac0: 68,
683
+ 0x10ac1: 68,
684
+ 0x10ac2: 68,
685
+ 0x10ac3: 68,
686
+ 0x10ac4: 68,
687
+ 0x10ac5: 82,
688
+ 0x10ac6: 85,
689
+ 0x10ac7: 82,
690
+ 0x10ac8: 85,
691
+ 0x10ac9: 82,
692
+ 0x10aca: 82,
693
+ 0x10acb: 85,
694
+ 0x10acc: 85,
695
+ 0x10acd: 76,
696
+ 0x10ace: 82,
697
+ 0x10acf: 82,
698
+ 0x10ad0: 82,
699
+ 0x10ad1: 82,
700
+ 0x10ad2: 82,
701
+ 0x10ad3: 68,
702
+ 0x10ad4: 68,
703
+ 0x10ad5: 68,
704
+ 0x10ad6: 68,
705
+ 0x10ad7: 76,
706
+ 0x10ad8: 68,
707
+ 0x10ad9: 68,
708
+ 0x10ada: 68,
709
+ 0x10adb: 68,
710
+ 0x10adc: 68,
711
+ 0x10add: 82,
712
+ 0x10ade: 68,
713
+ 0x10adf: 68,
714
+ 0x10ae0: 68,
715
+ 0x10ae1: 82,
716
+ 0x10ae2: 85,
717
+ 0x10ae3: 85,
718
+ 0x10ae4: 82,
719
+ 0x10aeb: 68,
720
+ 0x10aec: 68,
721
+ 0x10aed: 68,
722
+ 0x10aee: 68,
723
+ 0x10aef: 82,
724
+ 0x10b80: 68,
725
+ 0x10b81: 82,
726
+ 0x10b82: 68,
727
+ 0x10b83: 82,
728
+ 0x10b84: 82,
729
+ 0x10b85: 82,
730
+ 0x10b86: 68,
731
+ 0x10b87: 68,
732
+ 0x10b88: 68,
733
+ 0x10b89: 82,
734
+ 0x10b8a: 68,
735
+ 0x10b8b: 68,
736
+ 0x10b8c: 82,
737
+ 0x10b8d: 68,
738
+ 0x10b8e: 82,
739
+ 0x10b8f: 82,
740
+ 0x10b90: 68,
741
+ 0x10b91: 82,
742
+ 0x10ba9: 82,
743
+ 0x10baa: 82,
744
+ 0x10bab: 82,
745
+ 0x10bac: 82,
746
+ 0x10bad: 68,
747
+ 0x10bae: 68,
748
+ 0x10baf: 85,
749
+ 0x10d00: 76,
750
+ 0x10d01: 68,
751
+ 0x10d02: 68,
752
+ 0x10d03: 68,
753
+ 0x10d04: 68,
754
+ 0x10d05: 68,
755
+ 0x10d06: 68,
756
+ 0x10d07: 68,
757
+ 0x10d08: 68,
758
+ 0x10d09: 68,
759
+ 0x10d0a: 68,
760
+ 0x10d0b: 68,
761
+ 0x10d0c: 68,
762
+ 0x10d0d: 68,
763
+ 0x10d0e: 68,
764
+ 0x10d0f: 68,
765
+ 0x10d10: 68,
766
+ 0x10d11: 68,
767
+ 0x10d12: 68,
768
+ 0x10d13: 68,
769
+ 0x10d14: 68,
770
+ 0x10d15: 68,
771
+ 0x10d16: 68,
772
+ 0x10d17: 68,
773
+ 0x10d18: 68,
774
+ 0x10d19: 68,
775
+ 0x10d1a: 68,
776
+ 0x10d1b: 68,
777
+ 0x10d1c: 68,
778
+ 0x10d1d: 68,
779
+ 0x10d1e: 68,
780
+ 0x10d1f: 68,
781
+ 0x10d20: 68,
782
+ 0x10d21: 68,
783
+ 0x10d22: 82,
784
+ 0x10d23: 68,
785
+ 0x10f30: 68,
786
+ 0x10f31: 68,
787
+ 0x10f32: 68,
788
+ 0x10f33: 82,
789
+ 0x10f34: 68,
790
+ 0x10f35: 68,
791
+ 0x10f36: 68,
792
+ 0x10f37: 68,
793
+ 0x10f38: 68,
794
+ 0x10f39: 68,
795
+ 0x10f3a: 68,
796
+ 0x10f3b: 68,
797
+ 0x10f3c: 68,
798
+ 0x10f3d: 68,
799
+ 0x10f3e: 68,
800
+ 0x10f3f: 68,
801
+ 0x10f40: 68,
802
+ 0x10f41: 68,
803
+ 0x10f42: 68,
804
+ 0x10f43: 68,
805
+ 0x10f44: 68,
806
+ 0x10f45: 85,
807
+ 0x10f51: 68,
808
+ 0x10f52: 68,
809
+ 0x10f53: 68,
810
+ 0x10f54: 82,
811
+ 0x10f70: 68,
812
+ 0x10f71: 68,
813
+ 0x10f72: 68,
814
+ 0x10f73: 68,
815
+ 0x10f74: 82,
816
+ 0x10f75: 82,
817
+ 0x10f76: 68,
818
+ 0x10f77: 68,
819
+ 0x10f78: 68,
820
+ 0x10f79: 68,
821
+ 0x10f7a: 68,
822
+ 0x10f7b: 68,
823
+ 0x10f7c: 68,
824
+ 0x10f7d: 68,
825
+ 0x10f7e: 68,
826
+ 0x10f7f: 68,
827
+ 0x10f80: 68,
828
+ 0x10f81: 68,
829
+ 0x10fb0: 68,
830
+ 0x10fb1: 85,
831
+ 0x10fb2: 68,
832
+ 0x10fb3: 68,
833
+ 0x10fb4: 82,
834
+ 0x10fb5: 82,
835
+ 0x10fb6: 82,
836
+ 0x10fb7: 85,
837
+ 0x10fb8: 68,
838
+ 0x10fb9: 82,
839
+ 0x10fba: 82,
840
+ 0x10fbb: 68,
841
+ 0x10fbc: 68,
842
+ 0x10fbd: 82,
843
+ 0x10fbe: 68,
844
+ 0x10fbf: 68,
845
+ 0x10fc0: 85,
846
+ 0x10fc1: 68,
847
+ 0x10fc2: 82,
848
+ 0x10fc3: 82,
849
+ 0x10fc4: 68,
850
+ 0x10fc5: 85,
851
+ 0x10fc6: 85,
852
+ 0x10fc7: 85,
853
+ 0x10fc8: 85,
854
+ 0x10fc9: 82,
855
+ 0x10fca: 68,
856
+ 0x10fcb: 76,
857
+ 0x110bd: 85,
858
+ 0x110cd: 85,
859
+ 0x1e900: 68,
860
+ 0x1e901: 68,
861
+ 0x1e902: 68,
862
+ 0x1e903: 68,
863
+ 0x1e904: 68,
864
+ 0x1e905: 68,
865
+ 0x1e906: 68,
866
+ 0x1e907: 68,
867
+ 0x1e908: 68,
868
+ 0x1e909: 68,
869
+ 0x1e90a: 68,
870
+ 0x1e90b: 68,
871
+ 0x1e90c: 68,
872
+ 0x1e90d: 68,
873
+ 0x1e90e: 68,
874
+ 0x1e90f: 68,
875
+ 0x1e910: 68,
876
+ 0x1e911: 68,
877
+ 0x1e912: 68,
878
+ 0x1e913: 68,
879
+ 0x1e914: 68,
880
+ 0x1e915: 68,
881
+ 0x1e916: 68,
882
+ 0x1e917: 68,
883
+ 0x1e918: 68,
884
+ 0x1e919: 68,
885
+ 0x1e91a: 68,
886
+ 0x1e91b: 68,
887
+ 0x1e91c: 68,
888
+ 0x1e91d: 68,
889
+ 0x1e91e: 68,
890
+ 0x1e91f: 68,
891
+ 0x1e920: 68,
892
+ 0x1e921: 68,
893
+ 0x1e922: 68,
894
+ 0x1e923: 68,
895
+ 0x1e924: 68,
896
+ 0x1e925: 68,
897
+ 0x1e926: 68,
898
+ 0x1e927: 68,
899
+ 0x1e928: 68,
900
+ 0x1e929: 68,
901
+ 0x1e92a: 68,
902
+ 0x1e92b: 68,
903
+ 0x1e92c: 68,
904
+ 0x1e92d: 68,
905
+ 0x1e92e: 68,
906
+ 0x1e92f: 68,
907
+ 0x1e930: 68,
908
+ 0x1e931: 68,
909
+ 0x1e932: 68,
910
+ 0x1e933: 68,
911
+ 0x1e934: 68,
912
+ 0x1e935: 68,
913
+ 0x1e936: 68,
914
+ 0x1e937: 68,
915
+ 0x1e938: 68,
916
+ 0x1e939: 68,
917
+ 0x1e93a: 68,
918
+ 0x1e93b: 68,
919
+ 0x1e93c: 68,
920
+ 0x1e93d: 68,
921
+ 0x1e93e: 68,
922
+ 0x1e93f: 68,
923
+ 0x1e940: 68,
924
+ 0x1e941: 68,
925
+ 0x1e942: 68,
926
+ 0x1e943: 68,
927
+ 0x1e94b: 84,
928
+ }
929
+ codepoint_classes = {
930
+ 'PVALID': (
931
+ 0x2d0000002e,
932
+ 0x300000003a,
933
+ 0x610000007b,
934
+ 0xdf000000f7,
935
+ 0xf800000100,
936
+ 0x10100000102,
937
+ 0x10300000104,
938
+ 0x10500000106,
939
+ 0x10700000108,
940
+ 0x1090000010a,
941
+ 0x10b0000010c,
942
+ 0x10d0000010e,
943
+ 0x10f00000110,
944
+ 0x11100000112,
945
+ 0x11300000114,
946
+ 0x11500000116,
947
+ 0x11700000118,
948
+ 0x1190000011a,
949
+ 0x11b0000011c,
950
+ 0x11d0000011e,
951
+ 0x11f00000120,
952
+ 0x12100000122,
953
+ 0x12300000124,
954
+ 0x12500000126,
955
+ 0x12700000128,
956
+ 0x1290000012a,
957
+ 0x12b0000012c,
958
+ 0x12d0000012e,
959
+ 0x12f00000130,
960
+ 0x13100000132,
961
+ 0x13500000136,
962
+ 0x13700000139,
963
+ 0x13a0000013b,
964
+ 0x13c0000013d,
965
+ 0x13e0000013f,
966
+ 0x14200000143,
967
+ 0x14400000145,
968
+ 0x14600000147,
969
+ 0x14800000149,
970
+ 0x14b0000014c,
971
+ 0x14d0000014e,
972
+ 0x14f00000150,
973
+ 0x15100000152,
974
+ 0x15300000154,
975
+ 0x15500000156,
976
+ 0x15700000158,
977
+ 0x1590000015a,
978
+ 0x15b0000015c,
979
+ 0x15d0000015e,
980
+ 0x15f00000160,
981
+ 0x16100000162,
982
+ 0x16300000164,
983
+ 0x16500000166,
984
+ 0x16700000168,
985
+ 0x1690000016a,
986
+ 0x16b0000016c,
987
+ 0x16d0000016e,
988
+ 0x16f00000170,
989
+ 0x17100000172,
990
+ 0x17300000174,
991
+ 0x17500000176,
992
+ 0x17700000178,
993
+ 0x17a0000017b,
994
+ 0x17c0000017d,
995
+ 0x17e0000017f,
996
+ 0x18000000181,
997
+ 0x18300000184,
998
+ 0x18500000186,
999
+ 0x18800000189,
1000
+ 0x18c0000018e,
1001
+ 0x19200000193,
1002
+ 0x19500000196,
1003
+ 0x1990000019c,
1004
+ 0x19e0000019f,
1005
+ 0x1a1000001a2,
1006
+ 0x1a3000001a4,
1007
+ 0x1a5000001a6,
1008
+ 0x1a8000001a9,
1009
+ 0x1aa000001ac,
1010
+ 0x1ad000001ae,
1011
+ 0x1b0000001b1,
1012
+ 0x1b4000001b5,
1013
+ 0x1b6000001b7,
1014
+ 0x1b9000001bc,
1015
+ 0x1bd000001c4,
1016
+ 0x1ce000001cf,
1017
+ 0x1d0000001d1,
1018
+ 0x1d2000001d3,
1019
+ 0x1d4000001d5,
1020
+ 0x1d6000001d7,
1021
+ 0x1d8000001d9,
1022
+ 0x1da000001db,
1023
+ 0x1dc000001de,
1024
+ 0x1df000001e0,
1025
+ 0x1e1000001e2,
1026
+ 0x1e3000001e4,
1027
+ 0x1e5000001e6,
1028
+ 0x1e7000001e8,
1029
+ 0x1e9000001ea,
1030
+ 0x1eb000001ec,
1031
+ 0x1ed000001ee,
1032
+ 0x1ef000001f1,
1033
+ 0x1f5000001f6,
1034
+ 0x1f9000001fa,
1035
+ 0x1fb000001fc,
1036
+ 0x1fd000001fe,
1037
+ 0x1ff00000200,
1038
+ 0x20100000202,
1039
+ 0x20300000204,
1040
+ 0x20500000206,
1041
+ 0x20700000208,
1042
+ 0x2090000020a,
1043
+ 0x20b0000020c,
1044
+ 0x20d0000020e,
1045
+ 0x20f00000210,
1046
+ 0x21100000212,
1047
+ 0x21300000214,
1048
+ 0x21500000216,
1049
+ 0x21700000218,
1050
+ 0x2190000021a,
1051
+ 0x21b0000021c,
1052
+ 0x21d0000021e,
1053
+ 0x21f00000220,
1054
+ 0x22100000222,
1055
+ 0x22300000224,
1056
+ 0x22500000226,
1057
+ 0x22700000228,
1058
+ 0x2290000022a,
1059
+ 0x22b0000022c,
1060
+ 0x22d0000022e,
1061
+ 0x22f00000230,
1062
+ 0x23100000232,
1063
+ 0x2330000023a,
1064
+ 0x23c0000023d,
1065
+ 0x23f00000241,
1066
+ 0x24200000243,
1067
+ 0x24700000248,
1068
+ 0x2490000024a,
1069
+ 0x24b0000024c,
1070
+ 0x24d0000024e,
1071
+ 0x24f000002b0,
1072
+ 0x2b9000002c2,
1073
+ 0x2c6000002d2,
1074
+ 0x2ec000002ed,
1075
+ 0x2ee000002ef,
1076
+ 0x30000000340,
1077
+ 0x34200000343,
1078
+ 0x3460000034f,
1079
+ 0x35000000370,
1080
+ 0x37100000372,
1081
+ 0x37300000374,
1082
+ 0x37700000378,
1083
+ 0x37b0000037e,
1084
+ 0x39000000391,
1085
+ 0x3ac000003cf,
1086
+ 0x3d7000003d8,
1087
+ 0x3d9000003da,
1088
+ 0x3db000003dc,
1089
+ 0x3dd000003de,
1090
+ 0x3df000003e0,
1091
+ 0x3e1000003e2,
1092
+ 0x3e3000003e4,
1093
+ 0x3e5000003e6,
1094
+ 0x3e7000003e8,
1095
+ 0x3e9000003ea,
1096
+ 0x3eb000003ec,
1097
+ 0x3ed000003ee,
1098
+ 0x3ef000003f0,
1099
+ 0x3f3000003f4,
1100
+ 0x3f8000003f9,
1101
+ 0x3fb000003fd,
1102
+ 0x43000000460,
1103
+ 0x46100000462,
1104
+ 0x46300000464,
1105
+ 0x46500000466,
1106
+ 0x46700000468,
1107
+ 0x4690000046a,
1108
+ 0x46b0000046c,
1109
+ 0x46d0000046e,
1110
+ 0x46f00000470,
1111
+ 0x47100000472,
1112
+ 0x47300000474,
1113
+ 0x47500000476,
1114
+ 0x47700000478,
1115
+ 0x4790000047a,
1116
+ 0x47b0000047c,
1117
+ 0x47d0000047e,
1118
+ 0x47f00000480,
1119
+ 0x48100000482,
1120
+ 0x48300000488,
1121
+ 0x48b0000048c,
1122
+ 0x48d0000048e,
1123
+ 0x48f00000490,
1124
+ 0x49100000492,
1125
+ 0x49300000494,
1126
+ 0x49500000496,
1127
+ 0x49700000498,
1128
+ 0x4990000049a,
1129
+ 0x49b0000049c,
1130
+ 0x49d0000049e,
1131
+ 0x49f000004a0,
1132
+ 0x4a1000004a2,
1133
+ 0x4a3000004a4,
1134
+ 0x4a5000004a6,
1135
+ 0x4a7000004a8,
1136
+ 0x4a9000004aa,
1137
+ 0x4ab000004ac,
1138
+ 0x4ad000004ae,
1139
+ 0x4af000004b0,
1140
+ 0x4b1000004b2,
1141
+ 0x4b3000004b4,
1142
+ 0x4b5000004b6,
1143
+ 0x4b7000004b8,
1144
+ 0x4b9000004ba,
1145
+ 0x4bb000004bc,
1146
+ 0x4bd000004be,
1147
+ 0x4bf000004c0,
1148
+ 0x4c2000004c3,
1149
+ 0x4c4000004c5,
1150
+ 0x4c6000004c7,
1151
+ 0x4c8000004c9,
1152
+ 0x4ca000004cb,
1153
+ 0x4cc000004cd,
1154
+ 0x4ce000004d0,
1155
+ 0x4d1000004d2,
1156
+ 0x4d3000004d4,
1157
+ 0x4d5000004d6,
1158
+ 0x4d7000004d8,
1159
+ 0x4d9000004da,
1160
+ 0x4db000004dc,
1161
+ 0x4dd000004de,
1162
+ 0x4df000004e0,
1163
+ 0x4e1000004e2,
1164
+ 0x4e3000004e4,
1165
+ 0x4e5000004e6,
1166
+ 0x4e7000004e8,
1167
+ 0x4e9000004ea,
1168
+ 0x4eb000004ec,
1169
+ 0x4ed000004ee,
1170
+ 0x4ef000004f0,
1171
+ 0x4f1000004f2,
1172
+ 0x4f3000004f4,
1173
+ 0x4f5000004f6,
1174
+ 0x4f7000004f8,
1175
+ 0x4f9000004fa,
1176
+ 0x4fb000004fc,
1177
+ 0x4fd000004fe,
1178
+ 0x4ff00000500,
1179
+ 0x50100000502,
1180
+ 0x50300000504,
1181
+ 0x50500000506,
1182
+ 0x50700000508,
1183
+ 0x5090000050a,
1184
+ 0x50b0000050c,
1185
+ 0x50d0000050e,
1186
+ 0x50f00000510,
1187
+ 0x51100000512,
1188
+ 0x51300000514,
1189
+ 0x51500000516,
1190
+ 0x51700000518,
1191
+ 0x5190000051a,
1192
+ 0x51b0000051c,
1193
+ 0x51d0000051e,
1194
+ 0x51f00000520,
1195
+ 0x52100000522,
1196
+ 0x52300000524,
1197
+ 0x52500000526,
1198
+ 0x52700000528,
1199
+ 0x5290000052a,
1200
+ 0x52b0000052c,
1201
+ 0x52d0000052e,
1202
+ 0x52f00000530,
1203
+ 0x5590000055a,
1204
+ 0x56000000587,
1205
+ 0x58800000589,
1206
+ 0x591000005be,
1207
+ 0x5bf000005c0,
1208
+ 0x5c1000005c3,
1209
+ 0x5c4000005c6,
1210
+ 0x5c7000005c8,
1211
+ 0x5d0000005eb,
1212
+ 0x5ef000005f3,
1213
+ 0x6100000061b,
1214
+ 0x62000000640,
1215
+ 0x64100000660,
1216
+ 0x66e00000675,
1217
+ 0x679000006d4,
1218
+ 0x6d5000006dd,
1219
+ 0x6df000006e9,
1220
+ 0x6ea000006f0,
1221
+ 0x6fa00000700,
1222
+ 0x7100000074b,
1223
+ 0x74d000007b2,
1224
+ 0x7c0000007f6,
1225
+ 0x7fd000007fe,
1226
+ 0x8000000082e,
1227
+ 0x8400000085c,
1228
+ 0x8600000086b,
1229
+ 0x87000000888,
1230
+ 0x8890000088f,
1231
+ 0x898000008e2,
1232
+ 0x8e300000958,
1233
+ 0x96000000964,
1234
+ 0x96600000970,
1235
+ 0x97100000984,
1236
+ 0x9850000098d,
1237
+ 0x98f00000991,
1238
+ 0x993000009a9,
1239
+ 0x9aa000009b1,
1240
+ 0x9b2000009b3,
1241
+ 0x9b6000009ba,
1242
+ 0x9bc000009c5,
1243
+ 0x9c7000009c9,
1244
+ 0x9cb000009cf,
1245
+ 0x9d7000009d8,
1246
+ 0x9e0000009e4,
1247
+ 0x9e6000009f2,
1248
+ 0x9fc000009fd,
1249
+ 0x9fe000009ff,
1250
+ 0xa0100000a04,
1251
+ 0xa0500000a0b,
1252
+ 0xa0f00000a11,
1253
+ 0xa1300000a29,
1254
+ 0xa2a00000a31,
1255
+ 0xa3200000a33,
1256
+ 0xa3500000a36,
1257
+ 0xa3800000a3a,
1258
+ 0xa3c00000a3d,
1259
+ 0xa3e00000a43,
1260
+ 0xa4700000a49,
1261
+ 0xa4b00000a4e,
1262
+ 0xa5100000a52,
1263
+ 0xa5c00000a5d,
1264
+ 0xa6600000a76,
1265
+ 0xa8100000a84,
1266
+ 0xa8500000a8e,
1267
+ 0xa8f00000a92,
1268
+ 0xa9300000aa9,
1269
+ 0xaaa00000ab1,
1270
+ 0xab200000ab4,
1271
+ 0xab500000aba,
1272
+ 0xabc00000ac6,
1273
+ 0xac700000aca,
1274
+ 0xacb00000ace,
1275
+ 0xad000000ad1,
1276
+ 0xae000000ae4,
1277
+ 0xae600000af0,
1278
+ 0xaf900000b00,
1279
+ 0xb0100000b04,
1280
+ 0xb0500000b0d,
1281
+ 0xb0f00000b11,
1282
+ 0xb1300000b29,
1283
+ 0xb2a00000b31,
1284
+ 0xb3200000b34,
1285
+ 0xb3500000b3a,
1286
+ 0xb3c00000b45,
1287
+ 0xb4700000b49,
1288
+ 0xb4b00000b4e,
1289
+ 0xb5500000b58,
1290
+ 0xb5f00000b64,
1291
+ 0xb6600000b70,
1292
+ 0xb7100000b72,
1293
+ 0xb8200000b84,
1294
+ 0xb8500000b8b,
1295
+ 0xb8e00000b91,
1296
+ 0xb9200000b96,
1297
+ 0xb9900000b9b,
1298
+ 0xb9c00000b9d,
1299
+ 0xb9e00000ba0,
1300
+ 0xba300000ba5,
1301
+ 0xba800000bab,
1302
+ 0xbae00000bba,
1303
+ 0xbbe00000bc3,
1304
+ 0xbc600000bc9,
1305
+ 0xbca00000bce,
1306
+ 0xbd000000bd1,
1307
+ 0xbd700000bd8,
1308
+ 0xbe600000bf0,
1309
+ 0xc0000000c0d,
1310
+ 0xc0e00000c11,
1311
+ 0xc1200000c29,
1312
+ 0xc2a00000c3a,
1313
+ 0xc3c00000c45,
1314
+ 0xc4600000c49,
1315
+ 0xc4a00000c4e,
1316
+ 0xc5500000c57,
1317
+ 0xc5800000c5b,
1318
+ 0xc5d00000c5e,
1319
+ 0xc6000000c64,
1320
+ 0xc6600000c70,
1321
+ 0xc8000000c84,
1322
+ 0xc8500000c8d,
1323
+ 0xc8e00000c91,
1324
+ 0xc9200000ca9,
1325
+ 0xcaa00000cb4,
1326
+ 0xcb500000cba,
1327
+ 0xcbc00000cc5,
1328
+ 0xcc600000cc9,
1329
+ 0xcca00000cce,
1330
+ 0xcd500000cd7,
1331
+ 0xcdd00000cdf,
1332
+ 0xce000000ce4,
1333
+ 0xce600000cf0,
1334
+ 0xcf100000cf3,
1335
+ 0xd0000000d0d,
1336
+ 0xd0e00000d11,
1337
+ 0xd1200000d45,
1338
+ 0xd4600000d49,
1339
+ 0xd4a00000d4f,
1340
+ 0xd5400000d58,
1341
+ 0xd5f00000d64,
1342
+ 0xd6600000d70,
1343
+ 0xd7a00000d80,
1344
+ 0xd8100000d84,
1345
+ 0xd8500000d97,
1346
+ 0xd9a00000db2,
1347
+ 0xdb300000dbc,
1348
+ 0xdbd00000dbe,
1349
+ 0xdc000000dc7,
1350
+ 0xdca00000dcb,
1351
+ 0xdcf00000dd5,
1352
+ 0xdd600000dd7,
1353
+ 0xdd800000de0,
1354
+ 0xde600000df0,
1355
+ 0xdf200000df4,
1356
+ 0xe0100000e33,
1357
+ 0xe3400000e3b,
1358
+ 0xe4000000e4f,
1359
+ 0xe5000000e5a,
1360
+ 0xe8100000e83,
1361
+ 0xe8400000e85,
1362
+ 0xe8600000e8b,
1363
+ 0xe8c00000ea4,
1364
+ 0xea500000ea6,
1365
+ 0xea700000eb3,
1366
+ 0xeb400000ebe,
1367
+ 0xec000000ec5,
1368
+ 0xec600000ec7,
1369
+ 0xec800000ece,
1370
+ 0xed000000eda,
1371
+ 0xede00000ee0,
1372
+ 0xf0000000f01,
1373
+ 0xf0b00000f0c,
1374
+ 0xf1800000f1a,
1375
+ 0xf2000000f2a,
1376
+ 0xf3500000f36,
1377
+ 0xf3700000f38,
1378
+ 0xf3900000f3a,
1379
+ 0xf3e00000f43,
1380
+ 0xf4400000f48,
1381
+ 0xf4900000f4d,
1382
+ 0xf4e00000f52,
1383
+ 0xf5300000f57,
1384
+ 0xf5800000f5c,
1385
+ 0xf5d00000f69,
1386
+ 0xf6a00000f6d,
1387
+ 0xf7100000f73,
1388
+ 0xf7400000f75,
1389
+ 0xf7a00000f81,
1390
+ 0xf8200000f85,
1391
+ 0xf8600000f93,
1392
+ 0xf9400000f98,
1393
+ 0xf9900000f9d,
1394
+ 0xf9e00000fa2,
1395
+ 0xfa300000fa7,
1396
+ 0xfa800000fac,
1397
+ 0xfad00000fb9,
1398
+ 0xfba00000fbd,
1399
+ 0xfc600000fc7,
1400
+ 0x10000000104a,
1401
+ 0x10500000109e,
1402
+ 0x10d0000010fb,
1403
+ 0x10fd00001100,
1404
+ 0x120000001249,
1405
+ 0x124a0000124e,
1406
+ 0x125000001257,
1407
+ 0x125800001259,
1408
+ 0x125a0000125e,
1409
+ 0x126000001289,
1410
+ 0x128a0000128e,
1411
+ 0x1290000012b1,
1412
+ 0x12b2000012b6,
1413
+ 0x12b8000012bf,
1414
+ 0x12c0000012c1,
1415
+ 0x12c2000012c6,
1416
+ 0x12c8000012d7,
1417
+ 0x12d800001311,
1418
+ 0x131200001316,
1419
+ 0x13180000135b,
1420
+ 0x135d00001360,
1421
+ 0x138000001390,
1422
+ 0x13a0000013f6,
1423
+ 0x14010000166d,
1424
+ 0x166f00001680,
1425
+ 0x16810000169b,
1426
+ 0x16a0000016eb,
1427
+ 0x16f1000016f9,
1428
+ 0x170000001716,
1429
+ 0x171f00001735,
1430
+ 0x174000001754,
1431
+ 0x17600000176d,
1432
+ 0x176e00001771,
1433
+ 0x177200001774,
1434
+ 0x1780000017b4,
1435
+ 0x17b6000017d4,
1436
+ 0x17d7000017d8,
1437
+ 0x17dc000017de,
1438
+ 0x17e0000017ea,
1439
+ 0x18100000181a,
1440
+ 0x182000001879,
1441
+ 0x1880000018ab,
1442
+ 0x18b0000018f6,
1443
+ 0x19000000191f,
1444
+ 0x19200000192c,
1445
+ 0x19300000193c,
1446
+ 0x19460000196e,
1447
+ 0x197000001975,
1448
+ 0x1980000019ac,
1449
+ 0x19b0000019ca,
1450
+ 0x19d0000019da,
1451
+ 0x1a0000001a1c,
1452
+ 0x1a2000001a5f,
1453
+ 0x1a6000001a7d,
1454
+ 0x1a7f00001a8a,
1455
+ 0x1a9000001a9a,
1456
+ 0x1aa700001aa8,
1457
+ 0x1ab000001abe,
1458
+ 0x1abf00001acf,
1459
+ 0x1b0000001b4d,
1460
+ 0x1b5000001b5a,
1461
+ 0x1b6b00001b74,
1462
+ 0x1b8000001bf4,
1463
+ 0x1c0000001c38,
1464
+ 0x1c4000001c4a,
1465
+ 0x1c4d00001c7e,
1466
+ 0x1cd000001cd3,
1467
+ 0x1cd400001cfb,
1468
+ 0x1d0000001d2c,
1469
+ 0x1d2f00001d30,
1470
+ 0x1d3b00001d3c,
1471
+ 0x1d4e00001d4f,
1472
+ 0x1d6b00001d78,
1473
+ 0x1d7900001d9b,
1474
+ 0x1dc000001e00,
1475
+ 0x1e0100001e02,
1476
+ 0x1e0300001e04,
1477
+ 0x1e0500001e06,
1478
+ 0x1e0700001e08,
1479
+ 0x1e0900001e0a,
1480
+ 0x1e0b00001e0c,
1481
+ 0x1e0d00001e0e,
1482
+ 0x1e0f00001e10,
1483
+ 0x1e1100001e12,
1484
+ 0x1e1300001e14,
1485
+ 0x1e1500001e16,
1486
+ 0x1e1700001e18,
1487
+ 0x1e1900001e1a,
1488
+ 0x1e1b00001e1c,
1489
+ 0x1e1d00001e1e,
1490
+ 0x1e1f00001e20,
1491
+ 0x1e2100001e22,
1492
+ 0x1e2300001e24,
1493
+ 0x1e2500001e26,
1494
+ 0x1e2700001e28,
1495
+ 0x1e2900001e2a,
1496
+ 0x1e2b00001e2c,
1497
+ 0x1e2d00001e2e,
1498
+ 0x1e2f00001e30,
1499
+ 0x1e3100001e32,
1500
+ 0x1e3300001e34,
1501
+ 0x1e3500001e36,
1502
+ 0x1e3700001e38,
1503
+ 0x1e3900001e3a,
1504
+ 0x1e3b00001e3c,
1505
+ 0x1e3d00001e3e,
1506
+ 0x1e3f00001e40,
1507
+ 0x1e4100001e42,
1508
+ 0x1e4300001e44,
1509
+ 0x1e4500001e46,
1510
+ 0x1e4700001e48,
1511
+ 0x1e4900001e4a,
1512
+ 0x1e4b00001e4c,
1513
+ 0x1e4d00001e4e,
1514
+ 0x1e4f00001e50,
1515
+ 0x1e5100001e52,
1516
+ 0x1e5300001e54,
1517
+ 0x1e5500001e56,
1518
+ 0x1e5700001e58,
1519
+ 0x1e5900001e5a,
1520
+ 0x1e5b00001e5c,
1521
+ 0x1e5d00001e5e,
1522
+ 0x1e5f00001e60,
1523
+ 0x1e6100001e62,
1524
+ 0x1e6300001e64,
1525
+ 0x1e6500001e66,
1526
+ 0x1e6700001e68,
1527
+ 0x1e6900001e6a,
1528
+ 0x1e6b00001e6c,
1529
+ 0x1e6d00001e6e,
1530
+ 0x1e6f00001e70,
1531
+ 0x1e7100001e72,
1532
+ 0x1e7300001e74,
1533
+ 0x1e7500001e76,
1534
+ 0x1e7700001e78,
1535
+ 0x1e7900001e7a,
1536
+ 0x1e7b00001e7c,
1537
+ 0x1e7d00001e7e,
1538
+ 0x1e7f00001e80,
1539
+ 0x1e8100001e82,
1540
+ 0x1e8300001e84,
1541
+ 0x1e8500001e86,
1542
+ 0x1e8700001e88,
1543
+ 0x1e8900001e8a,
1544
+ 0x1e8b00001e8c,
1545
+ 0x1e8d00001e8e,
1546
+ 0x1e8f00001e90,
1547
+ 0x1e9100001e92,
1548
+ 0x1e9300001e94,
1549
+ 0x1e9500001e9a,
1550
+ 0x1e9c00001e9e,
1551
+ 0x1e9f00001ea0,
1552
+ 0x1ea100001ea2,
1553
+ 0x1ea300001ea4,
1554
+ 0x1ea500001ea6,
1555
+ 0x1ea700001ea8,
1556
+ 0x1ea900001eaa,
1557
+ 0x1eab00001eac,
1558
+ 0x1ead00001eae,
1559
+ 0x1eaf00001eb0,
1560
+ 0x1eb100001eb2,
1561
+ 0x1eb300001eb4,
1562
+ 0x1eb500001eb6,
1563
+ 0x1eb700001eb8,
1564
+ 0x1eb900001eba,
1565
+ 0x1ebb00001ebc,
1566
+ 0x1ebd00001ebe,
1567
+ 0x1ebf00001ec0,
1568
+ 0x1ec100001ec2,
1569
+ 0x1ec300001ec4,
1570
+ 0x1ec500001ec6,
1571
+ 0x1ec700001ec8,
1572
+ 0x1ec900001eca,
1573
+ 0x1ecb00001ecc,
1574
+ 0x1ecd00001ece,
1575
+ 0x1ecf00001ed0,
1576
+ 0x1ed100001ed2,
1577
+ 0x1ed300001ed4,
1578
+ 0x1ed500001ed6,
1579
+ 0x1ed700001ed8,
1580
+ 0x1ed900001eda,
1581
+ 0x1edb00001edc,
1582
+ 0x1edd00001ede,
1583
+ 0x1edf00001ee0,
1584
+ 0x1ee100001ee2,
1585
+ 0x1ee300001ee4,
1586
+ 0x1ee500001ee6,
1587
+ 0x1ee700001ee8,
1588
+ 0x1ee900001eea,
1589
+ 0x1eeb00001eec,
1590
+ 0x1eed00001eee,
1591
+ 0x1eef00001ef0,
1592
+ 0x1ef100001ef2,
1593
+ 0x1ef300001ef4,
1594
+ 0x1ef500001ef6,
1595
+ 0x1ef700001ef8,
1596
+ 0x1ef900001efa,
1597
+ 0x1efb00001efc,
1598
+ 0x1efd00001efe,
1599
+ 0x1eff00001f08,
1600
+ 0x1f1000001f16,
1601
+ 0x1f2000001f28,
1602
+ 0x1f3000001f38,
1603
+ 0x1f4000001f46,
1604
+ 0x1f5000001f58,
1605
+ 0x1f6000001f68,
1606
+ 0x1f7000001f71,
1607
+ 0x1f7200001f73,
1608
+ 0x1f7400001f75,
1609
+ 0x1f7600001f77,
1610
+ 0x1f7800001f79,
1611
+ 0x1f7a00001f7b,
1612
+ 0x1f7c00001f7d,
1613
+ 0x1fb000001fb2,
1614
+ 0x1fb600001fb7,
1615
+ 0x1fc600001fc7,
1616
+ 0x1fd000001fd3,
1617
+ 0x1fd600001fd8,
1618
+ 0x1fe000001fe3,
1619
+ 0x1fe400001fe8,
1620
+ 0x1ff600001ff7,
1621
+ 0x214e0000214f,
1622
+ 0x218400002185,
1623
+ 0x2c3000002c60,
1624
+ 0x2c6100002c62,
1625
+ 0x2c6500002c67,
1626
+ 0x2c6800002c69,
1627
+ 0x2c6a00002c6b,
1628
+ 0x2c6c00002c6d,
1629
+ 0x2c7100002c72,
1630
+ 0x2c7300002c75,
1631
+ 0x2c7600002c7c,
1632
+ 0x2c8100002c82,
1633
+ 0x2c8300002c84,
1634
+ 0x2c8500002c86,
1635
+ 0x2c8700002c88,
1636
+ 0x2c8900002c8a,
1637
+ 0x2c8b00002c8c,
1638
+ 0x2c8d00002c8e,
1639
+ 0x2c8f00002c90,
1640
+ 0x2c9100002c92,
1641
+ 0x2c9300002c94,
1642
+ 0x2c9500002c96,
1643
+ 0x2c9700002c98,
1644
+ 0x2c9900002c9a,
1645
+ 0x2c9b00002c9c,
1646
+ 0x2c9d00002c9e,
1647
+ 0x2c9f00002ca0,
1648
+ 0x2ca100002ca2,
1649
+ 0x2ca300002ca4,
1650
+ 0x2ca500002ca6,
1651
+ 0x2ca700002ca8,
1652
+ 0x2ca900002caa,
1653
+ 0x2cab00002cac,
1654
+ 0x2cad00002cae,
1655
+ 0x2caf00002cb0,
1656
+ 0x2cb100002cb2,
1657
+ 0x2cb300002cb4,
1658
+ 0x2cb500002cb6,
1659
+ 0x2cb700002cb8,
1660
+ 0x2cb900002cba,
1661
+ 0x2cbb00002cbc,
1662
+ 0x2cbd00002cbe,
1663
+ 0x2cbf00002cc0,
1664
+ 0x2cc100002cc2,
1665
+ 0x2cc300002cc4,
1666
+ 0x2cc500002cc6,
1667
+ 0x2cc700002cc8,
1668
+ 0x2cc900002cca,
1669
+ 0x2ccb00002ccc,
1670
+ 0x2ccd00002cce,
1671
+ 0x2ccf00002cd0,
1672
+ 0x2cd100002cd2,
1673
+ 0x2cd300002cd4,
1674
+ 0x2cd500002cd6,
1675
+ 0x2cd700002cd8,
1676
+ 0x2cd900002cda,
1677
+ 0x2cdb00002cdc,
1678
+ 0x2cdd00002cde,
1679
+ 0x2cdf00002ce0,
1680
+ 0x2ce100002ce2,
1681
+ 0x2ce300002ce5,
1682
+ 0x2cec00002ced,
1683
+ 0x2cee00002cf2,
1684
+ 0x2cf300002cf4,
1685
+ 0x2d0000002d26,
1686
+ 0x2d2700002d28,
1687
+ 0x2d2d00002d2e,
1688
+ 0x2d3000002d68,
1689
+ 0x2d7f00002d97,
1690
+ 0x2da000002da7,
1691
+ 0x2da800002daf,
1692
+ 0x2db000002db7,
1693
+ 0x2db800002dbf,
1694
+ 0x2dc000002dc7,
1695
+ 0x2dc800002dcf,
1696
+ 0x2dd000002dd7,
1697
+ 0x2dd800002ddf,
1698
+ 0x2de000002e00,
1699
+ 0x2e2f00002e30,
1700
+ 0x300500003008,
1701
+ 0x302a0000302e,
1702
+ 0x303c0000303d,
1703
+ 0x304100003097,
1704
+ 0x30990000309b,
1705
+ 0x309d0000309f,
1706
+ 0x30a1000030fb,
1707
+ 0x30fc000030ff,
1708
+ 0x310500003130,
1709
+ 0x31a0000031c0,
1710
+ 0x31f000003200,
1711
+ 0x340000004dc0,
1712
+ 0x4e000000a48d,
1713
+ 0xa4d00000a4fe,
1714
+ 0xa5000000a60d,
1715
+ 0xa6100000a62c,
1716
+ 0xa6410000a642,
1717
+ 0xa6430000a644,
1718
+ 0xa6450000a646,
1719
+ 0xa6470000a648,
1720
+ 0xa6490000a64a,
1721
+ 0xa64b0000a64c,
1722
+ 0xa64d0000a64e,
1723
+ 0xa64f0000a650,
1724
+ 0xa6510000a652,
1725
+ 0xa6530000a654,
1726
+ 0xa6550000a656,
1727
+ 0xa6570000a658,
1728
+ 0xa6590000a65a,
1729
+ 0xa65b0000a65c,
1730
+ 0xa65d0000a65e,
1731
+ 0xa65f0000a660,
1732
+ 0xa6610000a662,
1733
+ 0xa6630000a664,
1734
+ 0xa6650000a666,
1735
+ 0xa6670000a668,
1736
+ 0xa6690000a66a,
1737
+ 0xa66b0000a66c,
1738
+ 0xa66d0000a670,
1739
+ 0xa6740000a67e,
1740
+ 0xa67f0000a680,
1741
+ 0xa6810000a682,
1742
+ 0xa6830000a684,
1743
+ 0xa6850000a686,
1744
+ 0xa6870000a688,
1745
+ 0xa6890000a68a,
1746
+ 0xa68b0000a68c,
1747
+ 0xa68d0000a68e,
1748
+ 0xa68f0000a690,
1749
+ 0xa6910000a692,
1750
+ 0xa6930000a694,
1751
+ 0xa6950000a696,
1752
+ 0xa6970000a698,
1753
+ 0xa6990000a69a,
1754
+ 0xa69b0000a69c,
1755
+ 0xa69e0000a6e6,
1756
+ 0xa6f00000a6f2,
1757
+ 0xa7170000a720,
1758
+ 0xa7230000a724,
1759
+ 0xa7250000a726,
1760
+ 0xa7270000a728,
1761
+ 0xa7290000a72a,
1762
+ 0xa72b0000a72c,
1763
+ 0xa72d0000a72e,
1764
+ 0xa72f0000a732,
1765
+ 0xa7330000a734,
1766
+ 0xa7350000a736,
1767
+ 0xa7370000a738,
1768
+ 0xa7390000a73a,
1769
+ 0xa73b0000a73c,
1770
+ 0xa73d0000a73e,
1771
+ 0xa73f0000a740,
1772
+ 0xa7410000a742,
1773
+ 0xa7430000a744,
1774
+ 0xa7450000a746,
1775
+ 0xa7470000a748,
1776
+ 0xa7490000a74a,
1777
+ 0xa74b0000a74c,
1778
+ 0xa74d0000a74e,
1779
+ 0xa74f0000a750,
1780
+ 0xa7510000a752,
1781
+ 0xa7530000a754,
1782
+ 0xa7550000a756,
1783
+ 0xa7570000a758,
1784
+ 0xa7590000a75a,
1785
+ 0xa75b0000a75c,
1786
+ 0xa75d0000a75e,
1787
+ 0xa75f0000a760,
1788
+ 0xa7610000a762,
1789
+ 0xa7630000a764,
1790
+ 0xa7650000a766,
1791
+ 0xa7670000a768,
1792
+ 0xa7690000a76a,
1793
+ 0xa76b0000a76c,
1794
+ 0xa76d0000a76e,
1795
+ 0xa76f0000a770,
1796
+ 0xa7710000a779,
1797
+ 0xa77a0000a77b,
1798
+ 0xa77c0000a77d,
1799
+ 0xa77f0000a780,
1800
+ 0xa7810000a782,
1801
+ 0xa7830000a784,
1802
+ 0xa7850000a786,
1803
+ 0xa7870000a789,
1804
+ 0xa78c0000a78d,
1805
+ 0xa78e0000a790,
1806
+ 0xa7910000a792,
1807
+ 0xa7930000a796,
1808
+ 0xa7970000a798,
1809
+ 0xa7990000a79a,
1810
+ 0xa79b0000a79c,
1811
+ 0xa79d0000a79e,
1812
+ 0xa79f0000a7a0,
1813
+ 0xa7a10000a7a2,
1814
+ 0xa7a30000a7a4,
1815
+ 0xa7a50000a7a6,
1816
+ 0xa7a70000a7a8,
1817
+ 0xa7a90000a7aa,
1818
+ 0xa7af0000a7b0,
1819
+ 0xa7b50000a7b6,
1820
+ 0xa7b70000a7b8,
1821
+ 0xa7b90000a7ba,
1822
+ 0xa7bb0000a7bc,
1823
+ 0xa7bd0000a7be,
1824
+ 0xa7bf0000a7c0,
1825
+ 0xa7c10000a7c2,
1826
+ 0xa7c30000a7c4,
1827
+ 0xa7c80000a7c9,
1828
+ 0xa7ca0000a7cb,
1829
+ 0xa7d10000a7d2,
1830
+ 0xa7d30000a7d4,
1831
+ 0xa7d50000a7d6,
1832
+ 0xa7d70000a7d8,
1833
+ 0xa7d90000a7da,
1834
+ 0xa7f20000a7f5,
1835
+ 0xa7f60000a7f8,
1836
+ 0xa7fa0000a828,
1837
+ 0xa82c0000a82d,
1838
+ 0xa8400000a874,
1839
+ 0xa8800000a8c6,
1840
+ 0xa8d00000a8da,
1841
+ 0xa8e00000a8f8,
1842
+ 0xa8fb0000a8fc,
1843
+ 0xa8fd0000a92e,
1844
+ 0xa9300000a954,
1845
+ 0xa9800000a9c1,
1846
+ 0xa9cf0000a9da,
1847
+ 0xa9e00000a9ff,
1848
+ 0xaa000000aa37,
1849
+ 0xaa400000aa4e,
1850
+ 0xaa500000aa5a,
1851
+ 0xaa600000aa77,
1852
+ 0xaa7a0000aac3,
1853
+ 0xaadb0000aade,
1854
+ 0xaae00000aaf0,
1855
+ 0xaaf20000aaf7,
1856
+ 0xab010000ab07,
1857
+ 0xab090000ab0f,
1858
+ 0xab110000ab17,
1859
+ 0xab200000ab27,
1860
+ 0xab280000ab2f,
1861
+ 0xab300000ab5b,
1862
+ 0xab600000ab6a,
1863
+ 0xabc00000abeb,
1864
+ 0xabec0000abee,
1865
+ 0xabf00000abfa,
1866
+ 0xac000000d7a4,
1867
+ 0xfa0e0000fa10,
1868
+ 0xfa110000fa12,
1869
+ 0xfa130000fa15,
1870
+ 0xfa1f0000fa20,
1871
+ 0xfa210000fa22,
1872
+ 0xfa230000fa25,
1873
+ 0xfa270000fa2a,
1874
+ 0xfb1e0000fb1f,
1875
+ 0xfe200000fe30,
1876
+ 0xfe730000fe74,
1877
+ 0x100000001000c,
1878
+ 0x1000d00010027,
1879
+ 0x100280001003b,
1880
+ 0x1003c0001003e,
1881
+ 0x1003f0001004e,
1882
+ 0x100500001005e,
1883
+ 0x10080000100fb,
1884
+ 0x101fd000101fe,
1885
+ 0x102800001029d,
1886
+ 0x102a0000102d1,
1887
+ 0x102e0000102e1,
1888
+ 0x1030000010320,
1889
+ 0x1032d00010341,
1890
+ 0x103420001034a,
1891
+ 0x103500001037b,
1892
+ 0x103800001039e,
1893
+ 0x103a0000103c4,
1894
+ 0x103c8000103d0,
1895
+ 0x104280001049e,
1896
+ 0x104a0000104aa,
1897
+ 0x104d8000104fc,
1898
+ 0x1050000010528,
1899
+ 0x1053000010564,
1900
+ 0x10597000105a2,
1901
+ 0x105a3000105b2,
1902
+ 0x105b3000105ba,
1903
+ 0x105bb000105bd,
1904
+ 0x1060000010737,
1905
+ 0x1074000010756,
1906
+ 0x1076000010768,
1907
+ 0x1078000010786,
1908
+ 0x10787000107b1,
1909
+ 0x107b2000107bb,
1910
+ 0x1080000010806,
1911
+ 0x1080800010809,
1912
+ 0x1080a00010836,
1913
+ 0x1083700010839,
1914
+ 0x1083c0001083d,
1915
+ 0x1083f00010856,
1916
+ 0x1086000010877,
1917
+ 0x108800001089f,
1918
+ 0x108e0000108f3,
1919
+ 0x108f4000108f6,
1920
+ 0x1090000010916,
1921
+ 0x109200001093a,
1922
+ 0x10980000109b8,
1923
+ 0x109be000109c0,
1924
+ 0x10a0000010a04,
1925
+ 0x10a0500010a07,
1926
+ 0x10a0c00010a14,
1927
+ 0x10a1500010a18,
1928
+ 0x10a1900010a36,
1929
+ 0x10a3800010a3b,
1930
+ 0x10a3f00010a40,
1931
+ 0x10a6000010a7d,
1932
+ 0x10a8000010a9d,
1933
+ 0x10ac000010ac8,
1934
+ 0x10ac900010ae7,
1935
+ 0x10b0000010b36,
1936
+ 0x10b4000010b56,
1937
+ 0x10b6000010b73,
1938
+ 0x10b8000010b92,
1939
+ 0x10c0000010c49,
1940
+ 0x10cc000010cf3,
1941
+ 0x10d0000010d28,
1942
+ 0x10d3000010d3a,
1943
+ 0x10e8000010eaa,
1944
+ 0x10eab00010ead,
1945
+ 0x10eb000010eb2,
1946
+ 0x10f0000010f1d,
1947
+ 0x10f2700010f28,
1948
+ 0x10f3000010f51,
1949
+ 0x10f7000010f86,
1950
+ 0x10fb000010fc5,
1951
+ 0x10fe000010ff7,
1952
+ 0x1100000011047,
1953
+ 0x1106600011076,
1954
+ 0x1107f000110bb,
1955
+ 0x110c2000110c3,
1956
+ 0x110d0000110e9,
1957
+ 0x110f0000110fa,
1958
+ 0x1110000011135,
1959
+ 0x1113600011140,
1960
+ 0x1114400011148,
1961
+ 0x1115000011174,
1962
+ 0x1117600011177,
1963
+ 0x11180000111c5,
1964
+ 0x111c9000111cd,
1965
+ 0x111ce000111db,
1966
+ 0x111dc000111dd,
1967
+ 0x1120000011212,
1968
+ 0x1121300011238,
1969
+ 0x1123e0001123f,
1970
+ 0x1128000011287,
1971
+ 0x1128800011289,
1972
+ 0x1128a0001128e,
1973
+ 0x1128f0001129e,
1974
+ 0x1129f000112a9,
1975
+ 0x112b0000112eb,
1976
+ 0x112f0000112fa,
1977
+ 0x1130000011304,
1978
+ 0x113050001130d,
1979
+ 0x1130f00011311,
1980
+ 0x1131300011329,
1981
+ 0x1132a00011331,
1982
+ 0x1133200011334,
1983
+ 0x113350001133a,
1984
+ 0x1133b00011345,
1985
+ 0x1134700011349,
1986
+ 0x1134b0001134e,
1987
+ 0x1135000011351,
1988
+ 0x1135700011358,
1989
+ 0x1135d00011364,
1990
+ 0x113660001136d,
1991
+ 0x1137000011375,
1992
+ 0x114000001144b,
1993
+ 0x114500001145a,
1994
+ 0x1145e00011462,
1995
+ 0x11480000114c6,
1996
+ 0x114c7000114c8,
1997
+ 0x114d0000114da,
1998
+ 0x11580000115b6,
1999
+ 0x115b8000115c1,
2000
+ 0x115d8000115de,
2001
+ 0x1160000011641,
2002
+ 0x1164400011645,
2003
+ 0x116500001165a,
2004
+ 0x11680000116b9,
2005
+ 0x116c0000116ca,
2006
+ 0x117000001171b,
2007
+ 0x1171d0001172c,
2008
+ 0x117300001173a,
2009
+ 0x1174000011747,
2010
+ 0x118000001183b,
2011
+ 0x118c0000118ea,
2012
+ 0x118ff00011907,
2013
+ 0x119090001190a,
2014
+ 0x1190c00011914,
2015
+ 0x1191500011917,
2016
+ 0x1191800011936,
2017
+ 0x1193700011939,
2018
+ 0x1193b00011944,
2019
+ 0x119500001195a,
2020
+ 0x119a0000119a8,
2021
+ 0x119aa000119d8,
2022
+ 0x119da000119e2,
2023
+ 0x119e3000119e5,
2024
+ 0x11a0000011a3f,
2025
+ 0x11a4700011a48,
2026
+ 0x11a5000011a9a,
2027
+ 0x11a9d00011a9e,
2028
+ 0x11ab000011af9,
2029
+ 0x11c0000011c09,
2030
+ 0x11c0a00011c37,
2031
+ 0x11c3800011c41,
2032
+ 0x11c5000011c5a,
2033
+ 0x11c7200011c90,
2034
+ 0x11c9200011ca8,
2035
+ 0x11ca900011cb7,
2036
+ 0x11d0000011d07,
2037
+ 0x11d0800011d0a,
2038
+ 0x11d0b00011d37,
2039
+ 0x11d3a00011d3b,
2040
+ 0x11d3c00011d3e,
2041
+ 0x11d3f00011d48,
2042
+ 0x11d5000011d5a,
2043
+ 0x11d6000011d66,
2044
+ 0x11d6700011d69,
2045
+ 0x11d6a00011d8f,
2046
+ 0x11d9000011d92,
2047
+ 0x11d9300011d99,
2048
+ 0x11da000011daa,
2049
+ 0x11ee000011ef7,
2050
+ 0x11fb000011fb1,
2051
+ 0x120000001239a,
2052
+ 0x1248000012544,
2053
+ 0x12f9000012ff1,
2054
+ 0x130000001342f,
2055
+ 0x1440000014647,
2056
+ 0x1680000016a39,
2057
+ 0x16a4000016a5f,
2058
+ 0x16a6000016a6a,
2059
+ 0x16a7000016abf,
2060
+ 0x16ac000016aca,
2061
+ 0x16ad000016aee,
2062
+ 0x16af000016af5,
2063
+ 0x16b0000016b37,
2064
+ 0x16b4000016b44,
2065
+ 0x16b5000016b5a,
2066
+ 0x16b6300016b78,
2067
+ 0x16b7d00016b90,
2068
+ 0x16e6000016e80,
2069
+ 0x16f0000016f4b,
2070
+ 0x16f4f00016f88,
2071
+ 0x16f8f00016fa0,
2072
+ 0x16fe000016fe2,
2073
+ 0x16fe300016fe5,
2074
+ 0x16ff000016ff2,
2075
+ 0x17000000187f8,
2076
+ 0x1880000018cd6,
2077
+ 0x18d0000018d09,
2078
+ 0x1aff00001aff4,
2079
+ 0x1aff50001affc,
2080
+ 0x1affd0001afff,
2081
+ 0x1b0000001b123,
2082
+ 0x1b1500001b153,
2083
+ 0x1b1640001b168,
2084
+ 0x1b1700001b2fc,
2085
+ 0x1bc000001bc6b,
2086
+ 0x1bc700001bc7d,
2087
+ 0x1bc800001bc89,
2088
+ 0x1bc900001bc9a,
2089
+ 0x1bc9d0001bc9f,
2090
+ 0x1cf000001cf2e,
2091
+ 0x1cf300001cf47,
2092
+ 0x1da000001da37,
2093
+ 0x1da3b0001da6d,
2094
+ 0x1da750001da76,
2095
+ 0x1da840001da85,
2096
+ 0x1da9b0001daa0,
2097
+ 0x1daa10001dab0,
2098
+ 0x1df000001df1f,
2099
+ 0x1e0000001e007,
2100
+ 0x1e0080001e019,
2101
+ 0x1e01b0001e022,
2102
+ 0x1e0230001e025,
2103
+ 0x1e0260001e02b,
2104
+ 0x1e1000001e12d,
2105
+ 0x1e1300001e13e,
2106
+ 0x1e1400001e14a,
2107
+ 0x1e14e0001e14f,
2108
+ 0x1e2900001e2af,
2109
+ 0x1e2c00001e2fa,
2110
+ 0x1e7e00001e7e7,
2111
+ 0x1e7e80001e7ec,
2112
+ 0x1e7ed0001e7ef,
2113
+ 0x1e7f00001e7ff,
2114
+ 0x1e8000001e8c5,
2115
+ 0x1e8d00001e8d7,
2116
+ 0x1e9220001e94c,
2117
+ 0x1e9500001e95a,
2118
+ 0x1fbf00001fbfa,
2119
+ 0x200000002a6e0,
2120
+ 0x2a7000002b739,
2121
+ 0x2b7400002b81e,
2122
+ 0x2b8200002cea2,
2123
+ 0x2ceb00002ebe1,
2124
+ 0x300000003134b,
2125
+ ),
2126
+ 'CONTEXTJ': (
2127
+ 0x200c0000200e,
2128
+ ),
2129
+ 'CONTEXTO': (
2130
+ 0xb7000000b8,
2131
+ 0x37500000376,
2132
+ 0x5f3000005f5,
2133
+ 0x6600000066a,
2134
+ 0x6f0000006fa,
2135
+ 0x30fb000030fc,
2136
+ ),
2137
+ }
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Given a list of integers, made up of (hopefully) a small number of long runs
3
+ of consecutive integers, compute a representation of the form
4
+ ((start1, end1), (start2, end2) ...). Then answer the question "was x present
5
+ in the original list?" in time O(log(# runs)).
6
+ """
7
+
8
+ import bisect
9
+ from typing import List, Tuple
10
+
11
+ def intranges_from_list(list_: List[int]) -> Tuple[int, ...]:
12
+ """Represent a list of integers as a sequence of ranges:
13
+ ((start_0, end_0), (start_1, end_1), ...), such that the original
14
+ integers are exactly those x such that start_i <= x < end_i for some i.
15
+
16
+ Ranges are encoded as single integers (start << 32 | end), not as tuples.
17
+ """
18
+
19
+ sorted_list = sorted(list_)
20
+ ranges = []
21
+ last_write = -1
22
+ for i in range(len(sorted_list)):
23
+ if i+1 < len(sorted_list):
24
+ if sorted_list[i] == sorted_list[i+1]-1:
25
+ continue
26
+ current_range = sorted_list[last_write+1:i+1]
27
+ ranges.append(_encode_range(current_range[0], current_range[-1] + 1))
28
+ last_write = i
29
+
30
+ return tuple(ranges)
31
+
32
+ def _encode_range(start: int, end: int) -> int:
33
+ return (start << 32) | end
34
+
35
+ def _decode_range(r: int) -> Tuple[int, int]:
36
+ return (r >> 32), (r & ((1 << 32) - 1))
37
+
38
+
39
+ def intranges_contain(int_: int, ranges: Tuple[int, ...]) -> bool:
40
+ """Determine if `int_` falls into one of the ranges in `ranges`."""
41
+ tuple_ = _encode_range(int_, 0)
42
+ pos = bisect.bisect_left(ranges, tuple_)
43
+ # we could be immediately ahead of a tuple (start, end)
44
+ # with start < int_ <= end
45
+ if pos > 0:
46
+ left, right = _decode_range(ranges[pos-1])
47
+ if left <= int_ < right:
48
+ return True
49
+ # or we could be immediately behind a tuple (int_, end)
50
+ if pos < len(ranges):
51
+ left, _ = _decode_range(ranges[pos])
52
+ if left == int_:
53
+ return True
54
+ return False
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ __version__ = '3.3'
2
+
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py ADDED
The diff for this file is too large to render. See raw diff
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ """Wrappers to build Python packages using PEP 517 hooks
2
+ """
3
+
4
+ __version__ = '0.12.0'
5
+
6
+ from .wrappers import * # noqa: F401, F403
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__pycache__/build.cpython-310.pyc ADDED
Binary file (3.6 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__pycache__/colorlog.cpython-310.pyc ADDED
Binary file (2.97 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/__pycache__/envbuild.cpython-310.pyc ADDED
Binary file (4.38 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build a project using PEP 517 hooks.
2
+ """
3
+ import argparse
4
+ import io
5
+ import logging
6
+ import os
7
+ import shutil
8
+
9
+ from .envbuild import BuildEnvironment
10
+ from .wrappers import Pep517HookCaller
11
+ from .dirtools import tempdir, mkdir_p
12
+ from .compat import FileNotFoundError, toml_load
13
+
14
+ log = logging.getLogger(__name__)
15
+
16
+
17
+ def validate_system(system):
18
+ """
19
+ Ensure build system has the requisite fields.
20
+ """
21
+ required = {'requires', 'build-backend'}
22
+ if not (required <= set(system)):
23
+ message = "Missing required fields: {missing}".format(
24
+ missing=required-set(system),
25
+ )
26
+ raise ValueError(message)
27
+
28
+
29
+ def load_system(source_dir):
30
+ """
31
+ Load the build system from a source dir (pyproject.toml).
32
+ """
33
+ pyproject = os.path.join(source_dir, 'pyproject.toml')
34
+ with io.open(pyproject, 'rb') as f:
35
+ pyproject_data = toml_load(f)
36
+ return pyproject_data['build-system']
37
+
38
+
39
+ def compat_system(source_dir):
40
+ """
41
+ Given a source dir, attempt to get a build system backend
42
+ and requirements from pyproject.toml. Fallback to
43
+ setuptools but only if the file was not found or a build
44
+ system was not indicated.
45
+ """
46
+ try:
47
+ system = load_system(source_dir)
48
+ except (FileNotFoundError, KeyError):
49
+ system = {}
50
+ system.setdefault(
51
+ 'build-backend',
52
+ 'setuptools.build_meta:__legacy__',
53
+ )
54
+ system.setdefault('requires', ['setuptools', 'wheel'])
55
+ return system
56
+
57
+
58
+ def _do_build(hooks, env, dist, dest):
59
+ get_requires_name = 'get_requires_for_build_{dist}'.format(**locals())
60
+ get_requires = getattr(hooks, get_requires_name)
61
+ reqs = get_requires({})
62
+ log.info('Got build requires: %s', reqs)
63
+
64
+ env.pip_install(reqs)
65
+ log.info('Installed dynamic build dependencies')
66
+
67
+ with tempdir() as td:
68
+ log.info('Trying to build %s in %s', dist, td)
69
+ build_name = 'build_{dist}'.format(**locals())
70
+ build = getattr(hooks, build_name)
71
+ filename = build(td, {})
72
+ source = os.path.join(td, filename)
73
+ shutil.move(source, os.path.join(dest, os.path.basename(filename)))
74
+
75
+
76
+ def build(source_dir, dist, dest=None, system=None):
77
+ system = system or load_system(source_dir)
78
+ dest = os.path.join(source_dir, dest or 'dist')
79
+ mkdir_p(dest)
80
+
81
+ validate_system(system)
82
+ hooks = Pep517HookCaller(
83
+ source_dir, system['build-backend'], system.get('backend-path')
84
+ )
85
+
86
+ with BuildEnvironment() as env:
87
+ env.pip_install(system['requires'])
88
+ _do_build(hooks, env, dist, dest)
89
+
90
+
91
+ parser = argparse.ArgumentParser()
92
+ parser.add_argument(
93
+ 'source_dir',
94
+ help="A directory containing pyproject.toml",
95
+ )
96
+ parser.add_argument(
97
+ '--binary', '-b',
98
+ action='store_true',
99
+ default=False,
100
+ )
101
+ parser.add_argument(
102
+ '--source', '-s',
103
+ action='store_true',
104
+ default=False,
105
+ )
106
+ parser.add_argument(
107
+ '--out-dir', '-o',
108
+ help="Destination in which to save the builds relative to source dir",
109
+ )
110
+
111
+
112
+ def main(args):
113
+ log.warning('pep517.build is deprecated. '
114
+ 'Consider switching to https://pypi.org/project/build/')
115
+
116
+ # determine which dists to build
117
+ dists = list(filter(None, (
118
+ 'sdist' if args.source or not args.binary else None,
119
+ 'wheel' if args.binary or not args.source else None,
120
+ )))
121
+
122
+ for dist in dists:
123
+ build(args.source_dir, dist, args.out_dir)
124
+
125
+
126
+ if __name__ == '__main__':
127
+ main(parser.parse_args())
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Check a project and backend by attempting to build using PEP 517 hooks.
2
+ """
3
+ import argparse
4
+ import io
5
+ import logging
6
+ import os
7
+ from os.path import isfile, join as pjoin
8
+ import shutil
9
+ from subprocess import CalledProcessError
10
+ import sys
11
+ import tarfile
12
+ from tempfile import mkdtemp
13
+ import zipfile
14
+
15
+ from .colorlog import enable_colourful_output
16
+ from .compat import TOMLDecodeError, toml_load
17
+ from .envbuild import BuildEnvironment
18
+ from .wrappers import Pep517HookCaller
19
+
20
+ log = logging.getLogger(__name__)
21
+
22
+
23
+ def check_build_sdist(hooks, build_sys_requires):
24
+ with BuildEnvironment() as env:
25
+ try:
26
+ env.pip_install(build_sys_requires)
27
+ log.info('Installed static build dependencies')
28
+ except CalledProcessError:
29
+ log.error('Failed to install static build dependencies')
30
+ return False
31
+
32
+ try:
33
+ reqs = hooks.get_requires_for_build_sdist({})
34
+ log.info('Got build requires: %s', reqs)
35
+ except Exception:
36
+ log.error('Failure in get_requires_for_build_sdist', exc_info=True)
37
+ return False
38
+
39
+ try:
40
+ env.pip_install(reqs)
41
+ log.info('Installed dynamic build dependencies')
42
+ except CalledProcessError:
43
+ log.error('Failed to install dynamic build dependencies')
44
+ return False
45
+
46
+ td = mkdtemp()
47
+ log.info('Trying to build sdist in %s', td)
48
+ try:
49
+ try:
50
+ filename = hooks.build_sdist(td, {})
51
+ log.info('build_sdist returned %r', filename)
52
+ except Exception:
53
+ log.info('Failure in build_sdist', exc_info=True)
54
+ return False
55
+
56
+ if not filename.endswith('.tar.gz'):
57
+ log.error(
58
+ "Filename %s doesn't have .tar.gz extension", filename)
59
+ return False
60
+
61
+ path = pjoin(td, filename)
62
+ if isfile(path):
63
+ log.info("Output file %s exists", path)
64
+ else:
65
+ log.error("Output file %s does not exist", path)
66
+ return False
67
+
68
+ if tarfile.is_tarfile(path):
69
+ log.info("Output file is a tar file")
70
+ else:
71
+ log.error("Output file is not a tar file")
72
+ return False
73
+
74
+ finally:
75
+ shutil.rmtree(td)
76
+
77
+ return True
78
+
79
+
80
+ def check_build_wheel(hooks, build_sys_requires):
81
+ with BuildEnvironment() as env:
82
+ try:
83
+ env.pip_install(build_sys_requires)
84
+ log.info('Installed static build dependencies')
85
+ except CalledProcessError:
86
+ log.error('Failed to install static build dependencies')
87
+ return False
88
+
89
+ try:
90
+ reqs = hooks.get_requires_for_build_wheel({})
91
+ log.info('Got build requires: %s', reqs)
92
+ except Exception:
93
+ log.error('Failure in get_requires_for_build_sdist', exc_info=True)
94
+ return False
95
+
96
+ try:
97
+ env.pip_install(reqs)
98
+ log.info('Installed dynamic build dependencies')
99
+ except CalledProcessError:
100
+ log.error('Failed to install dynamic build dependencies')
101
+ return False
102
+
103
+ td = mkdtemp()
104
+ log.info('Trying to build wheel in %s', td)
105
+ try:
106
+ try:
107
+ filename = hooks.build_wheel(td, {})
108
+ log.info('build_wheel returned %r', filename)
109
+ except Exception:
110
+ log.info('Failure in build_wheel', exc_info=True)
111
+ return False
112
+
113
+ if not filename.endswith('.whl'):
114
+ log.error("Filename %s doesn't have .whl extension", filename)
115
+ return False
116
+
117
+ path = pjoin(td, filename)
118
+ if isfile(path):
119
+ log.info("Output file %s exists", path)
120
+ else:
121
+ log.error("Output file %s does not exist", path)
122
+ return False
123
+
124
+ if zipfile.is_zipfile(path):
125
+ log.info("Output file is a zip file")
126
+ else:
127
+ log.error("Output file is not a zip file")
128
+ return False
129
+
130
+ finally:
131
+ shutil.rmtree(td)
132
+
133
+ return True
134
+
135
+
136
+ def check(source_dir):
137
+ pyproject = pjoin(source_dir, 'pyproject.toml')
138
+ if isfile(pyproject):
139
+ log.info('Found pyproject.toml')
140
+ else:
141
+ log.error('Missing pyproject.toml')
142
+ return False
143
+
144
+ try:
145
+ with io.open(pyproject, 'rb') as f:
146
+ pyproject_data = toml_load(f)
147
+ # Ensure the mandatory data can be loaded
148
+ buildsys = pyproject_data['build-system']
149
+ requires = buildsys['requires']
150
+ backend = buildsys['build-backend']
151
+ backend_path = buildsys.get('backend-path')
152
+ log.info('Loaded pyproject.toml')
153
+ except (TOMLDecodeError, KeyError):
154
+ log.error("Invalid pyproject.toml", exc_info=True)
155
+ return False
156
+
157
+ hooks = Pep517HookCaller(source_dir, backend, backend_path)
158
+
159
+ sdist_ok = check_build_sdist(hooks, requires)
160
+ wheel_ok = check_build_wheel(hooks, requires)
161
+
162
+ if not sdist_ok:
163
+ log.warning('Sdist checks failed; scroll up to see')
164
+ if not wheel_ok:
165
+ log.warning('Wheel checks failed')
166
+
167
+ return sdist_ok
168
+
169
+
170
+ def main(argv=None):
171
+ log.warning('pep517.check is deprecated. '
172
+ 'Consider switching to https://pypi.org/project/build/')
173
+
174
+ ap = argparse.ArgumentParser()
175
+ ap.add_argument(
176
+ 'source_dir',
177
+ help="A directory containing pyproject.toml")
178
+ args = ap.parse_args(argv)
179
+
180
+ enable_colourful_output()
181
+
182
+ ok = check(args.source_dir)
183
+
184
+ if ok:
185
+ print(ansi('Checks passed', 'green'))
186
+ else:
187
+ print(ansi('Checks failed', 'red'))
188
+ sys.exit(1)
189
+
190
+
191
+ ansi_codes = {
192
+ 'reset': '\x1b[0m',
193
+ 'bold': '\x1b[1m',
194
+ 'red': '\x1b[31m',
195
+ 'green': '\x1b[32m',
196
+ }
197
+
198
+
199
+ def ansi(s, attr):
200
+ if os.name != 'nt' and sys.stdout.isatty():
201
+ return ansi_codes[attr] + str(s) + ansi_codes['reset']
202
+ else:
203
+ return str(s)
204
+
205
+
206
+ if __name__ == '__main__':
207
+ main()
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Nicer log formatting with colours.
2
+
3
+ Code copied from Tornado, Apache licensed.
4
+ """
5
+ # Copyright 2012 Facebook
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
8
+ # not use this file except in compliance with the License. You may obtain
9
+ # a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
+ # License for the specific language governing permissions and limitations
17
+ # under the License.
18
+
19
+ import logging
20
+ import sys
21
+
22
+ try:
23
+ import curses
24
+ except ImportError:
25
+ curses = None
26
+
27
+
28
+ def _stderr_supports_color():
29
+ color = False
30
+ if curses and hasattr(sys.stderr, 'isatty') and sys.stderr.isatty():
31
+ try:
32
+ curses.setupterm()
33
+ if curses.tigetnum("colors") > 0:
34
+ color = True
35
+ except Exception:
36
+ pass
37
+ return color
38
+
39
+
40
+ class LogFormatter(logging.Formatter):
41
+ """Log formatter with colour support
42
+ """
43
+ DEFAULT_COLORS = {
44
+ logging.INFO: 2, # Green
45
+ logging.WARNING: 3, # Yellow
46
+ logging.ERROR: 1, # Red
47
+ logging.CRITICAL: 1,
48
+ }
49
+
50
+ def __init__(self, color=True, datefmt=None):
51
+ r"""
52
+ :arg bool color: Enables color support.
53
+ :arg string fmt: Log message format.
54
+ It will be applied to the attributes dict of log records. The
55
+ text between ``%(color)s`` and ``%(end_color)s`` will be colored
56
+ depending on the level if color support is on.
57
+ :arg dict colors: color mappings from logging level to terminal color
58
+ code
59
+ :arg string datefmt: Datetime format.
60
+ Used for formatting ``(asctime)`` placeholder in ``prefix_fmt``.
61
+ .. versionchanged:: 3.2
62
+ Added ``fmt`` and ``datefmt`` arguments.
63
+ """
64
+ logging.Formatter.__init__(self, datefmt=datefmt)
65
+ self._colors = {}
66
+ if color and _stderr_supports_color():
67
+ # The curses module has some str/bytes confusion in
68
+ # python3. Until version 3.2.3, most methods return
69
+ # bytes, but only accept strings. In addition, we want to
70
+ # output these strings with the logging module, which
71
+ # works with unicode strings. The explicit calls to
72
+ # unicode() below are harmless in python2 but will do the
73
+ # right conversion in python 3.
74
+ fg_color = (curses.tigetstr("setaf") or
75
+ curses.tigetstr("setf") or "")
76
+ if (3, 0) < sys.version_info < (3, 2, 3):
77
+ fg_color = str(fg_color, "ascii")
78
+
79
+ for levelno, code in self.DEFAULT_COLORS.items():
80
+ self._colors[levelno] = str(
81
+ curses.tparm(fg_color, code), "ascii")
82
+ self._normal = str(curses.tigetstr("sgr0"), "ascii")
83
+
84
+ scr = curses.initscr()
85
+ self.termwidth = scr.getmaxyx()[1]
86
+ curses.endwin()
87
+ else:
88
+ self._normal = ''
89
+ # Default width is usually 80, but too wide is
90
+ # worse than too narrow
91
+ self.termwidth = 70
92
+
93
+ def formatMessage(self, record):
94
+ mlen = len(record.message)
95
+ right_text = '{initial}-{name}'.format(initial=record.levelname[0],
96
+ name=record.name)
97
+ if mlen + len(right_text) < self.termwidth:
98
+ space = ' ' * (self.termwidth - (mlen + len(right_text)))
99
+ else:
100
+ space = ' '
101
+
102
+ if record.levelno in self._colors:
103
+ start_color = self._colors[record.levelno]
104
+ end_color = self._normal
105
+ else:
106
+ start_color = end_color = ''
107
+
108
+ return record.message + space + start_color + right_text + end_color
109
+
110
+
111
+ def enable_colourful_output(level=logging.INFO):
112
+ handler = logging.StreamHandler()
113
+ handler.setFormatter(LogFormatter())
114
+ logging.root.addHandler(handler)
115
+ logging.root.setLevel(level)
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Python 2/3 compatibility"""
2
+ import io
3
+ import json
4
+ import sys
5
+
6
+
7
+ # Handle reading and writing JSON in UTF-8, on Python 3 and 2.
8
+
9
+ if sys.version_info[0] >= 3:
10
+ # Python 3
11
+ def write_json(obj, path, **kwargs):
12
+ with open(path, 'w', encoding='utf-8') as f:
13
+ json.dump(obj, f, **kwargs)
14
+
15
+ def read_json(path):
16
+ with open(path, 'r', encoding='utf-8') as f:
17
+ return json.load(f)
18
+
19
+ else:
20
+ # Python 2
21
+ def write_json(obj, path, **kwargs):
22
+ with open(path, 'wb') as f:
23
+ json.dump(obj, f, encoding='utf-8', **kwargs)
24
+
25
+ def read_json(path):
26
+ with open(path, 'rb') as f:
27
+ return json.load(f)
28
+
29
+
30
+ # FileNotFoundError
31
+
32
+ try:
33
+ FileNotFoundError = FileNotFoundError
34
+ except NameError:
35
+ FileNotFoundError = IOError
36
+
37
+
38
+ if sys.version_info < (3, 6):
39
+ from toml import load as _toml_load # noqa: F401
40
+
41
+ def toml_load(f):
42
+ w = io.TextIOWrapper(f, encoding="utf8", newline="")
43
+ try:
44
+ return _toml_load(w)
45
+ finally:
46
+ w.detach()
47
+
48
+ from toml import TomlDecodeError as TOMLDecodeError # noqa: F401
49
+ else:
50
+ from pip._vendor.tomli import load as toml_load # noqa: F401
51
+ from pip._vendor.tomli import TOMLDecodeError # noqa: F401
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import io
3
+ import contextlib
4
+ import tempfile
5
+ import shutil
6
+ import errno
7
+ import zipfile
8
+
9
+
10
+ @contextlib.contextmanager
11
+ def tempdir():
12
+ """Create a temporary directory in a context manager."""
13
+ td = tempfile.mkdtemp()
14
+ try:
15
+ yield td
16
+ finally:
17
+ shutil.rmtree(td)
18
+
19
+
20
+ def mkdir_p(*args, **kwargs):
21
+ """Like `mkdir`, but does not raise an exception if the
22
+ directory already exists.
23
+ """
24
+ try:
25
+ return os.mkdir(*args, **kwargs)
26
+ except OSError as exc:
27
+ if exc.errno != errno.EEXIST:
28
+ raise
29
+
30
+
31
+ def dir_to_zipfile(root):
32
+ """Construct an in-memory zip file for a directory."""
33
+ buffer = io.BytesIO()
34
+ zip_file = zipfile.ZipFile(buffer, 'w')
35
+ for root, dirs, files in os.walk(root):
36
+ for path in dirs:
37
+ fs_path = os.path.join(root, path)
38
+ rel_path = os.path.relpath(fs_path, root)
39
+ zip_file.writestr(rel_path + '/', '')
40
+ for path in files:
41
+ fs_path = os.path.join(root, path)
42
+ rel_path = os.path.relpath(fs_path, root)
43
+ zip_file.write(fs_path, rel_path)
44
+ return zip_file
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build wheels/sdists by installing build deps to a temporary environment.
2
+ """
3
+
4
+ import io
5
+ import os
6
+ import logging
7
+ import shutil
8
+ from subprocess import check_call
9
+ import sys
10
+ from sysconfig import get_paths
11
+ from tempfile import mkdtemp
12
+
13
+ from .compat import toml_load
14
+ from .wrappers import Pep517HookCaller, LoggerWrapper
15
+
16
+ log = logging.getLogger(__name__)
17
+
18
+
19
+ def _load_pyproject(source_dir):
20
+ with io.open(
21
+ os.path.join(source_dir, 'pyproject.toml'),
22
+ 'rb',
23
+ ) as f:
24
+ pyproject_data = toml_load(f)
25
+ buildsys = pyproject_data['build-system']
26
+ return (
27
+ buildsys['requires'],
28
+ buildsys['build-backend'],
29
+ buildsys.get('backend-path'),
30
+ )
31
+
32
+
33
+ class BuildEnvironment(object):
34
+ """Context manager to install build deps in a simple temporary environment
35
+
36
+ Based on code I wrote for pip, which is MIT licensed.
37
+ """
38
+ # Copyright (c) 2008-2016 The pip developers (see AUTHORS.txt file)
39
+ #
40
+ # Permission is hereby granted, free of charge, to any person obtaining
41
+ # a copy of this software and associated documentation files (the
42
+ # "Software"), to deal in the Software without restriction, including
43
+ # without limitation the rights to use, copy, modify, merge, publish,
44
+ # distribute, sublicense, and/or sell copies of the Software, and to
45
+ # permit persons to whom the Software is furnished to do so, subject to
46
+ # the following conditions:
47
+ #
48
+ # The above copyright notice and this permission notice shall be
49
+ # included in all copies or substantial portions of the Software.
50
+ #
51
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
52
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
53
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
54
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
55
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
56
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
57
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
58
+
59
+ path = None
60
+
61
+ def __init__(self, cleanup=True):
62
+ self._cleanup = cleanup
63
+
64
+ def __enter__(self):
65
+ self.path = mkdtemp(prefix='pep517-build-env-')
66
+ log.info('Temporary build environment: %s', self.path)
67
+
68
+ self.save_path = os.environ.get('PATH', None)
69
+ self.save_pythonpath = os.environ.get('PYTHONPATH', None)
70
+
71
+ install_scheme = 'nt' if (os.name == 'nt') else 'posix_prefix'
72
+ install_dirs = get_paths(install_scheme, vars={
73
+ 'base': self.path,
74
+ 'platbase': self.path,
75
+ })
76
+
77
+ scripts = install_dirs['scripts']
78
+ if self.save_path:
79
+ os.environ['PATH'] = scripts + os.pathsep + self.save_path
80
+ else:
81
+ os.environ['PATH'] = scripts + os.pathsep + os.defpath
82
+
83
+ if install_dirs['purelib'] == install_dirs['platlib']:
84
+ lib_dirs = install_dirs['purelib']
85
+ else:
86
+ lib_dirs = install_dirs['purelib'] + os.pathsep + \
87
+ install_dirs['platlib']
88
+ if self.save_pythonpath:
89
+ os.environ['PYTHONPATH'] = lib_dirs + os.pathsep + \
90
+ self.save_pythonpath
91
+ else:
92
+ os.environ['PYTHONPATH'] = lib_dirs
93
+
94
+ return self
95
+
96
+ def pip_install(self, reqs):
97
+ """Install dependencies into this env by calling pip in a subprocess"""
98
+ if not reqs:
99
+ return
100
+ log.info('Calling pip to install %s', reqs)
101
+ cmd = [
102
+ sys.executable, '-m', 'pip', 'install', '--ignore-installed',
103
+ '--prefix', self.path] + list(reqs)
104
+ check_call(
105
+ cmd,
106
+ stdout=LoggerWrapper(log, logging.INFO),
107
+ stderr=LoggerWrapper(log, logging.ERROR),
108
+ )
109
+
110
+ def __exit__(self, exc_type, exc_val, exc_tb):
111
+ needs_cleanup = (
112
+ self._cleanup and
113
+ self.path is not None and
114
+ os.path.isdir(self.path)
115
+ )
116
+ if needs_cleanup:
117
+ shutil.rmtree(self.path)
118
+
119
+ if self.save_path is None:
120
+ os.environ.pop('PATH', None)
121
+ else:
122
+ os.environ['PATH'] = self.save_path
123
+
124
+ if self.save_pythonpath is None:
125
+ os.environ.pop('PYTHONPATH', None)
126
+ else:
127
+ os.environ['PYTHONPATH'] = self.save_pythonpath
128
+
129
+
130
+ def build_wheel(source_dir, wheel_dir, config_settings=None):
131
+ """Build a wheel from a source directory using PEP 517 hooks.
132
+
133
+ :param str source_dir: Source directory containing pyproject.toml
134
+ :param str wheel_dir: Target directory to create wheel in
135
+ :param dict config_settings: Options to pass to build backend
136
+
137
+ This is a blocking function which will run pip in a subprocess to install
138
+ build requirements.
139
+ """
140
+ if config_settings is None:
141
+ config_settings = {}
142
+ requires, backend, backend_path = _load_pyproject(source_dir)
143
+ hooks = Pep517HookCaller(source_dir, backend, backend_path)
144
+
145
+ with BuildEnvironment() as env:
146
+ env.pip_install(requires)
147
+ reqs = hooks.get_requires_for_build_wheel(config_settings)
148
+ env.pip_install(reqs)
149
+ return hooks.build_wheel(wheel_dir, config_settings)
150
+
151
+
152
+ def build_sdist(source_dir, sdist_dir, config_settings=None):
153
+ """Build an sdist from a source directory using PEP 517 hooks.
154
+
155
+ :param str source_dir: Source directory containing pyproject.toml
156
+ :param str sdist_dir: Target directory to place sdist in
157
+ :param dict config_settings: Options to pass to build backend
158
+
159
+ This is a blocking function which will run pip in a subprocess to install
160
+ build requirements.
161
+ """
162
+ if config_settings is None:
163
+ config_settings = {}
164
+ requires, backend, backend_path = _load_pyproject(source_dir)
165
+ hooks = Pep517HookCaller(source_dir, backend, backend_path)
166
+
167
+ with BuildEnvironment() as env:
168
+ env.pip_install(requires)
169
+ reqs = hooks.get_requires_for_build_sdist(config_settings)
170
+ env.pip_install(reqs)
171
+ return hooks.build_sdist(sdist_dir, config_settings)
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """This is a subpackage because the directory is on sys.path for _in_process.py
2
+
3
+ The subpackage should stay as empty as possible to avoid shadowing modules that
4
+ the backend might import.
5
+ """
6
+ from os.path import dirname, abspath, join as pjoin
7
+ from contextlib import contextmanager
8
+
9
+ try:
10
+ import importlib.resources as resources
11
+
12
+ def _in_proc_script_path():
13
+ return resources.path(__package__, '_in_process.py')
14
+ except ImportError:
15
+ @contextmanager
16
+ def _in_proc_script_path():
17
+ yield pjoin(dirname(abspath(__file__)), '_in_process.py')
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (924 Bytes). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build metadata for a project using PEP 517 hooks.
2
+ """
3
+ import argparse
4
+ import logging
5
+ import os
6
+ import shutil
7
+ import functools
8
+
9
+ try:
10
+ import importlib.metadata as imp_meta
11
+ except ImportError:
12
+ import importlib_metadata as imp_meta
13
+
14
+ try:
15
+ from zipfile import Path
16
+ except ImportError:
17
+ from zipp import Path
18
+
19
+ from .envbuild import BuildEnvironment
20
+ from .wrappers import Pep517HookCaller, quiet_subprocess_runner
21
+ from .dirtools import tempdir, mkdir_p, dir_to_zipfile
22
+ from .build import validate_system, load_system, compat_system
23
+
24
+ log = logging.getLogger(__name__)
25
+
26
+
27
+ def _prep_meta(hooks, env, dest):
28
+ reqs = hooks.get_requires_for_build_wheel({})
29
+ log.info('Got build requires: %s', reqs)
30
+
31
+ env.pip_install(reqs)
32
+ log.info('Installed dynamic build dependencies')
33
+
34
+ with tempdir() as td:
35
+ log.info('Trying to build metadata in %s', td)
36
+ filename = hooks.prepare_metadata_for_build_wheel(td, {})
37
+ source = os.path.join(td, filename)
38
+ shutil.move(source, os.path.join(dest, os.path.basename(filename)))
39
+
40
+
41
+ def build(source_dir='.', dest=None, system=None):
42
+ system = system or load_system(source_dir)
43
+ dest = os.path.join(source_dir, dest or 'dist')
44
+ mkdir_p(dest)
45
+ validate_system(system)
46
+ hooks = Pep517HookCaller(
47
+ source_dir, system['build-backend'], system.get('backend-path')
48
+ )
49
+
50
+ with hooks.subprocess_runner(quiet_subprocess_runner):
51
+ with BuildEnvironment() as env:
52
+ env.pip_install(system['requires'])
53
+ _prep_meta(hooks, env, dest)
54
+
55
+
56
+ def build_as_zip(builder=build):
57
+ with tempdir() as out_dir:
58
+ builder(dest=out_dir)
59
+ return dir_to_zipfile(out_dir)
60
+
61
+
62
+ def load(root):
63
+ """
64
+ Given a source directory (root) of a package,
65
+ return an importlib.metadata.Distribution object
66
+ with metadata build from that package.
67
+ """
68
+ root = os.path.expanduser(root)
69
+ system = compat_system(root)
70
+ builder = functools.partial(build, source_dir=root, system=system)
71
+ path = Path(build_as_zip(builder))
72
+ return imp_meta.PathDistribution(path)
73
+
74
+
75
+ parser = argparse.ArgumentParser()
76
+ parser.add_argument(
77
+ 'source_dir',
78
+ help="A directory containing pyproject.toml",
79
+ )
80
+ parser.add_argument(
81
+ '--out-dir', '-o',
82
+ help="Destination in which to save the builds relative to source dir",
83
+ )
84
+
85
+
86
+ def main():
87
+ args = parser.parse_args()
88
+ build(args.source_dir, args.out_dir)
89
+
90
+
91
+ if __name__ == '__main__':
92
+ main()
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import threading
2
+ from contextlib import contextmanager
3
+ import os
4
+ from os.path import abspath, join as pjoin
5
+ import shutil
6
+ from subprocess import check_call, check_output, STDOUT
7
+ import sys
8
+ from tempfile import mkdtemp
9
+
10
+ from . import compat
11
+ from .in_process import _in_proc_script_path
12
+
13
+ __all__ = [
14
+ 'BackendUnavailable',
15
+ 'BackendInvalid',
16
+ 'HookMissing',
17
+ 'UnsupportedOperation',
18
+ 'default_subprocess_runner',
19
+ 'quiet_subprocess_runner',
20
+ 'Pep517HookCaller',
21
+ ]
22
+
23
+
24
+ @contextmanager
25
+ def tempdir():
26
+ td = mkdtemp()
27
+ try:
28
+ yield td
29
+ finally:
30
+ shutil.rmtree(td)
31
+
32
+
33
+ class BackendUnavailable(Exception):
34
+ """Will be raised if the backend cannot be imported in the hook process."""
35
+ def __init__(self, traceback):
36
+ self.traceback = traceback
37
+
38
+
39
+ class BackendInvalid(Exception):
40
+ """Will be raised if the backend is invalid."""
41
+ def __init__(self, backend_name, backend_path, message):
42
+ self.backend_name = backend_name
43
+ self.backend_path = backend_path
44
+ self.message = message
45
+
46
+
47
+ class HookMissing(Exception):
48
+ """Will be raised on missing hooks."""
49
+ def __init__(self, hook_name):
50
+ super(HookMissing, self).__init__(hook_name)
51
+ self.hook_name = hook_name
52
+
53
+
54
+ class UnsupportedOperation(Exception):
55
+ """May be raised by build_sdist if the backend indicates that it can't."""
56
+ def __init__(self, traceback):
57
+ self.traceback = traceback
58
+
59
+
60
+ def default_subprocess_runner(cmd, cwd=None, extra_environ=None):
61
+ """The default method of calling the wrapper subprocess."""
62
+ env = os.environ.copy()
63
+ if extra_environ:
64
+ env.update(extra_environ)
65
+
66
+ check_call(cmd, cwd=cwd, env=env)
67
+
68
+
69
+ def quiet_subprocess_runner(cmd, cwd=None, extra_environ=None):
70
+ """A method of calling the wrapper subprocess while suppressing output."""
71
+ env = os.environ.copy()
72
+ if extra_environ:
73
+ env.update(extra_environ)
74
+
75
+ check_output(cmd, cwd=cwd, env=env, stderr=STDOUT)
76
+
77
+
78
+ def norm_and_check(source_tree, requested):
79
+ """Normalise and check a backend path.
80
+
81
+ Ensure that the requested backend path is specified as a relative path,
82
+ and resolves to a location under the given source tree.
83
+
84
+ Return an absolute version of the requested path.
85
+ """
86
+ if os.path.isabs(requested):
87
+ raise ValueError("paths must be relative")
88
+
89
+ abs_source = os.path.abspath(source_tree)
90
+ abs_requested = os.path.normpath(os.path.join(abs_source, requested))
91
+ # We have to use commonprefix for Python 2.7 compatibility. So we
92
+ # normalise case to avoid problems because commonprefix is a character
93
+ # based comparison :-(
94
+ norm_source = os.path.normcase(abs_source)
95
+ norm_requested = os.path.normcase(abs_requested)
96
+ if os.path.commonprefix([norm_source, norm_requested]) != norm_source:
97
+ raise ValueError("paths must be inside source tree")
98
+
99
+ return abs_requested
100
+
101
+
102
+ class Pep517HookCaller(object):
103
+ """A wrapper around a source directory to be built with a PEP 517 backend.
104
+
105
+ :param source_dir: The path to the source directory, containing
106
+ pyproject.toml.
107
+ :param build_backend: The build backend spec, as per PEP 517, from
108
+ pyproject.toml.
109
+ :param backend_path: The backend path, as per PEP 517, from pyproject.toml.
110
+ :param runner: A callable that invokes the wrapper subprocess.
111
+ :param python_executable: The Python executable used to invoke the backend
112
+
113
+ The 'runner', if provided, must expect the following:
114
+
115
+ - cmd: a list of strings representing the command and arguments to
116
+ execute, as would be passed to e.g. 'subprocess.check_call'.
117
+ - cwd: a string representing the working directory that must be
118
+ used for the subprocess. Corresponds to the provided source_dir.
119
+ - extra_environ: a dict mapping environment variable names to values
120
+ which must be set for the subprocess execution.
121
+ """
122
+ def __init__(
123
+ self,
124
+ source_dir,
125
+ build_backend,
126
+ backend_path=None,
127
+ runner=None,
128
+ python_executable=None,
129
+ ):
130
+ if runner is None:
131
+ runner = default_subprocess_runner
132
+
133
+ self.source_dir = abspath(source_dir)
134
+ self.build_backend = build_backend
135
+ if backend_path:
136
+ backend_path = [
137
+ norm_and_check(self.source_dir, p) for p in backend_path
138
+ ]
139
+ self.backend_path = backend_path
140
+ self._subprocess_runner = runner
141
+ if not python_executable:
142
+ python_executable = sys.executable
143
+ self.python_executable = python_executable
144
+
145
+ @contextmanager
146
+ def subprocess_runner(self, runner):
147
+ """A context manager for temporarily overriding the default subprocess
148
+ runner.
149
+ """
150
+ prev = self._subprocess_runner
151
+ self._subprocess_runner = runner
152
+ try:
153
+ yield
154
+ finally:
155
+ self._subprocess_runner = prev
156
+
157
+ def _supported_features(self):
158
+ """Return the list of optional features supported by the backend."""
159
+ return self._call_hook('_supported_features', {})
160
+
161
+ def get_requires_for_build_wheel(self, config_settings=None):
162
+ """Identify packages required for building a wheel
163
+
164
+ Returns a list of dependency specifications, e.g.::
165
+
166
+ ["wheel >= 0.25", "setuptools"]
167
+
168
+ This does not include requirements specified in pyproject.toml.
169
+ It returns the result of calling the equivalently named hook in a
170
+ subprocess.
171
+ """
172
+ return self._call_hook('get_requires_for_build_wheel', {
173
+ 'config_settings': config_settings
174
+ })
175
+
176
+ def prepare_metadata_for_build_wheel(
177
+ self, metadata_directory, config_settings=None,
178
+ _allow_fallback=True):
179
+ """Prepare a ``*.dist-info`` folder with metadata for this project.
180
+
181
+ Returns the name of the newly created folder.
182
+
183
+ If the build backend defines a hook with this name, it will be called
184
+ in a subprocess. If not, the backend will be asked to build a wheel,
185
+ and the dist-info extracted from that (unless _allow_fallback is
186
+ False).
187
+ """
188
+ return self._call_hook('prepare_metadata_for_build_wheel', {
189
+ 'metadata_directory': abspath(metadata_directory),
190
+ 'config_settings': config_settings,
191
+ '_allow_fallback': _allow_fallback,
192
+ })
193
+
194
+ def build_wheel(
195
+ self, wheel_directory, config_settings=None,
196
+ metadata_directory=None):
197
+ """Build a wheel from this project.
198
+
199
+ Returns the name of the newly created file.
200
+
201
+ In general, this will call the 'build_wheel' hook in the backend.
202
+ However, if that was previously called by
203
+ 'prepare_metadata_for_build_wheel', and the same metadata_directory is
204
+ used, the previously built wheel will be copied to wheel_directory.
205
+ """
206
+ if metadata_directory is not None:
207
+ metadata_directory = abspath(metadata_directory)
208
+ return self._call_hook('build_wheel', {
209
+ 'wheel_directory': abspath(wheel_directory),
210
+ 'config_settings': config_settings,
211
+ 'metadata_directory': metadata_directory,
212
+ })
213
+
214
+ def get_requires_for_build_editable(self, config_settings=None):
215
+ """Identify packages required for building an editable wheel
216
+
217
+ Returns a list of dependency specifications, e.g.::
218
+
219
+ ["wheel >= 0.25", "setuptools"]
220
+
221
+ This does not include requirements specified in pyproject.toml.
222
+ It returns the result of calling the equivalently named hook in a
223
+ subprocess.
224
+ """
225
+ return self._call_hook('get_requires_for_build_editable', {
226
+ 'config_settings': config_settings
227
+ })
228
+
229
+ def prepare_metadata_for_build_editable(
230
+ self, metadata_directory, config_settings=None,
231
+ _allow_fallback=True):
232
+ """Prepare a ``*.dist-info`` folder with metadata for this project.
233
+
234
+ Returns the name of the newly created folder.
235
+
236
+ If the build backend defines a hook with this name, it will be called
237
+ in a subprocess. If not, the backend will be asked to build an editable
238
+ wheel, and the dist-info extracted from that (unless _allow_fallback is
239
+ False).
240
+ """
241
+ return self._call_hook('prepare_metadata_for_build_editable', {
242
+ 'metadata_directory': abspath(metadata_directory),
243
+ 'config_settings': config_settings,
244
+ '_allow_fallback': _allow_fallback,
245
+ })
246
+
247
+ def build_editable(
248
+ self, wheel_directory, config_settings=None,
249
+ metadata_directory=None):
250
+ """Build an editable wheel from this project.
251
+
252
+ Returns the name of the newly created file.
253
+
254
+ In general, this will call the 'build_editable' hook in the backend.
255
+ However, if that was previously called by
256
+ 'prepare_metadata_for_build_editable', and the same metadata_directory
257
+ is used, the previously built wheel will be copied to wheel_directory.
258
+ """
259
+ if metadata_directory is not None:
260
+ metadata_directory = abspath(metadata_directory)
261
+ return self._call_hook('build_editable', {
262
+ 'wheel_directory': abspath(wheel_directory),
263
+ 'config_settings': config_settings,
264
+ 'metadata_directory': metadata_directory,
265
+ })
266
+
267
+ def get_requires_for_build_sdist(self, config_settings=None):
268
+ """Identify packages required for building a wheel
269
+
270
+ Returns a list of dependency specifications, e.g.::
271
+
272
+ ["setuptools >= 26"]
273
+
274
+ This does not include requirements specified in pyproject.toml.
275
+ It returns the result of calling the equivalently named hook in a
276
+ subprocess.
277
+ """
278
+ return self._call_hook('get_requires_for_build_sdist', {
279
+ 'config_settings': config_settings
280
+ })
281
+
282
+ def build_sdist(self, sdist_directory, config_settings=None):
283
+ """Build an sdist from this project.
284
+
285
+ Returns the name of the newly created file.
286
+
287
+ This calls the 'build_sdist' backend hook in a subprocess.
288
+ """
289
+ return self._call_hook('build_sdist', {
290
+ 'sdist_directory': abspath(sdist_directory),
291
+ 'config_settings': config_settings,
292
+ })
293
+
294
+ def _call_hook(self, hook_name, kwargs):
295
+ # On Python 2, pytoml returns Unicode values (which is correct) but the
296
+ # environment passed to check_call needs to contain string values. We
297
+ # convert here by encoding using ASCII (the backend can only contain
298
+ # letters, digits and _, . and : characters, and will be used as a
299
+ # Python identifier, so non-ASCII content is wrong on Python 2 in
300
+ # any case).
301
+ # For backend_path, we use sys.getfilesystemencoding.
302
+ if sys.version_info[0] == 2:
303
+ build_backend = self.build_backend.encode('ASCII')
304
+ else:
305
+ build_backend = self.build_backend
306
+ extra_environ = {'PEP517_BUILD_BACKEND': build_backend}
307
+
308
+ if self.backend_path:
309
+ backend_path = os.pathsep.join(self.backend_path)
310
+ if sys.version_info[0] == 2:
311
+ backend_path = backend_path.encode(sys.getfilesystemencoding())
312
+ extra_environ['PEP517_BACKEND_PATH'] = backend_path
313
+
314
+ with tempdir() as td:
315
+ hook_input = {'kwargs': kwargs}
316
+ compat.write_json(hook_input, pjoin(td, 'input.json'),
317
+ indent=2)
318
+
319
+ # Run the hook in a subprocess
320
+ with _in_proc_script_path() as script:
321
+ python = self.python_executable
322
+ self._subprocess_runner(
323
+ [python, abspath(str(script)), hook_name, td],
324
+ cwd=self.source_dir,
325
+ extra_environ=extra_environ
326
+ )
327
+
328
+ data = compat.read_json(pjoin(td, 'output.json'))
329
+ if data.get('unsupported'):
330
+ raise UnsupportedOperation(data.get('traceback', ''))
331
+ if data.get('no_backend'):
332
+ raise BackendUnavailable(data.get('traceback', ''))
333
+ if data.get('backend_invalid'):
334
+ raise BackendInvalid(
335
+ backend_name=self.build_backend,
336
+ backend_path=self.backend_path,
337
+ message=data.get('backend_error', '')
338
+ )
339
+ if data.get('hook_missing'):
340
+ raise HookMissing(data.get('missing_hook_name') or hook_name)
341
+ return data['return_val']
342
+
343
+
344
+ class LoggerWrapper(threading.Thread):
345
+ """
346
+ Read messages from a pipe and redirect them
347
+ to a logger (see python's logging module).
348
+ """
349
+
350
+ def __init__(self, logger, level):
351
+ threading.Thread.__init__(self)
352
+ self.daemon = True
353
+
354
+ self.logger = logger
355
+ self.level = level
356
+
357
+ # create the pipe and reader
358
+ self.fd_read, self.fd_write = os.pipe()
359
+ self.reader = os.fdopen(self.fd_read)
360
+
361
+ self.start()
362
+
363
+ def fileno(self):
364
+ return self.fd_write
365
+
366
+ @staticmethod
367
+ def remove_newline(msg):
368
+ return msg[:-1] if msg.endswith(os.linesep) else msg
369
+
370
+ def run(self):
371
+ for line in self.reader:
372
+ self._write(self.remove_newline(line))
373
+
374
+ def _write(self, message):
375
+ self.logger.log(self.level, message)
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (5.89 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-310.pyc ADDED
Binary file (7.33 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-310.pyc ADDED
Binary file (360 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-310.pyc ADDED
Binary file (498 Bytes). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_lru_cache.cpython-310.pyc ADDED
Binary file (1.58 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-310.pyc ADDED
Binary file (5.1 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-310.pyc ADDED
Binary file (1.52 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-310.pyc ADDED
Binary file (1.32 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-310.pyc ADDED
Binary file (6.02 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-310.pyc ADDED
Binary file (2.99 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/box.cpython-310.pyc ADDED
Binary file (7.76 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-310.pyc ADDED
Binary file (3.5 kB). View file
 
scripts/myenv/lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/console.cpython-310.pyc ADDED
Binary file (70.4 kB). View file