@agent-webui/ai-desk-python-win32-x64 1.0.29-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/package.json +20 -0
- package/python/DLLs/_asyncio.pdb +0 -0
- package/python/DLLs/_asyncio.pyd +0 -0
- package/python/DLLs/_bz2.pdb +0 -0
- package/python/DLLs/_bz2.pyd +0 -0
- package/python/DLLs/_ctypes.pdb +0 -0
- package/python/DLLs/_ctypes.pyd +0 -0
- package/python/DLLs/_ctypes_test.pdb +0 -0
- package/python/DLLs/_ctypes_test.pyd +0 -0
- package/python/DLLs/_decimal.pdb +0 -0
- package/python/DLLs/_decimal.pyd +0 -0
- package/python/DLLs/_elementtree.pdb +0 -0
- package/python/DLLs/_elementtree.pyd +0 -0
- package/python/DLLs/_hashlib.pdb +0 -0
- package/python/DLLs/_hashlib.pyd +0 -0
- package/python/DLLs/_lzma.pdb +0 -0
- package/python/DLLs/_lzma.pyd +0 -0
- package/python/DLLs/_multiprocessing.pdb +0 -0
- package/python/DLLs/_multiprocessing.pyd +0 -0
- package/python/DLLs/_overlapped.pdb +0 -0
- package/python/DLLs/_overlapped.pyd +0 -0
- package/python/DLLs/_queue.pdb +0 -0
- package/python/DLLs/_queue.pyd +0 -0
- package/python/DLLs/_socket.pdb +0 -0
- package/python/DLLs/_socket.pyd +0 -0
- package/python/DLLs/_sqlite3.pdb +0 -0
- package/python/DLLs/_sqlite3.pyd +0 -0
- package/python/DLLs/_ssl.pdb +0 -0
- package/python/DLLs/_ssl.pyd +0 -0
- package/python/DLLs/_testbuffer.pdb +0 -0
- package/python/DLLs/_testbuffer.pyd +0 -0
- package/python/DLLs/_testcapi.pdb +0 -0
- package/python/DLLs/_testcapi.pyd +0 -0
- package/python/DLLs/_testclinic.pdb +0 -0
- package/python/DLLs/_testclinic.pyd +0 -0
- package/python/DLLs/_testclinic_limited.pdb +0 -0
- package/python/DLLs/_testclinic_limited.pyd +0 -0
- package/python/DLLs/_testconsole.pdb +0 -0
- package/python/DLLs/_testconsole.pyd +0 -0
- package/python/DLLs/_testimportmultiple.pdb +0 -0
- package/python/DLLs/_testimportmultiple.pyd +0 -0
- package/python/DLLs/_testinternalcapi.pdb +0 -0
- package/python/DLLs/_testinternalcapi.pyd +0 -0
- package/python/DLLs/_testlimitedcapi.pdb +0 -0
- package/python/DLLs/_testlimitedcapi.pyd +0 -0
- package/python/DLLs/_testmultiphase.pdb +0 -0
- package/python/DLLs/_testmultiphase.pyd +0 -0
- package/python/DLLs/_testsinglephase.pdb +0 -0
- package/python/DLLs/_testsinglephase.pyd +0 -0
- package/python/DLLs/_tkinter.pdb +0 -0
- package/python/DLLs/_tkinter.pyd +0 -0
- package/python/DLLs/_uuid.pdb +0 -0
- package/python/DLLs/_uuid.pyd +0 -0
- package/python/DLLs/_wmi.pdb +0 -0
- package/python/DLLs/_wmi.pyd +0 -0
- package/python/DLLs/_zoneinfo.pdb +0 -0
- package/python/DLLs/_zoneinfo.pyd +0 -0
- package/python/DLLs/libcrypto-3-x64.dll +0 -0
- package/python/DLLs/libcrypto-3-x64.pdb +0 -0
- package/python/DLLs/libffi-8.dll +0 -0
- package/python/DLLs/libssl-3-x64.dll +0 -0
- package/python/DLLs/libssl-3-x64.pdb +0 -0
- package/python/DLLs/pyexpat.pdb +0 -0
- package/python/DLLs/pyexpat.pyd +0 -0
- package/python/DLLs/select.pdb +0 -0
- package/python/DLLs/select.pyd +0 -0
- package/python/DLLs/sqlite3.dll +0 -0
- package/python/DLLs/sqlite3.pdb +0 -0
- package/python/DLLs/tcl86t.dll +0 -0
- package/python/DLLs/tk86t.dll +0 -0
- package/python/DLLs/unicodedata.pdb +0 -0
- package/python/DLLs/unicodedata.pyd +0 -0
- package/python/DLLs/winsound.pdb +0 -0
- package/python/DLLs/winsound.pyd +0 -0
- package/python/LICENSE.txt +445 -0
- package/python/Lib/__future__.py +147 -0
- package/python/Lib/__hello__.py +16 -0
- package/python/Lib/__phello__/__init__.py +7 -0
- package/python/Lib/__phello__/ham/__init__.py +0 -0
- package/python/Lib/__phello__/ham/eggs.py +0 -0
- package/python/Lib/__phello__/spam.py +7 -0
- package/python/Lib/__pycache__/__future__.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/_colorize.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/_compat_pickle.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/_compression.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/_markupbase.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/_opcode_metadata.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/_weakrefset.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/ast.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/base64.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/bisect.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/bz2.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/calendar.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/colorsys.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/compileall.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/configparser.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/contextlib.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/copy.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/copyreg.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/csv.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/dataclasses.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/datetime.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/decimal.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/dis.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/enum.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/filecmp.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/fnmatch.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/fractions.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/functools.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/getpass.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/gettext.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/glob.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/gzip.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/hashlib.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/heapq.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/hmac.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/inspect.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/ipaddress.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/keyword.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/linecache.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/locale.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/lzma.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/mimetypes.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/nturl2path.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/numbers.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/opcode.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/operator.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/optparse.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/pickle.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/pkgutil.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/platform.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/py_compile.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/queue.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/quopri.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/random.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/reprlib.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/selectors.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/shlex.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/shutil.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/signal.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/socket.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/socketserver.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/ssl.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/string.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/stringprep.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/struct.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/subprocess.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/tarfile.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/tempfile.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/textwrap.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/threading.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/token.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/tokenize.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/traceback.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/types.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/typing.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/uuid.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/warnings.cpython-313.pyc +0 -0
- package/python/Lib/__pycache__/weakref.cpython-313.pyc +0 -0
- package/python/Lib/_aix_support.py +108 -0
- package/python/Lib/_android_support.py +192 -0
- package/python/Lib/_apple_support.py +66 -0
- package/python/Lib/_collections_abc.py +1182 -0
- package/python/Lib/_colorize.py +119 -0
- package/python/Lib/_compat_pickle.py +251 -0
- package/python/Lib/_compression.py +162 -0
- package/python/Lib/_ios_support.py +71 -0
- package/python/Lib/_markupbase.py +396 -0
- package/python/Lib/_opcode_metadata.py +343 -0
- package/python/Lib/_osx_support.py +579 -0
- package/python/Lib/_py_abc.py +147 -0
- package/python/Lib/_pydatetime.py +2639 -0
- package/python/Lib/_pydecimal.py +6351 -0
- package/python/Lib/_pyio.py +2704 -0
- package/python/Lib/_pylong.py +363 -0
- package/python/Lib/_pyrepl/__init__.py +19 -0
- package/python/Lib/_pyrepl/__main__.py +10 -0
- package/python/Lib/_pyrepl/_minimal_curses.py +68 -0
- package/python/Lib/_pyrepl/_threading_handler.py +74 -0
- package/python/Lib/_pyrepl/base_eventqueue.py +110 -0
- package/python/Lib/_pyrepl/commands.py +492 -0
- package/python/Lib/_pyrepl/completing_reader.py +295 -0
- package/python/Lib/_pyrepl/console.py +229 -0
- package/python/Lib/_pyrepl/curses.py +33 -0
- package/python/Lib/_pyrepl/fancy_termios.py +82 -0
- package/python/Lib/_pyrepl/historical_reader.py +419 -0
- package/python/Lib/_pyrepl/input.py +114 -0
- package/python/Lib/_pyrepl/keymap.py +213 -0
- package/python/Lib/_pyrepl/main.py +59 -0
- package/python/Lib/_pyrepl/mypy.ini +29 -0
- package/python/Lib/_pyrepl/pager.py +175 -0
- package/python/Lib/_pyrepl/reader.py +764 -0
- package/python/Lib/_pyrepl/readline.py +599 -0
- package/python/Lib/_pyrepl/simple_interact.py +180 -0
- package/python/Lib/_pyrepl/trace.py +21 -0
- package/python/Lib/_pyrepl/types.py +10 -0
- package/python/Lib/_pyrepl/unix_console.py +852 -0
- package/python/Lib/_pyrepl/unix_eventqueue.py +76 -0
- package/python/Lib/_pyrepl/utils.py +83 -0
- package/python/Lib/_pyrepl/windows_console.py +692 -0
- package/python/Lib/_pyrepl/windows_eventqueue.py +42 -0
- package/python/Lib/_sitebuiltins.py +91 -0
- package/python/Lib/_strptime.py +800 -0
- package/python/Lib/_threading_local.py +120 -0
- package/python/Lib/_weakrefset.py +205 -0
- package/python/Lib/abc.py +188 -0
- package/python/Lib/antigravity.py +17 -0
- package/python/Lib/argparse.py +2690 -0
- package/python/Lib/ast.py +1865 -0
- package/python/Lib/asyncio/__init__.py +47 -0
- package/python/Lib/asyncio/__main__.py +207 -0
- package/python/Lib/asyncio/base_events.py +2075 -0
- package/python/Lib/asyncio/base_futures.py +67 -0
- package/python/Lib/asyncio/base_subprocess.py +319 -0
- package/python/Lib/asyncio/base_tasks.py +94 -0
- package/python/Lib/asyncio/constants.py +41 -0
- package/python/Lib/asyncio/coroutines.py +109 -0
- package/python/Lib/asyncio/events.py +882 -0
- package/python/Lib/asyncio/exceptions.py +62 -0
- package/python/Lib/asyncio/format_helpers.py +84 -0
- package/python/Lib/asyncio/futures.py +425 -0
- package/python/Lib/asyncio/locks.py +617 -0
- package/python/Lib/asyncio/log.py +7 -0
- package/python/Lib/asyncio/mixins.py +21 -0
- package/python/Lib/asyncio/proactor_events.py +896 -0
- package/python/Lib/asyncio/protocols.py +216 -0
- package/python/Lib/asyncio/queues.py +307 -0
- package/python/Lib/asyncio/runners.py +216 -0
- package/python/Lib/asyncio/selector_events.py +1326 -0
- package/python/Lib/asyncio/sslproto.py +929 -0
- package/python/Lib/asyncio/staggered.py +174 -0
- package/python/Lib/asyncio/streams.py +787 -0
- package/python/Lib/asyncio/subprocess.py +229 -0
- package/python/Lib/asyncio/taskgroups.py +278 -0
- package/python/Lib/asyncio/tasks.py +1118 -0
- package/python/Lib/asyncio/threads.py +25 -0
- package/python/Lib/asyncio/timeouts.py +184 -0
- package/python/Lib/asyncio/transports.py +337 -0
- package/python/Lib/asyncio/trsock.py +98 -0
- package/python/Lib/asyncio/unix_events.py +1536 -0
- package/python/Lib/asyncio/windows_events.py +903 -0
- package/python/Lib/asyncio/windows_utils.py +173 -0
- package/python/Lib/base64.py +621 -0
- package/python/Lib/bdb.py +973 -0
- package/python/Lib/bisect.py +118 -0
- package/python/Lib/bz2.py +352 -0
- package/python/Lib/cProfile.py +197 -0
- package/python/Lib/calendar.py +813 -0
- package/python/Lib/cmd.py +409 -0
- package/python/Lib/code.py +386 -0
- package/python/Lib/codecs.py +1132 -0
- package/python/Lib/codeop.py +155 -0
- package/python/Lib/collections/__init__.py +1600 -0
- package/python/Lib/collections/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/colorsys.py +166 -0
- package/python/Lib/compileall.py +470 -0
- package/python/Lib/concurrent/__init__.py +1 -0
- package/python/Lib/concurrent/futures/__init__.py +54 -0
- package/python/Lib/concurrent/futures/_base.py +654 -0
- package/python/Lib/concurrent/futures/process.py +862 -0
- package/python/Lib/concurrent/futures/thread.py +240 -0
- package/python/Lib/configparser.py +1387 -0
- package/python/Lib/contextlib.py +814 -0
- package/python/Lib/contextvars.py +4 -0
- package/python/Lib/copy.py +306 -0
- package/python/Lib/copyreg.py +217 -0
- package/python/Lib/csv.py +513 -0
- package/python/Lib/ctypes/__init__.py +600 -0
- package/python/Lib/ctypes/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/ctypes/__pycache__/_endian.cpython-313.pyc +0 -0
- package/python/Lib/ctypes/__pycache__/wintypes.cpython-313.pyc +0 -0
- package/python/Lib/ctypes/_aix.py +327 -0
- package/python/Lib/ctypes/_endian.py +78 -0
- package/python/Lib/ctypes/macholib/README.ctypes +7 -0
- package/python/Lib/ctypes/macholib/__init__.py +9 -0
- package/python/Lib/ctypes/macholib/dyld.py +165 -0
- package/python/Lib/ctypes/macholib/dylib.py +42 -0
- package/python/Lib/ctypes/macholib/fetch_macholib +2 -0
- package/python/Lib/ctypes/macholib/fetch_macholib.bat +1 -0
- package/python/Lib/ctypes/macholib/framework.py +42 -0
- package/python/Lib/ctypes/util.py +388 -0
- package/python/Lib/ctypes/wintypes.py +202 -0
- package/python/Lib/curses/__init__.py +101 -0
- package/python/Lib/curses/ascii.py +99 -0
- package/python/Lib/curses/has_key.py +192 -0
- package/python/Lib/curses/panel.py +6 -0
- package/python/Lib/curses/textpad.py +204 -0
- package/python/Lib/dataclasses.py +1630 -0
- package/python/Lib/datetime.py +9 -0
- package/python/Lib/dbm/__init__.py +194 -0
- package/python/Lib/dbm/dumb.py +319 -0
- package/python/Lib/dbm/gnu.py +3 -0
- package/python/Lib/dbm/ndbm.py +3 -0
- package/python/Lib/dbm/sqlite3.py +144 -0
- package/python/Lib/decimal.py +109 -0
- package/python/Lib/difflib.py +2056 -0
- package/python/Lib/dis.py +1075 -0
- package/python/Lib/doctest.py +2919 -0
- package/python/Lib/email/__init__.py +61 -0
- package/python/Lib/email/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/_encoded_words.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/_parseaddr.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/_policybase.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/base64mime.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/charset.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/encoders.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/errors.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/feedparser.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/header.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/iterators.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/message.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/parser.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/quoprimime.cpython-313.pyc +0 -0
- package/python/Lib/email/__pycache__/utils.cpython-313.pyc +0 -0
- package/python/Lib/email/_encoded_words.py +233 -0
- package/python/Lib/email/_header_value_parser.py +3145 -0
- package/python/Lib/email/_parseaddr.py +563 -0
- package/python/Lib/email/_policybase.py +382 -0
- package/python/Lib/email/architecture.rst +216 -0
- package/python/Lib/email/base64mime.py +115 -0
- package/python/Lib/email/charset.py +398 -0
- package/python/Lib/email/contentmanager.py +253 -0
- package/python/Lib/email/encoders.py +65 -0
- package/python/Lib/email/errors.py +117 -0
- package/python/Lib/email/feedparser.py +536 -0
- package/python/Lib/email/generator.py +530 -0
- package/python/Lib/email/header.py +582 -0
- package/python/Lib/email/headerregistry.py +618 -0
- package/python/Lib/email/iterators.py +68 -0
- package/python/Lib/email/message.py +1217 -0
- package/python/Lib/email/mime/__init__.py +0 -0
- package/python/Lib/email/mime/application.py +37 -0
- package/python/Lib/email/mime/audio.py +97 -0
- package/python/Lib/email/mime/base.py +29 -0
- package/python/Lib/email/mime/image.py +152 -0
- package/python/Lib/email/mime/message.py +33 -0
- package/python/Lib/email/mime/multipart.py +47 -0
- package/python/Lib/email/mime/nonmultipart.py +21 -0
- package/python/Lib/email/mime/text.py +40 -0
- package/python/Lib/email/parser.py +127 -0
- package/python/Lib/email/policy.py +232 -0
- package/python/Lib/email/quoprimime.py +300 -0
- package/python/Lib/email/utils.py +494 -0
- package/python/Lib/encodings/__init__.py +174 -0
- package/python/Lib/encodings/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/encodings/__pycache__/aliases.cpython-313.pyc +0 -0
- package/python/Lib/encodings/__pycache__/cp1252.cpython-313.pyc +0 -0
- package/python/Lib/encodings/__pycache__/cp437.cpython-313.pyc +0 -0
- package/python/Lib/encodings/__pycache__/hex_codec.cpython-313.pyc +0 -0
- package/python/Lib/encodings/__pycache__/idna.cpython-313.pyc +0 -0
- package/python/Lib/encodings/__pycache__/utf_8.cpython-313.pyc +0 -0
- package/python/Lib/encodings/aliases.py +552 -0
- package/python/Lib/encodings/ascii.py +50 -0
- package/python/Lib/encodings/base64_codec.py +55 -0
- package/python/Lib/encodings/big5.py +39 -0
- package/python/Lib/encodings/big5hkscs.py +39 -0
- package/python/Lib/encodings/bz2_codec.py +78 -0
- package/python/Lib/encodings/charmap.py +69 -0
- package/python/Lib/encodings/cp037.py +307 -0
- package/python/Lib/encodings/cp1006.py +307 -0
- package/python/Lib/encodings/cp1026.py +307 -0
- package/python/Lib/encodings/cp1125.py +698 -0
- package/python/Lib/encodings/cp1140.py +307 -0
- package/python/Lib/encodings/cp1250.py +307 -0
- package/python/Lib/encodings/cp1251.py +307 -0
- package/python/Lib/encodings/cp1252.py +307 -0
- package/python/Lib/encodings/cp1253.py +307 -0
- package/python/Lib/encodings/cp1254.py +307 -0
- package/python/Lib/encodings/cp1255.py +307 -0
- package/python/Lib/encodings/cp1256.py +307 -0
- package/python/Lib/encodings/cp1257.py +307 -0
- package/python/Lib/encodings/cp1258.py +307 -0
- package/python/Lib/encodings/cp273.py +307 -0
- package/python/Lib/encodings/cp424.py +307 -0
- package/python/Lib/encodings/cp437.py +698 -0
- package/python/Lib/encodings/cp500.py +307 -0
- package/python/Lib/encodings/cp720.py +309 -0
- package/python/Lib/encodings/cp737.py +698 -0
- package/python/Lib/encodings/cp775.py +697 -0
- package/python/Lib/encodings/cp850.py +698 -0
- package/python/Lib/encodings/cp852.py +698 -0
- package/python/Lib/encodings/cp855.py +698 -0
- package/python/Lib/encodings/cp856.py +307 -0
- package/python/Lib/encodings/cp857.py +694 -0
- package/python/Lib/encodings/cp858.py +698 -0
- package/python/Lib/encodings/cp860.py +698 -0
- package/python/Lib/encodings/cp861.py +698 -0
- package/python/Lib/encodings/cp862.py +698 -0
- package/python/Lib/encodings/cp863.py +698 -0
- package/python/Lib/encodings/cp864.py +690 -0
- package/python/Lib/encodings/cp865.py +698 -0
- package/python/Lib/encodings/cp866.py +698 -0
- package/python/Lib/encodings/cp869.py +689 -0
- package/python/Lib/encodings/cp874.py +307 -0
- package/python/Lib/encodings/cp875.py +307 -0
- package/python/Lib/encodings/cp932.py +39 -0
- package/python/Lib/encodings/cp949.py +39 -0
- package/python/Lib/encodings/cp950.py +39 -0
- package/python/Lib/encodings/euc_jis_2004.py +39 -0
- package/python/Lib/encodings/euc_jisx0213.py +39 -0
- package/python/Lib/encodings/euc_jp.py +39 -0
- package/python/Lib/encodings/euc_kr.py +39 -0
- package/python/Lib/encodings/gb18030.py +39 -0
- package/python/Lib/encodings/gb2312.py +39 -0
- package/python/Lib/encodings/gbk.py +39 -0
- package/python/Lib/encodings/hex_codec.py +55 -0
- package/python/Lib/encodings/hp_roman8.py +314 -0
- package/python/Lib/encodings/hz.py +39 -0
- package/python/Lib/encodings/idna.py +387 -0
- package/python/Lib/encodings/iso2022_jp.py +39 -0
- package/python/Lib/encodings/iso2022_jp_1.py +39 -0
- package/python/Lib/encodings/iso2022_jp_2.py +39 -0
- package/python/Lib/encodings/iso2022_jp_2004.py +39 -0
- package/python/Lib/encodings/iso2022_jp_3.py +39 -0
- package/python/Lib/encodings/iso2022_jp_ext.py +39 -0
- package/python/Lib/encodings/iso2022_kr.py +39 -0
- package/python/Lib/encodings/iso8859_1.py +307 -0
- package/python/Lib/encodings/iso8859_10.py +307 -0
- package/python/Lib/encodings/iso8859_11.py +307 -0
- package/python/Lib/encodings/iso8859_13.py +307 -0
- package/python/Lib/encodings/iso8859_14.py +307 -0
- package/python/Lib/encodings/iso8859_15.py +307 -0
- package/python/Lib/encodings/iso8859_16.py +307 -0
- package/python/Lib/encodings/iso8859_2.py +307 -0
- package/python/Lib/encodings/iso8859_3.py +307 -0
- package/python/Lib/encodings/iso8859_4.py +307 -0
- package/python/Lib/encodings/iso8859_5.py +307 -0
- package/python/Lib/encodings/iso8859_6.py +307 -0
- package/python/Lib/encodings/iso8859_7.py +307 -0
- package/python/Lib/encodings/iso8859_8.py +307 -0
- package/python/Lib/encodings/iso8859_9.py +307 -0
- package/python/Lib/encodings/johab.py +39 -0
- package/python/Lib/encodings/koi8_r.py +307 -0
- package/python/Lib/encodings/koi8_t.py +308 -0
- package/python/Lib/encodings/koi8_u.py +307 -0
- package/python/Lib/encodings/kz1048.py +307 -0
- package/python/Lib/encodings/latin_1.py +50 -0
- package/python/Lib/encodings/mac_arabic.py +698 -0
- package/python/Lib/encodings/mac_croatian.py +307 -0
- package/python/Lib/encodings/mac_cyrillic.py +307 -0
- package/python/Lib/encodings/mac_farsi.py +307 -0
- package/python/Lib/encodings/mac_greek.py +307 -0
- package/python/Lib/encodings/mac_iceland.py +307 -0
- package/python/Lib/encodings/mac_latin2.py +312 -0
- package/python/Lib/encodings/mac_roman.py +307 -0
- package/python/Lib/encodings/mac_romanian.py +307 -0
- package/python/Lib/encodings/mac_turkish.py +307 -0
- package/python/Lib/encodings/mbcs.py +47 -0
- package/python/Lib/encodings/oem.py +41 -0
- package/python/Lib/encodings/palmos.py +308 -0
- package/python/Lib/encodings/ptcp154.py +312 -0
- package/python/Lib/encodings/punycode.py +253 -0
- package/python/Lib/encodings/quopri_codec.py +56 -0
- package/python/Lib/encodings/raw_unicode_escape.py +46 -0
- package/python/Lib/encodings/rot_13.py +113 -0
- package/python/Lib/encodings/shift_jis.py +39 -0
- package/python/Lib/encodings/shift_jis_2004.py +39 -0
- package/python/Lib/encodings/shift_jisx0213.py +39 -0
- package/python/Lib/encodings/tis_620.py +307 -0
- package/python/Lib/encodings/undefined.py +49 -0
- package/python/Lib/encodings/unicode_escape.py +46 -0
- package/python/Lib/encodings/utf_16.py +155 -0
- package/python/Lib/encodings/utf_16_be.py +42 -0
- package/python/Lib/encodings/utf_16_le.py +42 -0
- package/python/Lib/encodings/utf_32.py +150 -0
- package/python/Lib/encodings/utf_32_be.py +37 -0
- package/python/Lib/encodings/utf_32_le.py +37 -0
- package/python/Lib/encodings/utf_7.py +38 -0
- package/python/Lib/encodings/utf_8.py +42 -0
- package/python/Lib/encodings/utf_8_sig.py +130 -0
- package/python/Lib/encodings/uu_codec.py +103 -0
- package/python/Lib/encodings/zlib_codec.py +77 -0
- package/python/Lib/ensurepip/__init__.py +264 -0
- package/python/Lib/ensurepip/__main__.py +5 -0
- package/python/Lib/ensurepip/_bundled/pip-25.3-py3-none-any.whl +0 -0
- package/python/Lib/ensurepip/_uninstall.py +31 -0
- package/python/Lib/enum.py +2182 -0
- package/python/Lib/filecmp.py +320 -0
- package/python/Lib/fileinput.py +442 -0
- package/python/Lib/fnmatch.py +192 -0
- package/python/Lib/fractions.py +1043 -0
- package/python/Lib/ftplib.py +966 -0
- package/python/Lib/functools.py +1036 -0
- package/python/Lib/genericpath.py +200 -0
- package/python/Lib/getopt.py +215 -0
- package/python/Lib/getpass.py +192 -0
- package/python/Lib/gettext.py +657 -0
- package/python/Lib/glob.py +551 -0
- package/python/Lib/graphlib.py +250 -0
- package/python/Lib/gzip.py +691 -0
- package/python/Lib/hashlib.py +255 -0
- package/python/Lib/heapq.py +603 -0
- package/python/Lib/hmac.py +220 -0
- package/python/Lib/html/__init__.py +132 -0
- package/python/Lib/html/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/html/__pycache__/entities.cpython-313.pyc +0 -0
- package/python/Lib/html/__pycache__/parser.cpython-313.pyc +0 -0
- package/python/Lib/html/entities.py +2513 -0
- package/python/Lib/html/parser.py +553 -0
- package/python/Lib/http/__init__.py +202 -0
- package/python/Lib/http/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/http/__pycache__/client.cpython-313.pyc +0 -0
- package/python/Lib/http/__pycache__/cookiejar.cpython-313.pyc +0 -0
- package/python/Lib/http/__pycache__/cookies.cpython-313.pyc +0 -0
- package/python/Lib/http/client.py +1570 -0
- package/python/Lib/http/cookiejar.py +2122 -0
- package/python/Lib/http/cookies.py +615 -0
- package/python/Lib/http/server.py +1351 -0
- package/python/Lib/idlelib/CREDITS.txt +48 -0
- package/python/Lib/idlelib/ChangeLog +1591 -0
- package/python/Lib/idlelib/HISTORY.txt +296 -0
- package/python/Lib/idlelib/Icons/README.txt +51 -0
- package/python/Lib/idlelib/Icons/folder.gif +0 -0
- package/python/Lib/idlelib/Icons/idle.ico +0 -0
- package/python/Lib/idlelib/Icons/idle_16.gif +0 -0
- package/python/Lib/idlelib/Icons/idle_16.png +0 -0
- package/python/Lib/idlelib/Icons/idle_256.png +0 -0
- package/python/Lib/idlelib/Icons/idle_32.gif +0 -0
- package/python/Lib/idlelib/Icons/idle_32.png +0 -0
- package/python/Lib/idlelib/Icons/idle_48.gif +0 -0
- package/python/Lib/idlelib/Icons/idle_48.png +0 -0
- package/python/Lib/idlelib/Icons/minusnode.gif +0 -0
- package/python/Lib/idlelib/Icons/openfolder.gif +0 -0
- package/python/Lib/idlelib/Icons/plusnode.gif +0 -0
- package/python/Lib/idlelib/Icons/python.gif +0 -0
- package/python/Lib/idlelib/Icons/tk.gif +0 -0
- package/python/Lib/idlelib/NEWS2x.txt +660 -0
- package/python/Lib/idlelib/News3.txt +1407 -0
- package/python/Lib/idlelib/README.txt +290 -0
- package/python/Lib/idlelib/TODO.txt +210 -0
- package/python/Lib/idlelib/__init__.py +10 -0
- package/python/Lib/idlelib/__main__.py +7 -0
- package/python/Lib/idlelib/autocomplete.py +228 -0
- package/python/Lib/idlelib/autocomplete_w.py +498 -0
- package/python/Lib/idlelib/autoexpand.py +96 -0
- package/python/Lib/idlelib/browser.py +260 -0
- package/python/Lib/idlelib/calltip.py +205 -0
- package/python/Lib/idlelib/calltip_w.py +202 -0
- package/python/Lib/idlelib/codecontext.py +270 -0
- package/python/Lib/idlelib/colorizer.py +384 -0
- package/python/Lib/idlelib/config-extensions.def +62 -0
- package/python/Lib/idlelib/config-highlight.def +105 -0
- package/python/Lib/idlelib/config-keys.def +309 -0
- package/python/Lib/idlelib/config-main.def +92 -0
- package/python/Lib/idlelib/config.py +917 -0
- package/python/Lib/idlelib/config_key.py +354 -0
- package/python/Lib/idlelib/configdialog.py +2408 -0
- package/python/Lib/idlelib/debugger.py +602 -0
- package/python/Lib/idlelib/debugger_r.py +390 -0
- package/python/Lib/idlelib/debugobj.py +146 -0
- package/python/Lib/idlelib/debugobj_r.py +41 -0
- package/python/Lib/idlelib/delegator.py +34 -0
- package/python/Lib/idlelib/dynoption.py +57 -0
- package/python/Lib/idlelib/editor.py +1721 -0
- package/python/Lib/idlelib/extend.txt +83 -0
- package/python/Lib/idlelib/filelist.py +132 -0
- package/python/Lib/idlelib/format.py +426 -0
- package/python/Lib/idlelib/grep.py +223 -0
- package/python/Lib/idlelib/help.html +865 -0
- package/python/Lib/idlelib/help.py +343 -0
- package/python/Lib/idlelib/help_about.py +211 -0
- package/python/Lib/idlelib/history.py +106 -0
- package/python/Lib/idlelib/hyperparser.py +312 -0
- package/python/Lib/idlelib/idle.bat +4 -0
- package/python/Lib/idlelib/idle.py +14 -0
- package/python/Lib/idlelib/idle.pyw +17 -0
- package/python/Lib/idlelib/iomenu.py +441 -0
- package/python/Lib/idlelib/macosx.py +278 -0
- package/python/Lib/idlelib/mainmenu.py +126 -0
- package/python/Lib/idlelib/multicall.py +451 -0
- package/python/Lib/idlelib/outwin.py +188 -0
- package/python/Lib/idlelib/parenmatch.py +183 -0
- package/python/Lib/idlelib/pathbrowser.py +107 -0
- package/python/Lib/idlelib/percolator.py +120 -0
- package/python/Lib/idlelib/pyparse.py +589 -0
- package/python/Lib/idlelib/pyshell.py +1699 -0
- package/python/Lib/idlelib/query.py +390 -0
- package/python/Lib/idlelib/redirector.py +174 -0
- package/python/Lib/idlelib/replace.py +299 -0
- package/python/Lib/idlelib/rpc.py +635 -0
- package/python/Lib/idlelib/run.py +653 -0
- package/python/Lib/idlelib/runscript.py +213 -0
- package/python/Lib/idlelib/scrolledlist.py +151 -0
- package/python/Lib/idlelib/search.py +165 -0
- package/python/Lib/idlelib/searchbase.py +210 -0
- package/python/Lib/idlelib/searchengine.py +234 -0
- package/python/Lib/idlelib/sidebar.py +543 -0
- package/python/Lib/idlelib/squeezer.py +345 -0
- package/python/Lib/idlelib/stackviewer.py +134 -0
- package/python/Lib/idlelib/statusbar.py +52 -0
- package/python/Lib/idlelib/textview.py +193 -0
- package/python/Lib/idlelib/tooltip.py +190 -0
- package/python/Lib/idlelib/tree.py +509 -0
- package/python/Lib/idlelib/undo.py +367 -0
- package/python/Lib/idlelib/util.py +37 -0
- package/python/Lib/idlelib/window.py +98 -0
- package/python/Lib/idlelib/zoomheight.py +124 -0
- package/python/Lib/idlelib/zzdummy.py +73 -0
- package/python/Lib/imaplib.py +1651 -0
- package/python/Lib/importlib/__init__.py +136 -0
- package/python/Lib/importlib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/importlib/__pycache__/_abc.cpython-313.pyc +0 -0
- package/python/Lib/importlib/__pycache__/abc.cpython-313.pyc +0 -0
- package/python/Lib/importlib/__pycache__/readers.cpython-313.pyc +0 -0
- package/python/Lib/importlib/_abc.py +39 -0
- package/python/Lib/importlib/_bootstrap.py +1551 -0
- package/python/Lib/importlib/_bootstrap_external.py +1826 -0
- package/python/Lib/importlib/abc.py +243 -0
- package/python/Lib/importlib/machinery.py +21 -0
- package/python/Lib/importlib/metadata/__init__.py +1093 -0
- package/python/Lib/importlib/metadata/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/importlib/metadata/__pycache__/_adapters.cpython-313.pyc +0 -0
- package/python/Lib/importlib/metadata/__pycache__/_collections.cpython-313.pyc +0 -0
- package/python/Lib/importlib/metadata/__pycache__/_functools.cpython-313.pyc +0 -0
- package/python/Lib/importlib/metadata/__pycache__/_itertools.cpython-313.pyc +0 -0
- package/python/Lib/importlib/metadata/__pycache__/_meta.cpython-313.pyc +0 -0
- package/python/Lib/importlib/metadata/__pycache__/_text.cpython-313.pyc +0 -0
- package/python/Lib/importlib/metadata/_adapters.py +89 -0
- package/python/Lib/importlib/metadata/_collections.py +30 -0
- package/python/Lib/importlib/metadata/_functools.py +104 -0
- package/python/Lib/importlib/metadata/_itertools.py +73 -0
- package/python/Lib/importlib/metadata/_meta.py +67 -0
- package/python/Lib/importlib/metadata/_text.py +99 -0
- package/python/Lib/importlib/metadata/diagnose.py +21 -0
- package/python/Lib/importlib/readers.py +12 -0
- package/python/Lib/importlib/resources/__init__.py +43 -0
- package/python/Lib/importlib/resources/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/importlib/resources/__pycache__/_adapters.cpython-313.pyc +0 -0
- package/python/Lib/importlib/resources/__pycache__/_common.cpython-313.pyc +0 -0
- package/python/Lib/importlib/resources/__pycache__/_functional.cpython-313.pyc +0 -0
- package/python/Lib/importlib/resources/__pycache__/_itertools.cpython-313.pyc +0 -0
- package/python/Lib/importlib/resources/__pycache__/abc.cpython-313.pyc +0 -0
- package/python/Lib/importlib/resources/__pycache__/readers.cpython-313.pyc +0 -0
- package/python/Lib/importlib/resources/_adapters.py +168 -0
- package/python/Lib/importlib/resources/_common.py +211 -0
- package/python/Lib/importlib/resources/_functional.py +81 -0
- package/python/Lib/importlib/resources/_itertools.py +38 -0
- package/python/Lib/importlib/resources/abc.py +173 -0
- package/python/Lib/importlib/resources/readers.py +203 -0
- package/python/Lib/importlib/resources/simple.py +106 -0
- package/python/Lib/importlib/simple.py +14 -0
- package/python/Lib/importlib/util.py +274 -0
- package/python/Lib/inspect.py +3471 -0
- package/python/Lib/io.py +99 -0
- package/python/Lib/ipaddress.py +2440 -0
- package/python/Lib/json/__init__.py +365 -0
- package/python/Lib/json/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/json/__pycache__/decoder.cpython-313.pyc +0 -0
- package/python/Lib/json/__pycache__/encoder.cpython-313.pyc +0 -0
- package/python/Lib/json/__pycache__/scanner.cpython-313.pyc +0 -0
- package/python/Lib/json/decoder.py +364 -0
- package/python/Lib/json/encoder.py +446 -0
- package/python/Lib/json/scanner.py +73 -0
- package/python/Lib/json/tool.py +89 -0
- package/python/Lib/keyword.py +64 -0
- package/python/Lib/linecache.py +236 -0
- package/python/Lib/locale.py +1778 -0
- package/python/Lib/logging/__init__.py +2326 -0
- package/python/Lib/logging/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/logging/__pycache__/config.cpython-313.pyc +0 -0
- package/python/Lib/logging/__pycache__/handlers.cpython-313.pyc +0 -0
- package/python/Lib/logging/config.py +1065 -0
- package/python/Lib/logging/handlers.py +1629 -0
- package/python/Lib/lzma.py +364 -0
- package/python/Lib/mailbox.py +2219 -0
- package/python/Lib/mimetypes.py +679 -0
- package/python/Lib/modulefinder.py +671 -0
- package/python/Lib/multiprocessing/__init__.py +37 -0
- package/python/Lib/multiprocessing/connection.py +1190 -0
- package/python/Lib/multiprocessing/context.py +377 -0
- package/python/Lib/multiprocessing/dummy/__init__.py +126 -0
- package/python/Lib/multiprocessing/dummy/connection.py +75 -0
- package/python/Lib/multiprocessing/forkserver.py +364 -0
- package/python/Lib/multiprocessing/heap.py +337 -0
- package/python/Lib/multiprocessing/managers.py +1397 -0
- package/python/Lib/multiprocessing/pool.py +957 -0
- package/python/Lib/multiprocessing/popen_fork.py +87 -0
- package/python/Lib/multiprocessing/popen_forkserver.py +74 -0
- package/python/Lib/multiprocessing/popen_spawn_posix.py +76 -0
- package/python/Lib/multiprocessing/popen_spawn_win32.py +147 -0
- package/python/Lib/multiprocessing/process.py +436 -0
- package/python/Lib/multiprocessing/queues.py +399 -0
- package/python/Lib/multiprocessing/reduction.py +281 -0
- package/python/Lib/multiprocessing/resource_sharer.py +154 -0
- package/python/Lib/multiprocessing/resource_tracker.py +420 -0
- package/python/Lib/multiprocessing/shared_memory.py +544 -0
- package/python/Lib/multiprocessing/sharedctypes.py +240 -0
- package/python/Lib/multiprocessing/spawn.py +307 -0
- package/python/Lib/multiprocessing/synchronize.py +404 -0
- package/python/Lib/multiprocessing/util.py +562 -0
- package/python/Lib/netrc.py +199 -0
- package/python/Lib/ntpath.py +870 -0
- package/python/Lib/nturl2path.py +69 -0
- package/python/Lib/numbers.py +427 -0
- package/python/Lib/opcode.py +115 -0
- package/python/Lib/operator.py +467 -0
- package/python/Lib/optparse.py +1681 -0
- package/python/Lib/os.py +1184 -0
- package/python/Lib/pathlib/__init__.py +12 -0
- package/python/Lib/pathlib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/pathlib/__pycache__/_abc.cpython-313.pyc +0 -0
- package/python/Lib/pathlib/__pycache__/_local.cpython-313.pyc +0 -0
- package/python/Lib/pathlib/_abc.py +930 -0
- package/python/Lib/pathlib/_local.py +861 -0
- package/python/Lib/pdb.py +2550 -0
- package/python/Lib/pickle.py +1866 -0
- package/python/Lib/pickletools.py +2904 -0
- package/python/Lib/pkgutil.py +529 -0
- package/python/Lib/platform.py +1454 -0
- package/python/Lib/plistlib.py +948 -0
- package/python/Lib/poplib.py +477 -0
- package/python/Lib/posixpath.py +578 -0
- package/python/Lib/pprint.py +658 -0
- package/python/Lib/profile.py +616 -0
- package/python/Lib/pstats.py +778 -0
- package/python/Lib/pty.py +211 -0
- package/python/Lib/py_compile.py +212 -0
- package/python/Lib/pyclbr.py +314 -0
- package/python/Lib/pydoc.py +2859 -0
- package/python/Lib/pydoc_data/__init__.py +0 -0
- package/python/Lib/pydoc_data/_pydoc.css +112 -0
- package/python/Lib/pydoc_data/module_docs.py +314 -0
- package/python/Lib/pydoc_data/topics.py +13000 -0
- package/python/Lib/queue.py +383 -0
- package/python/Lib/quopri.py +237 -0
- package/python/Lib/random.py +1070 -0
- package/python/Lib/re/__init__.py +428 -0
- package/python/Lib/re/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/re/__pycache__/_casefix.cpython-313.pyc +0 -0
- package/python/Lib/re/__pycache__/_compiler.cpython-313.pyc +0 -0
- package/python/Lib/re/__pycache__/_constants.cpython-313.pyc +0 -0
- package/python/Lib/re/__pycache__/_parser.cpython-313.pyc +0 -0
- package/python/Lib/re/_casefix.py +106 -0
- package/python/Lib/re/_compiler.py +768 -0
- package/python/Lib/re/_constants.py +222 -0
- package/python/Lib/re/_parser.py +1081 -0
- package/python/Lib/reprlib.py +230 -0
- package/python/Lib/rlcompleter.py +221 -0
- package/python/Lib/runpy.py +319 -0
- package/python/Lib/sched.py +167 -0
- package/python/Lib/secrets.py +71 -0
- package/python/Lib/selectors.py +603 -0
- package/python/Lib/shelve.py +250 -0
- package/python/Lib/shlex.py +345 -0
- package/python/Lib/shutil.py +1583 -0
- package/python/Lib/signal.py +94 -0
- package/python/Lib/site-packages/README.txt +2 -0
- package/python/Lib/site-packages/pip/__init__.py +13 -0
- package/python/Lib/site-packages/pip/__main__.py +24 -0
- package/python/Lib/site-packages/pip/__pip-runner__.py +50 -0
- package/python/Lib/site-packages/pip/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/__pycache__/__main__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__init__.py +18 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/main.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/build_env.py +606 -0
- package/python/Lib/site-packages/pip/_internal/cache.py +291 -0
- package/python/Lib/site-packages/pip/_internal/cli/__init__.py +3 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/cli/autocompletion.py +184 -0
- package/python/Lib/site-packages/pip/_internal/cli/base_command.py +255 -0
- package/python/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1267 -0
- package/python/Lib/site-packages/pip/_internal/cli/command_context.py +28 -0
- package/python/Lib/site-packages/pip/_internal/cli/index_command.py +195 -0
- package/python/Lib/site-packages/pip/_internal/cli/main.py +85 -0
- package/python/Lib/site-packages/pip/_internal/cli/main_parser.py +136 -0
- package/python/Lib/site-packages/pip/_internal/cli/parser.py +358 -0
- package/python/Lib/site-packages/pip/_internal/cli/progress_bars.py +153 -0
- package/python/Lib/site-packages/pip/_internal/cli/req_command.py +447 -0
- package/python/Lib/site-packages/pip/_internal/cli/spinners.py +235 -0
- package/python/Lib/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/python/Lib/site-packages/pip/_internal/commands/__init__.py +139 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/commands/cache.py +255 -0
- package/python/Lib/site-packages/pip/_internal/commands/check.py +66 -0
- package/python/Lib/site-packages/pip/_internal/commands/completion.py +136 -0
- package/python/Lib/site-packages/pip/_internal/commands/configuration.py +288 -0
- package/python/Lib/site-packages/pip/_internal/commands/debug.py +203 -0
- package/python/Lib/site-packages/pip/_internal/commands/download.py +146 -0
- package/python/Lib/site-packages/pip/_internal/commands/freeze.py +107 -0
- package/python/Lib/site-packages/pip/_internal/commands/hash.py +58 -0
- package/python/Lib/site-packages/pip/_internal/commands/help.py +40 -0
- package/python/Lib/site-packages/pip/_internal/commands/index.py +166 -0
- package/python/Lib/site-packages/pip/_internal/commands/inspect.py +92 -0
- package/python/Lib/site-packages/pip/_internal/commands/install.py +810 -0
- package/python/Lib/site-packages/pip/_internal/commands/list.py +398 -0
- package/python/Lib/site-packages/pip/_internal/commands/lock.py +175 -0
- package/python/Lib/site-packages/pip/_internal/commands/search.py +178 -0
- package/python/Lib/site-packages/pip/_internal/commands/show.py +231 -0
- package/python/Lib/site-packages/pip/_internal/commands/uninstall.py +113 -0
- package/python/Lib/site-packages/pip/_internal/commands/wheel.py +171 -0
- package/python/Lib/site-packages/pip/_internal/configuration.py +396 -0
- package/python/Lib/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/distributions/base.py +55 -0
- package/python/Lib/site-packages/pip/_internal/distributions/installed.py +33 -0
- package/python/Lib/site-packages/pip/_internal/distributions/sdist.py +164 -0
- package/python/Lib/site-packages/pip/_internal/distributions/wheel.py +44 -0
- package/python/Lib/site-packages/pip/_internal/exceptions.py +971 -0
- package/python/Lib/site-packages/pip/_internal/index/__init__.py +1 -0
- package/python/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/index/collector.py +488 -0
- package/python/Lib/site-packages/pip/_internal/index/package_finder.py +1125 -0
- package/python/Lib/site-packages/pip/_internal/index/sources.py +287 -0
- package/python/Lib/site-packages/pip/_internal/locations/__init__.py +440 -0
- package/python/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/locations/_distutils.py +173 -0
- package/python/Lib/site-packages/pip/_internal/locations/_sysconfig.py +218 -0
- package/python/Lib/site-packages/pip/_internal/locations/base.py +82 -0
- package/python/Lib/site-packages/pip/_internal/main.py +12 -0
- package/python/Lib/site-packages/pip/_internal/metadata/__init__.py +169 -0
- package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/_json.py +87 -0
- package/python/Lib/site-packages/pip/_internal/metadata/base.py +685 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +87 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +229 -0
- package/python/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +143 -0
- package/python/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +298 -0
- package/python/Lib/site-packages/pip/_internal/models/__init__.py +1 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/release_control.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/models/candidate.py +25 -0
- package/python/Lib/site-packages/pip/_internal/models/direct_url.py +227 -0
- package/python/Lib/site-packages/pip/_internal/models/format_control.py +78 -0
- package/python/Lib/site-packages/pip/_internal/models/index.py +28 -0
- package/python/Lib/site-packages/pip/_internal/models/installation_report.py +57 -0
- package/python/Lib/site-packages/pip/_internal/models/link.py +617 -0
- package/python/Lib/site-packages/pip/_internal/models/release_control.py +92 -0
- package/python/Lib/site-packages/pip/_internal/models/scheme.py +25 -0
- package/python/Lib/site-packages/pip/_internal/models/search_scope.py +126 -0
- package/python/Lib/site-packages/pip/_internal/models/selection_prefs.py +56 -0
- package/python/Lib/site-packages/pip/_internal/models/target_python.py +122 -0
- package/python/Lib/site-packages/pip/_internal/models/wheel.py +80 -0
- package/python/Lib/site-packages/pip/_internal/network/__init__.py +1 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/network/auth.py +568 -0
- package/python/Lib/site-packages/pip/_internal/network/cache.py +128 -0
- package/python/Lib/site-packages/pip/_internal/network/download.py +341 -0
- package/python/Lib/site-packages/pip/_internal/network/lazy_wheel.py +215 -0
- package/python/Lib/site-packages/pip/_internal/network/session.py +532 -0
- package/python/Lib/site-packages/pip/_internal/network/utils.py +98 -0
- package/python/Lib/site-packages/pip/_internal/network/xmlrpc.py +61 -0
- package/python/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +140 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/metadata.py +38 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/wheel.py +38 -0
- package/python/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +47 -0
- package/python/Lib/site-packages/pip/_internal/operations/check.py +175 -0
- package/python/Lib/site-packages/pip/_internal/operations/freeze.py +259 -0
- package/python/Lib/site-packages/pip/_internal/operations/install/__init__.py +1 -0
- package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/operations/install/wheel.py +745 -0
- package/python/Lib/site-packages/pip/_internal/operations/prepare.py +747 -0
- package/python/Lib/site-packages/pip/_internal/pyproject.py +123 -0
- package/python/Lib/site-packages/pip/_internal/req/__init__.py +103 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/pep723.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/req/constructors.py +568 -0
- package/python/Lib/site-packages/pip/_internal/req/pep723.py +41 -0
- package/python/Lib/site-packages/pip/_internal/req/req_dependency_group.py +75 -0
- package/python/Lib/site-packages/pip/_internal/req/req_file.py +631 -0
- package/python/Lib/site-packages/pip/_internal/req/req_install.py +828 -0
- package/python/Lib/site-packages/pip/_internal/req/req_set.py +81 -0
- package/python/Lib/site-packages/pip/_internal/req/req_uninstall.py +639 -0
- package/python/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/base.py +20 -0
- package/python/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +142 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +591 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +856 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +285 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +251 -0
- package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +332 -0
- package/python/Lib/site-packages/pip/_internal/self_outdated_check.py +255 -0
- package/python/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/pylock.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
- package/python/Lib/site-packages/pip/_internal/utils/_log.py +38 -0
- package/python/Lib/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/python/Lib/site-packages/pip/_internal/utils/compat.py +85 -0
- package/python/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +201 -0
- package/python/Lib/site-packages/pip/_internal/utils/datetime.py +28 -0
- package/python/Lib/site-packages/pip/_internal/utils/deprecation.py +126 -0
- package/python/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/python/Lib/site-packages/pip/_internal/utils/egg_link.py +81 -0
- package/python/Lib/site-packages/pip/_internal/utils/entrypoints.py +88 -0
- package/python/Lib/site-packages/pip/_internal/utils/filesystem.py +203 -0
- package/python/Lib/site-packages/pip/_internal/utils/filetypes.py +24 -0
- package/python/Lib/site-packages/pip/_internal/utils/glibc.py +102 -0
- package/python/Lib/site-packages/pip/_internal/utils/hashes.py +150 -0
- package/python/Lib/site-packages/pip/_internal/utils/logging.py +396 -0
- package/python/Lib/site-packages/pip/_internal/utils/misc.py +771 -0
- package/python/Lib/site-packages/pip/_internal/utils/packaging.py +44 -0
- package/python/Lib/site-packages/pip/_internal/utils/pylock.py +116 -0
- package/python/Lib/site-packages/pip/_internal/utils/retry.py +45 -0
- package/python/Lib/site-packages/pip/_internal/utils/subprocess.py +248 -0
- package/python/Lib/site-packages/pip/_internal/utils/temp_dir.py +294 -0
- package/python/Lib/site-packages/pip/_internal/utils/unpacking.py +362 -0
- package/python/Lib/site-packages/pip/_internal/utils/urls.py +55 -0
- package/python/Lib/site-packages/pip/_internal/utils/virtualenv.py +105 -0
- package/python/Lib/site-packages/pip/_internal/utils/wheel.py +132 -0
- package/python/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_internal/vcs/bazaar.py +130 -0
- package/python/Lib/site-packages/pip/_internal/vcs/git.py +571 -0
- package/python/Lib/site-packages/pip/_internal/vcs/mercurial.py +186 -0
- package/python/Lib/site-packages/pip/_internal/vcs/subversion.py +335 -0
- package/python/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +695 -0
- package/python/Lib/site-packages/pip/_internal/wheel_builder.py +261 -0
- package/python/Lib/site-packages/pip/_vendor/README.rst +180 -0
- package/python/Lib/site-packages/pip/_vendor/__init__.py +117 -0
- package/python/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +32 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +167 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +145 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +511 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +121 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
- package/python/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/LICENSE +20 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/__init__.py +4 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/cacert.pem +4468 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/core.py +83 -0
- package/python/Lib/site-packages/pip/_vendor/certifi/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__init__.py +13 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__main__.py +65 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/_implementation.py +209 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py +59 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py +62 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/_toml_compat.py +9 -0
- package/python/Lib/site-packages/pip/_vendor/dependency_groups/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/__init__.py +33 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/compat.py +1137 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/scripts.py +447 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/util.py +1984 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
- package/python/Lib/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/python/Lib/site-packages/pip/_vendor/distro/LICENSE +202 -0
- package/python/Lib/site-packages/pip/_vendor/distro/__init__.py +54 -0
- package/python/Lib/site-packages/pip/_vendor/distro/__main__.py +4 -0
- package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/distro/distro.py +1403 -0
- package/python/Lib/site-packages/pip/_vendor/distro/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/LICENSE.md +31 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__init__.py +45 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/codec.py +122 -0
- package/python/Lib/site-packages/pip/_vendor/idna/compat.py +15 -0
- package/python/Lib/site-packages/pip/_vendor/idna/core.py +437 -0
- package/python/Lib/site-packages/pip/_vendor/idna/idnadata.py +4309 -0
- package/python/Lib/site-packages/pip/_vendor/idna/intranges.py +57 -0
- package/python/Lib/site-packages/pip/_vendor/idna/package_data.py +1 -0
- package/python/Lib/site-packages/pip/_vendor/idna/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/idna/uts46data.py +8841 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/COPYING +14 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/ext.py +170 -0
- package/python/Lib/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE +3 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__init__.py +15 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/pylock.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/_elffile.py +108 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/_parser.py +365 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/_structures.py +69 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py +193 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__init__.py +147 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/licenses/_spdx.py +799 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/markers.py +388 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/metadata.py +978 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/pylock.py +635 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/requirements.py +86 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/specifiers.py +1068 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/tags.py +651 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/utils.py +158 -0
- package/python/Lib/site-packages/pip/_vendor/packaging/version.py +792 -0
- package/python/Lib/site-packages/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/python/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
- package/python/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/LICENSE +21 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +631 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +55 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/android.py +249 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/api.py +299 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/macos.py +146 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/unix.py +272 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/version.py +34 -0
- package/python/Lib/site-packages/pip/_vendor/platformdirs/windows.py +278 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/LICENSE +25 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__init__.py +82 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/filter.py +70 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/formatter.py +129 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/lexer.py +963 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +602 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +1201 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/plugin.py +72 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/style.py +203 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/token.py +214 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/python/Lib/site-packages/pip/_vendor/pygments/util.py +324 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
- package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/LICENSE +175 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__init__.py +179 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/python/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
- package/python/Lib/site-packages/pip/_vendor/requests/adapters.py +696 -0
- package/python/Lib/site-packages/pip/_vendor/requests/api.py +157 -0
- package/python/Lib/site-packages/pip/_vendor/requests/auth.py +314 -0
- package/python/Lib/site-packages/pip/_vendor/requests/certs.py +17 -0
- package/python/Lib/site-packages/pip/_vendor/requests/compat.py +90 -0
- package/python/Lib/site-packages/pip/_vendor/requests/cookies.py +561 -0
- package/python/Lib/site-packages/pip/_vendor/requests/exceptions.py +151 -0
- package/python/Lib/site-packages/pip/_vendor/requests/help.py +127 -0
- package/python/Lib/site-packages/pip/_vendor/requests/hooks.py +33 -0
- package/python/Lib/site-packages/pip/_vendor/requests/models.py +1039 -0
- package/python/Lib/site-packages/pip/_vendor/requests/packages.py +25 -0
- package/python/Lib/site-packages/pip/_vendor/requests/sessions.py +831 -0
- package/python/Lib/site-packages/pip/_vendor/requests/status_codes.py +128 -0
- package/python/Lib/site-packages/pip/_vendor/requests/structures.py +99 -0
- package/python/Lib/site-packages/pip/_vendor/requests/utils.py +1086 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/LICENSE +13 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +27 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/providers.py +196 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +55 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py +27 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py +47 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py +48 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py +57 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py +627 -0
- package/python/Lib/site-packages/pip/_vendor/resolvelib/structs.py +209 -0
- package/python/Lib/site-packages/pip/_vendor/rich/LICENSE +19 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__init__.py +177 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__main__.py +245 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_export_format.py +76 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_fileno.py +24 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_inspect.py +268 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_null_file.py +69 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_ratio.py +153 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_spinners.py +482 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_windows.py +71 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
- package/python/Lib/site-packages/pip/_vendor/rich/_wrap.py +93 -0
- package/python/Lib/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/python/Lib/site-packages/pip/_vendor/rich/align.py +306 -0
- package/python/Lib/site-packages/pip/_vendor/rich/ansi.py +241 -0
- package/python/Lib/site-packages/pip/_vendor/rich/bar.py +93 -0
- package/python/Lib/site-packages/pip/_vendor/rich/box.py +474 -0
- package/python/Lib/site-packages/pip/_vendor/rich/cells.py +174 -0
- package/python/Lib/site-packages/pip/_vendor/rich/color.py +621 -0
- package/python/Lib/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/python/Lib/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/python/Lib/site-packages/pip/_vendor/rich/console.py +2680 -0
- package/python/Lib/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/python/Lib/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/python/Lib/site-packages/pip/_vendor/rich/control.py +219 -0
- package/python/Lib/site-packages/pip/_vendor/rich/default_styles.py +193 -0
- package/python/Lib/site-packages/pip/_vendor/rich/diagnose.py +39 -0
- package/python/Lib/site-packages/pip/_vendor/rich/emoji.py +91 -0
- package/python/Lib/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/python/Lib/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
- package/python/Lib/site-packages/pip/_vendor/rich/filesize.py +88 -0
- package/python/Lib/site-packages/pip/_vendor/rich/highlighter.py +232 -0
- package/python/Lib/site-packages/pip/_vendor/rich/json.py +139 -0
- package/python/Lib/site-packages/pip/_vendor/rich/jupyter.py +101 -0
- package/python/Lib/site-packages/pip/_vendor/rich/layout.py +442 -0
- package/python/Lib/site-packages/pip/_vendor/rich/live.py +400 -0
- package/python/Lib/site-packages/pip/_vendor/rich/live_render.py +106 -0
- package/python/Lib/site-packages/pip/_vendor/rich/logging.py +297 -0
- package/python/Lib/site-packages/pip/_vendor/rich/markup.py +251 -0
- package/python/Lib/site-packages/pip/_vendor/rich/measure.py +151 -0
- package/python/Lib/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/python/Lib/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/python/Lib/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/python/Lib/site-packages/pip/_vendor/rich/panel.py +317 -0
- package/python/Lib/site-packages/pip/_vendor/rich/pretty.py +1016 -0
- package/python/Lib/site-packages/pip/_vendor/rich/progress.py +1715 -0
- package/python/Lib/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
- package/python/Lib/site-packages/pip/_vendor/rich/prompt.py +400 -0
- package/python/Lib/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/python/Lib/site-packages/pip/_vendor/rich/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/rich/region.py +10 -0
- package/python/Lib/site-packages/pip/_vendor/rich/repr.py +149 -0
- package/python/Lib/site-packages/pip/_vendor/rich/rule.py +130 -0
- package/python/Lib/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/python/Lib/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/python/Lib/site-packages/pip/_vendor/rich/segment.py +752 -0
- package/python/Lib/site-packages/pip/_vendor/rich/spinner.py +132 -0
- package/python/Lib/site-packages/pip/_vendor/rich/status.py +131 -0
- package/python/Lib/site-packages/pip/_vendor/rich/style.py +792 -0
- package/python/Lib/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/python/Lib/site-packages/pip/_vendor/rich/syntax.py +985 -0
- package/python/Lib/site-packages/pip/_vendor/rich/table.py +1006 -0
- package/python/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
- package/python/Lib/site-packages/pip/_vendor/rich/text.py +1361 -0
- package/python/Lib/site-packages/pip/_vendor/rich/theme.py +115 -0
- package/python/Lib/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/python/Lib/site-packages/pip/_vendor/rich/traceback.py +899 -0
- package/python/Lib/site-packages/pip/_vendor/rich/tree.py +257 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/LICENSE +21 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/__init__.py +8 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/_parser.py +777 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/_re.py +115 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/_types.py +10 -0
- package/python/Lib/site-packages/pip/_vendor/tomli/py.typed +1 -0
- package/python/Lib/site-packages/pip/_vendor/tomli_w/LICENSE +21 -0
- package/python/Lib/site-packages/pip/_vendor/tomli_w/__init__.py +4 -0
- package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/tomli_w/_writer.py +229 -0
- package/python/Lib/site-packages/pip/_vendor/tomli_w/py.typed +1 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/LICENSE +21 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/__init__.py +36 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/_api.py +341 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/_macos.py +571 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/_openssl.py +68 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/_windows.py +567 -0
- package/python/Lib/site-packages/pip/_vendor/truststore/py.typed +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/connection.py +572 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1140 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +540 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/request.py +191 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/response.py +879 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-313.pyc +0 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +504 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
- package/python/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
- package/python/Lib/site-packages/pip/_vendor/vendor.txt +19 -0
- package/python/Lib/site-packages/pip/py.typed +4 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/METADATA +111 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/RECORD +879 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/REQUESTED +0 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/direct_url.json +1 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/entry_points.txt +4 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/AUTHORS.txt +860 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/LICENSE.txt +20 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
- package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/python/Lib/site.py +773 -0
- package/python/Lib/smtplib.py +1123 -0
- package/python/Lib/socket.py +982 -0
- package/python/Lib/socketserver.py +863 -0
- package/python/Lib/sqlite3/__init__.py +70 -0
- package/python/Lib/sqlite3/__main__.py +139 -0
- package/python/Lib/sqlite3/dbapi2.py +108 -0
- package/python/Lib/sqlite3/dump.py +113 -0
- package/python/Lib/sre_compile.py +7 -0
- package/python/Lib/sre_constants.py +7 -0
- package/python/Lib/sre_parse.py +7 -0
- package/python/Lib/ssl.py +1529 -0
- package/python/Lib/stat.py +212 -0
- package/python/Lib/statistics.py +1817 -0
- package/python/Lib/string.py +309 -0
- package/python/Lib/stringprep.py +272 -0
- package/python/Lib/struct.py +15 -0
- package/python/Lib/subprocess.py +2258 -0
- package/python/Lib/symtable.py +414 -0
- package/python/Lib/sysconfig/__init__.py +726 -0
- package/python/Lib/sysconfig/__main__.py +248 -0
- package/python/Lib/sysconfig/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/tabnanny.py +340 -0
- package/python/Lib/tarfile.py +3070 -0
- package/python/Lib/tempfile.py +957 -0
- package/python/Lib/textwrap.py +497 -0
- package/python/Lib/this.py +28 -0
- package/python/Lib/threading.py +1602 -0
- package/python/Lib/timeit.py +381 -0
- package/python/Lib/tkinter/__init__.py +5002 -0
- package/python/Lib/tkinter/__main__.py +7 -0
- package/python/Lib/tkinter/colorchooser.py +86 -0
- package/python/Lib/tkinter/commondialog.py +53 -0
- package/python/Lib/tkinter/constants.py +110 -0
- package/python/Lib/tkinter/dialog.py +49 -0
- package/python/Lib/tkinter/dnd.py +324 -0
- package/python/Lib/tkinter/filedialog.py +492 -0
- package/python/Lib/tkinter/font.py +239 -0
- package/python/Lib/tkinter/messagebox.py +146 -0
- package/python/Lib/tkinter/scrolledtext.py +56 -0
- package/python/Lib/tkinter/simpledialog.py +441 -0
- package/python/Lib/tkinter/ttk.py +1647 -0
- package/python/Lib/token.py +141 -0
- package/python/Lib/tokenize.py +592 -0
- package/python/Lib/tomllib/__init__.py +10 -0
- package/python/Lib/tomllib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/tomllib/__pycache__/_parser.cpython-313.pyc +0 -0
- package/python/Lib/tomllib/__pycache__/_re.cpython-313.pyc +0 -0
- package/python/Lib/tomllib/__pycache__/_types.cpython-313.pyc +0 -0
- package/python/Lib/tomllib/_parser.py +691 -0
- package/python/Lib/tomllib/_re.py +107 -0
- package/python/Lib/tomllib/_types.py +10 -0
- package/python/Lib/tomllib/mypy.ini +17 -0
- package/python/Lib/trace.py +754 -0
- package/python/Lib/traceback.py +1638 -0
- package/python/Lib/tracemalloc.py +560 -0
- package/python/Lib/tty.py +73 -0
- package/python/Lib/turtle.py +4199 -0
- package/python/Lib/turtledemo/__init__.py +14 -0
- package/python/Lib/turtledemo/__main__.py +401 -0
- package/python/Lib/turtledemo/bytedesign.py +161 -0
- package/python/Lib/turtledemo/chaos.py +59 -0
- package/python/Lib/turtledemo/clock.py +138 -0
- package/python/Lib/turtledemo/colormixer.py +58 -0
- package/python/Lib/turtledemo/forest.py +108 -0
- package/python/Lib/turtledemo/fractalcurves.py +138 -0
- package/python/Lib/turtledemo/lindenmayer.py +119 -0
- package/python/Lib/turtledemo/minimal_hanoi.py +79 -0
- package/python/Lib/turtledemo/nim.py +226 -0
- package/python/Lib/turtledemo/paint.py +54 -0
- package/python/Lib/turtledemo/peace.py +61 -0
- package/python/Lib/turtledemo/penrose.py +175 -0
- package/python/Lib/turtledemo/planet_and_moon.py +111 -0
- package/python/Lib/turtledemo/rosette.py +65 -0
- package/python/Lib/turtledemo/round_dance.py +86 -0
- package/python/Lib/turtledemo/sorting_animate.py +204 -0
- package/python/Lib/turtledemo/tree.py +62 -0
- package/python/Lib/turtledemo/turtle.cfg +10 -0
- package/python/Lib/turtledemo/two_canvases.py +54 -0
- package/python/Lib/turtledemo/yinyang.py +49 -0
- package/python/Lib/types.py +345 -0
- package/python/Lib/typing.py +3831 -0
- package/python/Lib/unittest/__init__.py +80 -0
- package/python/Lib/unittest/__main__.py +18 -0
- package/python/Lib/unittest/_log.py +86 -0
- package/python/Lib/unittest/async_case.py +146 -0
- package/python/Lib/unittest/case.py +1478 -0
- package/python/Lib/unittest/loader.py +453 -0
- package/python/Lib/unittest/main.py +280 -0
- package/python/Lib/unittest/mock.py +3179 -0
- package/python/Lib/unittest/result.py +256 -0
- package/python/Lib/unittest/runner.py +292 -0
- package/python/Lib/unittest/signals.py +71 -0
- package/python/Lib/unittest/suite.py +379 -0
- package/python/Lib/unittest/util.py +170 -0
- package/python/Lib/urllib/__init__.py +0 -0
- package/python/Lib/urllib/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/urllib/__pycache__/error.cpython-313.pyc +0 -0
- package/python/Lib/urllib/__pycache__/parse.cpython-313.pyc +0 -0
- package/python/Lib/urllib/__pycache__/request.cpython-313.pyc +0 -0
- package/python/Lib/urllib/__pycache__/response.cpython-313.pyc +0 -0
- package/python/Lib/urllib/error.py +74 -0
- package/python/Lib/urllib/parse.py +1262 -0
- package/python/Lib/urllib/request.py +2797 -0
- package/python/Lib/urllib/response.py +84 -0
- package/python/Lib/urllib/robotparser.py +286 -0
- package/python/Lib/uuid.py +784 -0
- package/python/Lib/venv/__init__.py +687 -0
- package/python/Lib/venv/__main__.py +10 -0
- package/python/Lib/venv/scripts/common/Activate.ps1 +248 -0
- package/python/Lib/venv/scripts/common/activate +76 -0
- package/python/Lib/venv/scripts/common/activate.fish +69 -0
- package/python/Lib/venv/scripts/nt/activate.bat +34 -0
- package/python/Lib/venv/scripts/nt/deactivate.bat +22 -0
- package/python/Lib/venv/scripts/nt/venvlauncher.exe +0 -0
- package/python/Lib/venv/scripts/nt/venvlauncher.pdb +0 -0
- package/python/Lib/venv/scripts/nt/venvwlauncher.exe +0 -0
- package/python/Lib/venv/scripts/nt/venvwlauncher.pdb +0 -0
- package/python/Lib/venv/scripts/posix/activate.csh +27 -0
- package/python/Lib/warnings.py +735 -0
- package/python/Lib/wave.py +665 -0
- package/python/Lib/weakref.py +674 -0
- package/python/Lib/webbrowser.py +710 -0
- package/python/Lib/wsgiref/__init__.py +25 -0
- package/python/Lib/wsgiref/handlers.py +573 -0
- package/python/Lib/wsgiref/headers.py +187 -0
- package/python/Lib/wsgiref/simple_server.py +161 -0
- package/python/Lib/wsgiref/types.py +54 -0
- package/python/Lib/wsgiref/util.py +159 -0
- package/python/Lib/wsgiref/validate.py +438 -0
- package/python/Lib/xml/__init__.py +20 -0
- package/python/Lib/xml/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/xml/dom/NodeFilter.py +27 -0
- package/python/Lib/xml/dom/__init__.py +140 -0
- package/python/Lib/xml/dom/domreg.py +99 -0
- package/python/Lib/xml/dom/expatbuilder.py +962 -0
- package/python/Lib/xml/dom/minicompat.py +109 -0
- package/python/Lib/xml/dom/minidom.py +2024 -0
- package/python/Lib/xml/dom/pulldom.py +336 -0
- package/python/Lib/xml/dom/xmlbuilder.py +389 -0
- package/python/Lib/xml/etree/ElementInclude.py +186 -0
- package/python/Lib/xml/etree/ElementPath.py +423 -0
- package/python/Lib/xml/etree/ElementTree.py +2098 -0
- package/python/Lib/xml/etree/__init__.py +33 -0
- package/python/Lib/xml/etree/cElementTree.py +3 -0
- package/python/Lib/xml/parsers/__init__.py +8 -0
- package/python/Lib/xml/parsers/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/xml/parsers/__pycache__/expat.cpython-313.pyc +0 -0
- package/python/Lib/xml/parsers/expat.py +8 -0
- package/python/Lib/xml/sax/__init__.py +94 -0
- package/python/Lib/xml/sax/_exceptions.py +127 -0
- package/python/Lib/xml/sax/expatreader.py +454 -0
- package/python/Lib/xml/sax/handler.py +387 -0
- package/python/Lib/xml/sax/saxutils.py +369 -0
- package/python/Lib/xml/sax/xmlreader.py +378 -0
- package/python/Lib/xmlrpc/__init__.py +1 -0
- package/python/Lib/xmlrpc/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/xmlrpc/__pycache__/client.cpython-313.pyc +0 -0
- package/python/Lib/xmlrpc/client.py +1503 -0
- package/python/Lib/xmlrpc/server.py +1002 -0
- package/python/Lib/zipapp.py +229 -0
- package/python/Lib/zipfile/__init__.py +2375 -0
- package/python/Lib/zipfile/__main__.py +4 -0
- package/python/Lib/zipfile/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/zipfile/_path/__init__.py +452 -0
- package/python/Lib/zipfile/_path/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/Lib/zipfile/_path/__pycache__/glob.cpython-313.pyc +0 -0
- package/python/Lib/zipfile/_path/glob.py +113 -0
- package/python/Lib/zipimport.py +803 -0
- package/python/Lib/zoneinfo/__init__.py +34 -0
- package/python/Lib/zoneinfo/_common.py +168 -0
- package/python/Lib/zoneinfo/_tzpath.py +189 -0
- package/python/Lib/zoneinfo/_zoneinfo.py +772 -0
- package/python/Scripts/.empty +0 -0
- package/python/include/Python.h +140 -0
- package/python/include/abstract.h +921 -0
- package/python/include/bltinmodule.h +14 -0
- package/python/include/boolobject.h +54 -0
- package/python/include/bytearrayobject.h +44 -0
- package/python/include/bytesobject.h +66 -0
- package/python/include/ceval.h +145 -0
- package/python/include/codecs.h +176 -0
- package/python/include/compile.h +22 -0
- package/python/include/complexobject.h +30 -0
- package/python/include/cpython/abstract.h +87 -0
- package/python/include/cpython/bytearrayobject.h +34 -0
- package/python/include/cpython/bytesobject.h +37 -0
- package/python/include/cpython/cellobject.h +44 -0
- package/python/include/cpython/ceval.h +25 -0
- package/python/include/cpython/classobject.h +71 -0
- package/python/include/cpython/code.h +358 -0
- package/python/include/cpython/compile.h +50 -0
- package/python/include/cpython/complexobject.h +33 -0
- package/python/include/cpython/context.h +74 -0
- package/python/include/cpython/critical_section.h +134 -0
- package/python/include/cpython/descrobject.h +62 -0
- package/python/include/cpython/dictobject.h +102 -0
- package/python/include/cpython/fileobject.h +16 -0
- package/python/include/cpython/fileutils.h +8 -0
- package/python/include/cpython/floatobject.h +27 -0
- package/python/include/cpython/frameobject.h +35 -0
- package/python/include/cpython/funcobject.h +184 -0
- package/python/include/cpython/genobject.h +83 -0
- package/python/include/cpython/import.h +25 -0
- package/python/include/cpython/initconfig.h +274 -0
- package/python/include/cpython/listobject.h +53 -0
- package/python/include/cpython/lock.h +63 -0
- package/python/include/cpython/longintrepr.h +146 -0
- package/python/include/cpython/longobject.h +116 -0
- package/python/include/cpython/memoryobject.h +50 -0
- package/python/include/cpython/methodobject.h +66 -0
- package/python/include/cpython/modsupport.h +26 -0
- package/python/include/cpython/monitoring.h +250 -0
- package/python/include/cpython/object.h +535 -0
- package/python/include/cpython/objimpl.h +104 -0
- package/python/include/cpython/odictobject.h +43 -0
- package/python/include/cpython/picklebufobject.h +31 -0
- package/python/include/cpython/pthread_stubs.h +105 -0
- package/python/include/cpython/pyatomic.h +569 -0
- package/python/include/cpython/pyatomic_gcc.h +551 -0
- package/python/include/cpython/pyatomic_msc.h +1095 -0
- package/python/include/cpython/pyatomic_std.h +976 -0
- package/python/include/cpython/pyctype.h +39 -0
- package/python/include/cpython/pydebug.h +38 -0
- package/python/include/cpython/pyerrors.h +132 -0
- package/python/include/cpython/pyfpe.h +15 -0
- package/python/include/cpython/pyframe.h +45 -0
- package/python/include/cpython/pyhash.h +47 -0
- package/python/include/cpython/pylifecycle.h +92 -0
- package/python/include/cpython/pymem.h +84 -0
- package/python/include/cpython/pystate.h +277 -0
- package/python/include/cpython/pystats.h +175 -0
- package/python/include/cpython/pythonrun.h +96 -0
- package/python/include/cpython/pythread.h +43 -0
- package/python/include/cpython/pytime.h +27 -0
- package/python/include/cpython/setobject.h +71 -0
- package/python/include/cpython/sysmodule.h +22 -0
- package/python/include/cpython/traceback.h +13 -0
- package/python/include/cpython/tracemalloc.h +32 -0
- package/python/include/cpython/tupleobject.h +38 -0
- package/python/include/cpython/unicodeobject.h +703 -0
- package/python/include/cpython/warnings.h +20 -0
- package/python/include/cpython/weakrefobject.h +63 -0
- package/python/include/critical_section.h +16 -0
- package/python/include/datetime.h +267 -0
- package/python/include/descrobject.h +100 -0
- package/python/include/dictobject.h +108 -0
- package/python/include/dynamic_annotations.h +499 -0
- package/python/include/enumobject.h +17 -0
- package/python/include/errcode.h +45 -0
- package/python/include/exports.h +108 -0
- package/python/include/fileobject.h +41 -0
- package/python/include/fileutils.h +62 -0
- package/python/include/floatobject.h +54 -0
- package/python/include/frameobject.h +20 -0
- package/python/include/genericaliasobject.h +14 -0
- package/python/include/import.h +103 -0
- package/python/include/internal/mimalloc/mimalloc/atomic.h +392 -0
- package/python/include/internal/mimalloc/mimalloc/internal.h +969 -0
- package/python/include/internal/mimalloc/mimalloc/prim.h +329 -0
- package/python/include/internal/mimalloc/mimalloc/track.h +147 -0
- package/python/include/internal/mimalloc/mimalloc/types.h +721 -0
- package/python/include/internal/mimalloc/mimalloc.h +565 -0
- package/python/include/internal/pycore_abstract.h +61 -0
- package/python/include/internal/pycore_asdl.h +112 -0
- package/python/include/internal/pycore_ast.h +926 -0
- package/python/include/internal/pycore_ast_state.h +268 -0
- package/python/include/internal/pycore_atexit.h +67 -0
- package/python/include/internal/pycore_backoff.h +145 -0
- package/python/include/internal/pycore_bitutils.h +186 -0
- package/python/include/internal/pycore_blocks_output_buffer.h +321 -0
- package/python/include/internal/pycore_brc.h +74 -0
- package/python/include/internal/pycore_bytes_methods.h +82 -0
- package/python/include/internal/pycore_bytesobject.h +152 -0
- package/python/include/internal/pycore_call.h +205 -0
- package/python/include/internal/pycore_capsule.h +17 -0
- package/python/include/internal/pycore_cell.h +48 -0
- package/python/include/internal/pycore_ceval.h +305 -0
- package/python/include/internal/pycore_ceval_state.h +137 -0
- package/python/include/internal/pycore_code.h +603 -0
- package/python/include/internal/pycore_codecs.h +86 -0
- package/python/include/internal/pycore_compile.h +118 -0
- package/python/include/internal/pycore_complexobject.h +25 -0
- package/python/include/internal/pycore_condvar.h +93 -0
- package/python/include/internal/pycore_context.h +61 -0
- package/python/include/internal/pycore_critical_section.h +233 -0
- package/python/include/internal/pycore_crossinterp.h +340 -0
- package/python/include/internal/pycore_descrobject.h +28 -0
- package/python/include/internal/pycore_dict.h +340 -0
- package/python/include/internal/pycore_dict_state.h +32 -0
- package/python/include/internal/pycore_dtoa.h +75 -0
- package/python/include/internal/pycore_emscripten_signal.h +30 -0
- package/python/include/internal/pycore_emscripten_trampoline.h +81 -0
- package/python/include/internal/pycore_exceptions.h +40 -0
- package/python/include/internal/pycore_faulthandler.h +99 -0
- package/python/include/internal/pycore_fileutils.h +335 -0
- package/python/include/internal/pycore_fileutils_windows.h +98 -0
- package/python/include/internal/pycore_floatobject.h +62 -0
- package/python/include/internal/pycore_flowgraph.h +40 -0
- package/python/include/internal/pycore_format.h +27 -0
- package/python/include/internal/pycore_frame.h +370 -0
- package/python/include/internal/pycore_freelist.h +153 -0
- package/python/include/internal/pycore_function.h +55 -0
- package/python/include/internal/pycore_gc.h +365 -0
- package/python/include/internal/pycore_genobject.h +32 -0
- package/python/include/internal/pycore_getopt.h +22 -0
- package/python/include/internal/pycore_gil.h +66 -0
- package/python/include/internal/pycore_global_objects.h +105 -0
- package/python/include/internal/pycore_global_objects_fini_generated.h +1554 -0
- package/python/include/internal/pycore_global_strings.h +814 -0
- package/python/include/internal/pycore_hamt.h +134 -0
- package/python/include/internal/pycore_hashtable.h +150 -0
- package/python/include/internal/pycore_identifier.h +20 -0
- package/python/include/internal/pycore_import.h +213 -0
- package/python/include/internal/pycore_importdl.h +139 -0
- package/python/include/internal/pycore_initconfig.h +200 -0
- package/python/include/internal/pycore_instruction_sequence.h +73 -0
- package/python/include/internal/pycore_instruments.h +75 -0
- package/python/include/internal/pycore_interp.h +423 -0
- package/python/include/internal/pycore_intrinsics.h +51 -0
- package/python/include/internal/pycore_jit.h +25 -0
- package/python/include/internal/pycore_list.h +66 -0
- package/python/include/internal/pycore_llist.h +106 -0
- package/python/include/internal/pycore_lock.h +241 -0
- package/python/include/internal/pycore_long.h +310 -0
- package/python/include/internal/pycore_memoryobject.h +20 -0
- package/python/include/internal/pycore_mimalloc.h +69 -0
- package/python/include/internal/pycore_modsupport.h +107 -0
- package/python/include/internal/pycore_moduleobject.h +56 -0
- package/python/include/internal/pycore_namespace.h +21 -0
- package/python/include/internal/pycore_object.h +867 -0
- package/python/include/internal/pycore_object_alloc.h +71 -0
- package/python/include/internal/pycore_object_stack.h +97 -0
- package/python/include/internal/pycore_object_state.h +41 -0
- package/python/include/internal/pycore_obmalloc.h +702 -0
- package/python/include/internal/pycore_obmalloc_init.h +66 -0
- package/python/include/internal/pycore_opcode_metadata.h +1922 -0
- package/python/include/internal/pycore_opcode_utils.h +73 -0
- package/python/include/internal/pycore_optimizer.h +272 -0
- package/python/include/internal/pycore_parking_lot.h +97 -0
- package/python/include/internal/pycore_parser.h +95 -0
- package/python/include/internal/pycore_pathconfig.h +26 -0
- package/python/include/internal/pycore_pyarena.h +68 -0
- package/python/include/internal/pycore_pyatomic_ft_wrappers.h +165 -0
- package/python/include/internal/pycore_pybuffer.h +21 -0
- package/python/include/internal/pycore_pyerrors.h +190 -0
- package/python/include/internal/pycore_pyhash.h +107 -0
- package/python/include/internal/pycore_pylifecycle.h +136 -0
- package/python/include/internal/pycore_pymath.h +205 -0
- package/python/include/internal/pycore_pymem.h +161 -0
- package/python/include/internal/pycore_pymem_init.h +103 -0
- package/python/include/internal/pycore_pystate.h +299 -0
- package/python/include/internal/pycore_pystats.h +21 -0
- package/python/include/internal/pycore_pythonrun.h +39 -0
- package/python/include/internal/pycore_pythread.h +172 -0
- package/python/include/internal/pycore_qsbr.h +173 -0
- package/python/include/internal/pycore_range.h +21 -0
- package/python/include/internal/pycore_runtime.h +410 -0
- package/python/include/internal/pycore_runtime_init.h +329 -0
- package/python/include/internal/pycore_runtime_init_generated.h +1551 -0
- package/python/include/internal/pycore_semaphore.h +67 -0
- package/python/include/internal/pycore_setobject.h +39 -0
- package/python/include/internal/pycore_signal.h +108 -0
- package/python/include/internal/pycore_sliceobject.h +20 -0
- package/python/include/internal/pycore_stackref.h +195 -0
- package/python/include/internal/pycore_strhex.h +39 -0
- package/python/include/internal/pycore_structseq.h +40 -0
- package/python/include/internal/pycore_symtable.h +204 -0
- package/python/include/internal/pycore_sysmodule.h +38 -0
- package/python/include/internal/pycore_time.h +337 -0
- package/python/include/internal/pycore_token.h +106 -0
- package/python/include/internal/pycore_traceback.h +106 -0
- package/python/include/internal/pycore_tracemalloc.h +170 -0
- package/python/include/internal/pycore_tstate.h +46 -0
- package/python/include/internal/pycore_tuple.h +35 -0
- package/python/include/internal/pycore_typeobject.h +245 -0
- package/python/include/internal/pycore_typevarobject.h +27 -0
- package/python/include/internal/pycore_ucnhash.h +36 -0
- package/python/include/internal/pycore_unicodeobject.h +351 -0
- package/python/include/internal/pycore_unicodeobject_generated.h +2980 -0
- package/python/include/internal/pycore_unionobject.h +25 -0
- package/python/include/internal/pycore_uop_ids.h +295 -0
- package/python/include/internal/pycore_uop_metadata.h +1010 -0
- package/python/include/internal/pycore_warnings.h +31 -0
- package/python/include/internal/pycore_weakref.h +133 -0
- package/python/include/intrcheck.h +23 -0
- package/python/include/iterobject.h +24 -0
- package/python/include/listobject.h +55 -0
- package/python/include/lock.h +16 -0
- package/python/include/longobject.h +114 -0
- package/python/include/marshal.h +31 -0
- package/python/include/memoryobject.h +34 -0
- package/python/include/methodobject.h +137 -0
- package/python/include/modsupport.h +146 -0
- package/python/include/moduleobject.h +122 -0
- package/python/include/monitoring.h +18 -0
- package/python/include/object.h +1280 -0
- package/python/include/objimpl.h +211 -0
- package/python/include/opcode.h +42 -0
- package/python/include/opcode_ids.h +244 -0
- package/python/include/osdefs.h +57 -0
- package/python/include/osmodule.h +17 -0
- package/python/include/patchlevel.h +35 -0
- package/python/include/py_curses.h +117 -0
- package/python/include/pyatomic.h +16 -0
- package/python/include/pybuffer.h +145 -0
- package/python/include/pycapsule.h +58 -0
- package/python/include/pyconfig.h +759 -0
- package/python/include/pydtrace.h +59 -0
- package/python/include/pyerrors.h +335 -0
- package/python/include/pyexpat.h +62 -0
- package/python/include/pyframe.h +26 -0
- package/python/include/pyhash.h +59 -0
- package/python/include/pylifecycle.h +80 -0
- package/python/include/pymacconfig.h +91 -0
- package/python/include/pymacro.h +199 -0
- package/python/include/pymath.h +62 -0
- package/python/include/pymem.h +110 -0
- package/python/include/pyport.h +633 -0
- package/python/include/pystate.h +132 -0
- package/python/include/pystats.h +26 -0
- package/python/include/pystrcmp.h +23 -0
- package/python/include/pystrtod.h +37 -0
- package/python/include/pythonrun.h +49 -0
- package/python/include/pythread.h +131 -0
- package/python/include/pytypedefs.h +30 -0
- package/python/include/rangeobject.h +27 -0
- package/python/include/setobject.h +49 -0
- package/python/include/sliceobject.h +69 -0
- package/python/include/structmember.h +56 -0
- package/python/include/structseq.h +46 -0
- package/python/include/sysmodule.h +44 -0
- package/python/include/traceback.h +26 -0
- package/python/include/tupleobject.h +46 -0
- package/python/include/typeslots.h +88 -0
- package/python/include/unicodeobject.h +1021 -0
- package/python/include/warnings.h +45 -0
- package/python/include/weakrefobject.h +46 -0
- package/python/libs/python3.lib +0 -0
- package/python/libs/python313.lib +0 -0
- package/python/python.exe +0 -0
- package/python/python.pdb +0 -0
- package/python/python3.dll +0 -0
- package/python/python3.pdb +0 -0
- package/python/python313.dll +0 -0
- package/python/python313.pdb +0 -0
- package/python/pythonw.exe +0 -0
- package/python/pythonw.pdb +0 -0
- package/python/tcl/dde1.4/pkgIndex.tcl +12 -0
- package/python/tcl/dde1.4/tcldde14.dll +0 -0
- package/python/tcl/nmake/nmakehlp.c +815 -0
- package/python/tcl/nmake/rules.vc +1869 -0
- package/python/tcl/nmake/targets.vc +98 -0
- package/python/tcl/nmake/tcl.nmake +4 -0
- package/python/tcl/reg1.3/pkgIndex.tcl +9 -0
- package/python/tcl/reg1.3/tclreg13.dll +0 -0
- package/python/tcl/tcl8/8.4/platform/shell-1.1.4.tm +241 -0
- package/python/tcl/tcl8/8.4/platform-1.0.18.tm +439 -0
- package/python/tcl/tcl8/8.5/msgcat-1.6.1.tm +1210 -0
- package/python/tcl/tcl8/8.5/tcltest-2.5.3.tm +3515 -0
- package/python/tcl/tcl8/8.6/http-2.9.5.tm +3506 -0
- package/python/tcl/tcl8.6/auto.tcl +648 -0
- package/python/tcl/tcl8.6/clock.tcl +4546 -0
- package/python/tcl/tcl8.6/encoding/ascii.enc +20 -0
- package/python/tcl/tcl8.6/encoding/big5.enc +1516 -0
- package/python/tcl/tcl8.6/encoding/cns11643.enc +1584 -0
- package/python/tcl/tcl8.6/encoding/cp1250.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1251.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1252.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1253.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1254.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1255.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1256.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1257.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp1258.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp437.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp737.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp775.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp850.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp852.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp855.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp857.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp860.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp861.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp862.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp863.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp864.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp865.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp866.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp869.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp874.enc +20 -0
- package/python/tcl/tcl8.6/encoding/cp932.enc +801 -0
- package/python/tcl/tcl8.6/encoding/cp936.enc +2162 -0
- package/python/tcl/tcl8.6/encoding/cp949.enc +2128 -0
- package/python/tcl/tcl8.6/encoding/cp950.enc +1499 -0
- package/python/tcl/tcl8.6/encoding/dingbats.enc +20 -0
- package/python/tcl/tcl8.6/encoding/ebcdic.enc +19 -0
- package/python/tcl/tcl8.6/encoding/euc-cn.enc +1397 -0
- package/python/tcl/tcl8.6/encoding/euc-jp.enc +1353 -0
- package/python/tcl/tcl8.6/encoding/euc-kr.enc +1533 -0
- package/python/tcl/tcl8.6/encoding/gb12345.enc +1414 -0
- package/python/tcl/tcl8.6/encoding/gb1988.enc +20 -0
- package/python/tcl/tcl8.6/encoding/gb2312-raw.enc +1380 -0
- package/python/tcl/tcl8.6/encoding/gb2312.enc +1397 -0
- package/python/tcl/tcl8.6/encoding/iso2022-jp.enc +12 -0
- package/python/tcl/tcl8.6/encoding/iso2022-kr.enc +7 -0
- package/python/tcl/tcl8.6/encoding/iso2022.enc +14 -0
- package/python/tcl/tcl8.6/encoding/iso8859-1.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-10.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-11.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-13.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-14.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-15.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-16.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-2.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-3.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-4.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-5.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-6.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-7.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-8.enc +20 -0
- package/python/tcl/tcl8.6/encoding/iso8859-9.enc +20 -0
- package/python/tcl/tcl8.6/encoding/jis0201.enc +20 -0
- package/python/tcl/tcl8.6/encoding/jis0208.enc +1319 -0
- package/python/tcl/tcl8.6/encoding/jis0212.enc +1159 -0
- package/python/tcl/tcl8.6/encoding/koi8-r.enc +20 -0
- package/python/tcl/tcl8.6/encoding/koi8-u.enc +20 -0
- package/python/tcl/tcl8.6/encoding/ksc5601.enc +1516 -0
- package/python/tcl/tcl8.6/encoding/macCentEuro.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macCroatian.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macCyrillic.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macDingbats.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macGreek.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macIceland.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macJapan.enc +785 -0
- package/python/tcl/tcl8.6/encoding/macRoman.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macRomania.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macThai.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macTurkish.enc +20 -0
- package/python/tcl/tcl8.6/encoding/macUkraine.enc +20 -0
- package/python/tcl/tcl8.6/encoding/shiftjis.enc +690 -0
- package/python/tcl/tcl8.6/encoding/symbol.enc +20 -0
- package/python/tcl/tcl8.6/encoding/tis-620.enc +20 -0
- package/python/tcl/tcl8.6/history.tcl +335 -0
- package/python/tcl/tcl8.6/http1.0/http.tcl +377 -0
- package/python/tcl/tcl8.6/http1.0/pkgIndex.tcl +11 -0
- package/python/tcl/tcl8.6/init.tcl +827 -0
- package/python/tcl/tcl8.6/msgs/af.msg +49 -0
- package/python/tcl/tcl8.6/msgs/af_za.msg +6 -0
- package/python/tcl/tcl8.6/msgs/ar.msg +54 -0
- package/python/tcl/tcl8.6/msgs/ar_in.msg +6 -0
- package/python/tcl/tcl8.6/msgs/ar_jo.msg +39 -0
- package/python/tcl/tcl8.6/msgs/ar_lb.msg +39 -0
- package/python/tcl/tcl8.6/msgs/ar_sy.msg +39 -0
- package/python/tcl/tcl8.6/msgs/be.msg +52 -0
- package/python/tcl/tcl8.6/msgs/bg.msg +52 -0
- package/python/tcl/tcl8.6/msgs/bn.msg +49 -0
- package/python/tcl/tcl8.6/msgs/bn_in.msg +6 -0
- package/python/tcl/tcl8.6/msgs/ca.msg +50 -0
- package/python/tcl/tcl8.6/msgs/cs.msg +54 -0
- package/python/tcl/tcl8.6/msgs/da.msg +52 -0
- package/python/tcl/tcl8.6/msgs/de.msg +54 -0
- package/python/tcl/tcl8.6/msgs/de_at.msg +35 -0
- package/python/tcl/tcl8.6/msgs/de_be.msg +53 -0
- package/python/tcl/tcl8.6/msgs/el.msg +52 -0
- package/python/tcl/tcl8.6/msgs/en_au.msg +7 -0
- package/python/tcl/tcl8.6/msgs/en_be.msg +7 -0
- package/python/tcl/tcl8.6/msgs/en_bw.msg +6 -0
- package/python/tcl/tcl8.6/msgs/en_ca.msg +7 -0
- package/python/tcl/tcl8.6/msgs/en_gb.msg +7 -0
- package/python/tcl/tcl8.6/msgs/en_hk.msg +8 -0
- package/python/tcl/tcl8.6/msgs/en_ie.msg +7 -0
- package/python/tcl/tcl8.6/msgs/en_in.msg +8 -0
- package/python/tcl/tcl8.6/msgs/en_nz.msg +7 -0
- package/python/tcl/tcl8.6/msgs/en_ph.msg +8 -0
- package/python/tcl/tcl8.6/msgs/en_sg.msg +6 -0
- package/python/tcl/tcl8.6/msgs/en_za.msg +6 -0
- package/python/tcl/tcl8.6/msgs/en_zw.msg +6 -0
- package/python/tcl/tcl8.6/msgs/eo.msg +54 -0
- package/python/tcl/tcl8.6/msgs/es.msg +52 -0
- package/python/tcl/tcl8.6/msgs/es_ar.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_bo.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_cl.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_co.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_cr.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_do.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_ec.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_gt.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_hn.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_mx.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_ni.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_pa.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_pe.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_pr.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_py.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_sv.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_uy.msg +6 -0
- package/python/tcl/tcl8.6/msgs/es_ve.msg +6 -0
- package/python/tcl/tcl8.6/msgs/et.msg +52 -0
- package/python/tcl/tcl8.6/msgs/eu.msg +47 -0
- package/python/tcl/tcl8.6/msgs/eu_es.msg +7 -0
- package/python/tcl/tcl8.6/msgs/fa.msg +47 -0
- package/python/tcl/tcl8.6/msgs/fa_in.msg +52 -0
- package/python/tcl/tcl8.6/msgs/fa_ir.msg +9 -0
- package/python/tcl/tcl8.6/msgs/fi.msg +50 -0
- package/python/tcl/tcl8.6/msgs/fo.msg +47 -0
- package/python/tcl/tcl8.6/msgs/fo_fo.msg +7 -0
- package/python/tcl/tcl8.6/msgs/fr.msg +52 -0
- package/python/tcl/tcl8.6/msgs/fr_be.msg +7 -0
- package/python/tcl/tcl8.6/msgs/fr_ca.msg +7 -0
- package/python/tcl/tcl8.6/msgs/fr_ch.msg +7 -0
- package/python/tcl/tcl8.6/msgs/ga.msg +47 -0
- package/python/tcl/tcl8.6/msgs/ga_ie.msg +7 -0
- package/python/tcl/tcl8.6/msgs/gl.msg +47 -0
- package/python/tcl/tcl8.6/msgs/gl_es.msg +6 -0
- package/python/tcl/tcl8.6/msgs/gv.msg +47 -0
- package/python/tcl/tcl8.6/msgs/gv_gb.msg +6 -0
- package/python/tcl/tcl8.6/msgs/he.msg +52 -0
- package/python/tcl/tcl8.6/msgs/hi.msg +39 -0
- package/python/tcl/tcl8.6/msgs/hi_in.msg +6 -0
- package/python/tcl/tcl8.6/msgs/hr.msg +50 -0
- package/python/tcl/tcl8.6/msgs/hu.msg +54 -0
- package/python/tcl/tcl8.6/msgs/id.msg +47 -0
- package/python/tcl/tcl8.6/msgs/id_id.msg +6 -0
- package/python/tcl/tcl8.6/msgs/is.msg +50 -0
- package/python/tcl/tcl8.6/msgs/it.msg +54 -0
- package/python/tcl/tcl8.6/msgs/it_ch.msg +6 -0
- package/python/tcl/tcl8.6/msgs/ja.msg +44 -0
- package/python/tcl/tcl8.6/msgs/kl.msg +47 -0
- package/python/tcl/tcl8.6/msgs/kl_gl.msg +7 -0
- package/python/tcl/tcl8.6/msgs/ko.msg +55 -0
- package/python/tcl/tcl8.6/msgs/ko_kr.msg +8 -0
- package/python/tcl/tcl8.6/msgs/kok.msg +39 -0
- package/python/tcl/tcl8.6/msgs/kok_in.msg +6 -0
- package/python/tcl/tcl8.6/msgs/kw.msg +47 -0
- package/python/tcl/tcl8.6/msgs/kw_gb.msg +6 -0
- package/python/tcl/tcl8.6/msgs/lt.msg +52 -0
- package/python/tcl/tcl8.6/msgs/lv.msg +52 -0
- package/python/tcl/tcl8.6/msgs/mk.msg +52 -0
- package/python/tcl/tcl8.6/msgs/mr.msg +39 -0
- package/python/tcl/tcl8.6/msgs/mr_in.msg +6 -0
- package/python/tcl/tcl8.6/msgs/ms.msg +47 -0
- package/python/tcl/tcl8.6/msgs/ms_my.msg +6 -0
- package/python/tcl/tcl8.6/msgs/mt.msg +27 -0
- package/python/tcl/tcl8.6/msgs/nb.msg +52 -0
- package/python/tcl/tcl8.6/msgs/nl.msg +50 -0
- package/python/tcl/tcl8.6/msgs/nl_be.msg +7 -0
- package/python/tcl/tcl8.6/msgs/nn.msg +52 -0
- package/python/tcl/tcl8.6/msgs/pl.msg +52 -0
- package/python/tcl/tcl8.6/msgs/pt.msg +50 -0
- package/python/tcl/tcl8.6/msgs/pt_br.msg +7 -0
- package/python/tcl/tcl8.6/msgs/ro.msg +52 -0
- package/python/tcl/tcl8.6/msgs/ru.msg +52 -0
- package/python/tcl/tcl8.6/msgs/ru_ua.msg +6 -0
- package/python/tcl/tcl8.6/msgs/sh.msg +52 -0
- package/python/tcl/tcl8.6/msgs/sk.msg +52 -0
- package/python/tcl/tcl8.6/msgs/sl.msg +52 -0
- package/python/tcl/tcl8.6/msgs/sq.msg +54 -0
- package/python/tcl/tcl8.6/msgs/sr.msg +52 -0
- package/python/tcl/tcl8.6/msgs/sv.msg +52 -0
- package/python/tcl/tcl8.6/msgs/sw.msg +49 -0
- package/python/tcl/tcl8.6/msgs/ta.msg +39 -0
- package/python/tcl/tcl8.6/msgs/ta_in.msg +6 -0
- package/python/tcl/tcl8.6/msgs/te.msg +47 -0
- package/python/tcl/tcl8.6/msgs/te_in.msg +8 -0
- package/python/tcl/tcl8.6/msgs/th.msg +54 -0
- package/python/tcl/tcl8.6/msgs/tr.msg +50 -0
- package/python/tcl/tcl8.6/msgs/uk.msg +52 -0
- package/python/tcl/tcl8.6/msgs/vi.msg +50 -0
- package/python/tcl/tcl8.6/msgs/zh.msg +55 -0
- package/python/tcl/tcl8.6/msgs/zh_cn.msg +7 -0
- package/python/tcl/tcl8.6/msgs/zh_hk.msg +28 -0
- package/python/tcl/tcl8.6/msgs/zh_sg.msg +8 -0
- package/python/tcl/tcl8.6/msgs/zh_tw.msg +8 -0
- package/python/tcl/tcl8.6/opt0.4/optparse.tcl +1072 -0
- package/python/tcl/tcl8.6/opt0.4/pkgIndex.tcl +12 -0
- package/python/tcl/tcl8.6/package.tcl +751 -0
- package/python/tcl/tcl8.6/parray.tcl +28 -0
- package/python/tcl/tcl8.6/safe.tcl +1289 -0
- package/python/tcl/tcl8.6/tclIndex +78 -0
- package/python/tcl/tcl8.6/tm.tcl +380 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Abidjan +6 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Accra +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Addis_Ababa +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Algiers +39 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Asmara +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Asmera +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Bamako +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Bangui +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Banjul +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Bissau +7 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Blantyre +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Brazzaville +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Bujumbura +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Cairo +132 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Casablanca +202 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Ceuta +259 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Conakry +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Dakar +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Dar_es_Salaam +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Djibouti +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Douala +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/El_Aaiun +191 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Freetown +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Gaborone +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Harare +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Johannesburg +11 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Juba +40 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Kampala +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Khartoum +40 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Kigali +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Kinshasa +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Lagos +9 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Libreville +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Lome +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Luanda +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Lubumbashi +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Lusaka +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Malabo +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Maputo +6 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Maseru +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Mbabane +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Mogadishu +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Monrovia +8 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Nairobi +10 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Ndjamena +8 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Niamey +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Nouakchott +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Ouagadougou +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Porto-Novo +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Sao_Tome +9 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Timbuktu +5 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Tripoli +34 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Tunis +39 -0
- package/python/tcl/tcl8.6/tzdata/Africa/Windhoek +58 -0
- package/python/tcl/tcl8.6/tzdata/America/Adak +276 -0
- package/python/tcl/tcl8.6/tzdata/America/Anchorage +275 -0
- package/python/tcl/tcl8.6/tzdata/America/Anguilla +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Antigua +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Araguaina +60 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Buenos_Aires +67 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Catamarca +68 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/ComodRivadavia +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Cordoba +67 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Jujuy +67 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/La_Rioja +69 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Mendoza +68 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Rio_Gallegos +68 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Salta +66 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Juan +69 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Luis +68 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Tucuman +69 -0
- package/python/tcl/tcl8.6/tzdata/America/Argentina/Ushuaia +68 -0
- package/python/tcl/tcl8.6/tzdata/America/Aruba +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Asuncion +259 -0
- package/python/tcl/tcl8.6/tzdata/America/Atikokan +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Atka +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Bahia +68 -0
- package/python/tcl/tcl8.6/tzdata/America/Bahia_Banderas +222 -0
- package/python/tcl/tcl8.6/tzdata/America/Barbados +22 -0
- package/python/tcl/tcl8.6/tzdata/America/Belem +35 -0
- package/python/tcl/tcl8.6/tzdata/America/Belize +103 -0
- package/python/tcl/tcl8.6/tzdata/America/Blanc-Sablon +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Boa_Vista +40 -0
- package/python/tcl/tcl8.6/tzdata/America/Bogota +9 -0
- package/python/tcl/tcl8.6/tzdata/America/Boise +281 -0
- package/python/tcl/tcl8.6/tzdata/America/Buenos_Aires +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Cambridge_Bay +252 -0
- package/python/tcl/tcl8.6/tzdata/America/Campo_Grande +96 -0
- package/python/tcl/tcl8.6/tzdata/America/Cancun +47 -0
- package/python/tcl/tcl8.6/tzdata/America/Caracas +10 -0
- package/python/tcl/tcl8.6/tzdata/America/Catamarca +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Cayenne +7 -0
- package/python/tcl/tcl8.6/tzdata/America/Cayman +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Chicago +369 -0
- package/python/tcl/tcl8.6/tzdata/America/Chihuahua +221 -0
- package/python/tcl/tcl8.6/tzdata/America/Coral_Harbour +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Cordoba +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Costa_Rica +15 -0
- package/python/tcl/tcl8.6/tzdata/America/Creston +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Cuiaba +96 -0
- package/python/tcl/tcl8.6/tzdata/America/Curacao +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Danmarkshavn +39 -0
- package/python/tcl/tcl8.6/tzdata/America/Dawson +98 -0
- package/python/tcl/tcl8.6/tzdata/America/Dawson_Creek +64 -0
- package/python/tcl/tcl8.6/tzdata/America/Denver +291 -0
- package/python/tcl/tcl8.6/tzdata/America/Detroit +275 -0
- package/python/tcl/tcl8.6/tzdata/America/Dominica +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Edmonton +280 -0
- package/python/tcl/tcl8.6/tzdata/America/Eirunepe +41 -0
- package/python/tcl/tcl8.6/tzdata/America/El_Salvador +10 -0
- package/python/tcl/tcl8.6/tzdata/America/Ensenada +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Fort_Nelson +151 -0
- package/python/tcl/tcl8.6/tzdata/America/Fort_Wayne +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Fortaleza +48 -0
- package/python/tcl/tcl8.6/tzdata/America/Glace_Bay +273 -0
- package/python/tcl/tcl8.6/tzdata/America/Godthab +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Goose_Bay +338 -0
- package/python/tcl/tcl8.6/tzdata/America/Grand_Turk +245 -0
- package/python/tcl/tcl8.6/tzdata/America/Grenada +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Guadeloupe +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Guatemala +14 -0
- package/python/tcl/tcl8.6/tzdata/America/Guayaquil +9 -0
- package/python/tcl/tcl8.6/tzdata/America/Guyana +9 -0
- package/python/tcl/tcl8.6/tzdata/America/Halifax +361 -0
- package/python/tcl/tcl8.6/tzdata/America/Havana +285 -0
- package/python/tcl/tcl8.6/tzdata/America/Hermosillo +21 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Indianapolis +234 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Knox +285 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Marengo +236 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Petersburg +247 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Tell_City +230 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Vevay +213 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Vincennes +234 -0
- package/python/tcl/tcl8.6/tzdata/America/Indiana/Winamac +240 -0
- package/python/tcl/tcl8.6/tzdata/America/Indianapolis +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Inuvik +249 -0
- package/python/tcl/tcl8.6/tzdata/America/Iqaluit +250 -0
- package/python/tcl/tcl8.6/tzdata/America/Jamaica +29 -0
- package/python/tcl/tcl8.6/tzdata/America/Jujuy +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Juneau +276 -0
- package/python/tcl/tcl8.6/tzdata/America/Kentucky/Louisville +311 -0
- package/python/tcl/tcl8.6/tzdata/America/Kentucky/Monticello +279 -0
- package/python/tcl/tcl8.6/tzdata/America/Knox_IN +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Kralendijk +5 -0
- package/python/tcl/tcl8.6/tzdata/America/La_Paz +8 -0
- package/python/tcl/tcl8.6/tzdata/America/Lima +16 -0
- package/python/tcl/tcl8.6/tzdata/America/Los_Angeles +317 -0
- package/python/tcl/tcl8.6/tzdata/America/Louisville +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Lower_Princes +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Maceio +52 -0
- package/python/tcl/tcl8.6/tzdata/America/Managua +21 -0
- package/python/tcl/tcl8.6/tzdata/America/Manaus +39 -0
- package/python/tcl/tcl8.6/tzdata/America/Marigot +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Martinique +9 -0
- package/python/tcl/tcl8.6/tzdata/America/Matamoros +219 -0
- package/python/tcl/tcl8.6/tzdata/America/Mazatlan +222 -0
- package/python/tcl/tcl8.6/tzdata/America/Mendoza +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Menominee +274 -0
- package/python/tcl/tcl8.6/tzdata/America/Merida +216 -0
- package/python/tcl/tcl8.6/tzdata/America/Metlakatla +213 -0
- package/python/tcl/tcl8.6/tzdata/America/Mexico_City +228 -0
- package/python/tcl/tcl8.6/tzdata/America/Miquelon +234 -0
- package/python/tcl/tcl8.6/tzdata/America/Moncton +342 -0
- package/python/tcl/tcl8.6/tzdata/America/Monterrey +218 -0
- package/python/tcl/tcl8.6/tzdata/America/Montevideo +96 -0
- package/python/tcl/tcl8.6/tzdata/America/Montreal +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Montserrat +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Nassau +5 -0
- package/python/tcl/tcl8.6/tzdata/America/New_York +369 -0
- package/python/tcl/tcl8.6/tzdata/America/Nipigon +264 -0
- package/python/tcl/tcl8.6/tzdata/America/Nome +276 -0
- package/python/tcl/tcl8.6/tzdata/America/Noronha +48 -0
- package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Beulah +279 -0
- package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Center +279 -0
- package/python/tcl/tcl8.6/tzdata/America/North_Dakota/New_Salem +279 -0
- package/python/tcl/tcl8.6/tzdata/America/Nuuk +246 -0
- package/python/tcl/tcl8.6/tzdata/America/Ojinaga +222 -0
- package/python/tcl/tcl8.6/tzdata/America/Panama +7 -0
- package/python/tcl/tcl8.6/tzdata/America/Pangnirtung +252 -0
- package/python/tcl/tcl8.6/tzdata/America/Paramaribo +9 -0
- package/python/tcl/tcl8.6/tzdata/America/Phoenix +17 -0
- package/python/tcl/tcl8.6/tzdata/America/Port-au-Prince +215 -0
- package/python/tcl/tcl8.6/tzdata/America/Port_of_Spain +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Porto_Acre +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Porto_Velho +35 -0
- package/python/tcl/tcl8.6/tzdata/America/Puerto_Rico +10 -0
- package/python/tcl/tcl8.6/tzdata/America/Punta_Arenas +122 -0
- package/python/tcl/tcl8.6/tzdata/America/Rainy_River +264 -0
- package/python/tcl/tcl8.6/tzdata/America/Rankin_Inlet +248 -0
- package/python/tcl/tcl8.6/tzdata/America/Recife +48 -0
- package/python/tcl/tcl8.6/tzdata/America/Regina +58 -0
- package/python/tcl/tcl8.6/tzdata/America/Resolute +248 -0
- package/python/tcl/tcl8.6/tzdata/America/Rio_Branco +37 -0
- package/python/tcl/tcl8.6/tzdata/America/Rosario +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Santa_Isabel +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Santarem +36 -0
- package/python/tcl/tcl8.6/tzdata/America/Santiago +289 -0
- package/python/tcl/tcl8.6/tzdata/America/Santo_Domingo +21 -0
- package/python/tcl/tcl8.6/tzdata/America/Sao_Paulo +97 -0
- package/python/tcl/tcl8.6/tzdata/America/Scoresbysund +246 -0
- package/python/tcl/tcl8.6/tzdata/America/Shiprock +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Sitka +275 -0
- package/python/tcl/tcl8.6/tzdata/America/St_Barthelemy +5 -0
- package/python/tcl/tcl8.6/tzdata/America/St_Johns +372 -0
- package/python/tcl/tcl8.6/tzdata/America/St_Kitts +5 -0
- package/python/tcl/tcl8.6/tzdata/America/St_Lucia +5 -0
- package/python/tcl/tcl8.6/tzdata/America/St_Thomas +5 -0
- package/python/tcl/tcl8.6/tzdata/America/St_Vincent +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Swift_Current +29 -0
- package/python/tcl/tcl8.6/tzdata/America/Tegucigalpa +12 -0
- package/python/tcl/tcl8.6/tzdata/America/Thule +224 -0
- package/python/tcl/tcl8.6/tzdata/America/Thunder_Bay +272 -0
- package/python/tcl/tcl8.6/tzdata/America/Tijuana +285 -0
- package/python/tcl/tcl8.6/tzdata/America/Toronto +365 -0
- package/python/tcl/tcl8.6/tzdata/America/Tortola +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Vancouver +320 -0
- package/python/tcl/tcl8.6/tzdata/America/Virgin +5 -0
- package/python/tcl/tcl8.6/tzdata/America/Whitehorse +98 -0
- package/python/tcl/tcl8.6/tzdata/America/Winnipeg +316 -0
- package/python/tcl/tcl8.6/tzdata/America/Yakutat +276 -0
- package/python/tcl/tcl8.6/tzdata/America/Yellowknife +252 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Casey +17 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Davis +12 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/DumontDUrville +5 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Macquarie +276 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Mawson +7 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/McMurdo +5 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Palmer +87 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Rothera +6 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/South_Pole +5 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Syowa +5 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Troll +196 -0
- package/python/tcl/tcl8.6/tzdata/Antarctica/Vostok +6 -0
- package/python/tcl/tcl8.6/tzdata/Arctic/Longyearbyen +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Aden +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Almaty +57 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Amman +246 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Anadyr +72 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Aqtau +58 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Aqtobe +58 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Ashgabat +31 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Ashkhabad +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Atyrau +58 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Baghdad +59 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Bahrain +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Baku +74 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Bangkok +7 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Barnaul +73 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Beirut +270 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Bishkek +58 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Brunei +7 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Calcutta +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Chita +72 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Choibalsan +56 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Chongqing +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Chungking +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Colombo +13 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Dacca +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Damascus +280 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Dhaka +13 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Dili +9 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Dubai +6 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Dushanbe +29 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Famagusta +256 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Gaza +284 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Harbin +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Hebron +283 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Ho_Chi_Minh +14 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Hong_Kong +75 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Hovd +55 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Irkutsk +72 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Istanbul +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Jakarta +13 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Jayapura +8 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Jerusalem +278 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kabul +7 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kamchatka +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Karachi +16 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kashgar +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kathmandu +7 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Katmandu +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Khandyga +73 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kolkata +12 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Krasnoyarsk +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kuala_Lumpur +13 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kuching +23 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Kuwait +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Macao +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Macau +76 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Magadan +72 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Makassar +9 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Manila +15 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Muscat +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Nicosia +257 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Novokuznetsk +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Novosibirsk +73 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Omsk +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Oral +58 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Phnom_Penh +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Pontianak +13 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Pyongyang +10 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Qatar +7 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Qostanay +58 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Qyzylorda +58 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Rangoon +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Riyadh +6 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Saigon +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Sakhalin +73 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Samarkand +31 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Seoul +34 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Shanghai +34 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Singapore +13 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Srednekolymsk +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Taipei +46 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Tashkent +31 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Tbilisi +60 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Tehran +229 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Tel_Aviv +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Thimbu +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Thimphu +7 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Tokyo +14 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Tomsk +73 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Ujung_Pandang +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Ulaanbaatar +55 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Ulan_Bator +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Urumqi +6 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Ust-Nera +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Vientiane +5 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Vladivostok +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Yakutsk +71 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Yangon +9 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Yekaterinburg +72 -0
- package/python/tcl/tcl8.6/tzdata/Asia/Yerevan +70 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Azores +347 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Bermuda +286 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Canary +247 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Cape_Verde +9 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Faeroe +5 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Faroe +245 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Jan_Mayen +5 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Madeira +348 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Reykjavik +73 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/South_Georgia +6 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/St_Helena +5 -0
- package/python/tcl/tcl8.6/tzdata/Atlantic/Stanley +75 -0
- package/python/tcl/tcl8.6/tzdata/Australia/ACT +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Adelaide +273 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Brisbane +23 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Broken_Hill +275 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Canberra +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Currie +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Darwin +15 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Eucla +25 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Hobart +285 -0
- package/python/tcl/tcl8.6/tzdata/Australia/LHI +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Lindeman +28 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Lord_Howe +245 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Melbourne +272 -0
- package/python/tcl/tcl8.6/tzdata/Australia/NSW +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/North +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Perth +25 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Queensland +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/South +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Sydney +272 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Tasmania +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Victoria +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/West +5 -0
- package/python/tcl/tcl8.6/tzdata/Australia/Yancowinna +5 -0
- package/python/tcl/tcl8.6/tzdata/Brazil/Acre +5 -0
- package/python/tcl/tcl8.6/tzdata/Brazil/DeNoronha +5 -0
- package/python/tcl/tcl8.6/tzdata/Brazil/East +5 -0
- package/python/tcl/tcl8.6/tzdata/Brazil/West +5 -0
- package/python/tcl/tcl8.6/tzdata/CET +265 -0
- package/python/tcl/tcl8.6/tzdata/CST6CDT +278 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Atlantic +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Central +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/East-Saskatchewan +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Eastern +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Mountain +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Newfoundland +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Pacific +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Saskatchewan +5 -0
- package/python/tcl/tcl8.6/tzdata/Canada/Yukon +5 -0
- package/python/tcl/tcl8.6/tzdata/Chile/Continental +5 -0
- package/python/tcl/tcl8.6/tzdata/Chile/EasterIsland +5 -0
- package/python/tcl/tcl8.6/tzdata/Cuba +5 -0
- package/python/tcl/tcl8.6/tzdata/EET +251 -0
- package/python/tcl/tcl8.6/tzdata/EST +5 -0
- package/python/tcl/tcl8.6/tzdata/EST5EDT +278 -0
- package/python/tcl/tcl8.6/tzdata/Egypt +5 -0
- package/python/tcl/tcl8.6/tzdata/Eire +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+0 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+1 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+10 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+11 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+12 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+2 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+3 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+4 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+5 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+6 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+7 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+8 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT+9 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-0 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-1 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-10 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-11 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-12 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-13 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-14 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-2 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-3 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-4 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-5 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-6 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-7 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-8 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT-9 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/GMT0 +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/Greenwich +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/UCT +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/UTC +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/Universal +5 -0
- package/python/tcl/tcl8.6/tzdata/Etc/Zulu +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Amsterdam +310 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Andorra +237 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Astrakhan +71 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Athens +268 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Belfast +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Belgrade +250 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Berlin +274 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Bratislava +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Brussels +316 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Bucharest +268 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Budapest +283 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Busingen +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Chisinau +272 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Copenhagen +264 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Dublin +358 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Gibraltar +328 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Guernsey +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Helsinki +248 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Isle_of_Man +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Istanbul +125 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Jersey +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Kaliningrad +86 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Kiev +251 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Kirov +70 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Lisbon +353 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Ljubljana +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/London +372 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Luxembourg +313 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Madrid +292 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Malta +299 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Mariehamn +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Minsk +75 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Monaco +315 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Moscow +83 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Nicosia +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Oslo +271 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Paris +314 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Podgorica +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Prague +275 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Riga +258 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Rome +302 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Samara +73 -0
- package/python/tcl/tcl8.6/tzdata/Europe/San_Marino +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Sarajevo +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Saratov +71 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Simferopol +82 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Skopje +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Sofia +258 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Stockholm +250 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Tallinn +254 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Tirane +263 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Tiraspol +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Ulyanovsk +73 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Uzhgorod +254 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Vaduz +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Vatican +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Vienna +271 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Vilnius +252 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Volgograd +73 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Warsaw +296 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Zagreb +5 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Zaporozhye +252 -0
- package/python/tcl/tcl8.6/tzdata/Europe/Zurich +250 -0
- package/python/tcl/tcl8.6/tzdata/GB +5 -0
- package/python/tcl/tcl8.6/tzdata/GB-Eire +5 -0
- package/python/tcl/tcl8.6/tzdata/GMT +5 -0
- package/python/tcl/tcl8.6/tzdata/GMT+0 +5 -0
- package/python/tcl/tcl8.6/tzdata/GMT-0 +5 -0
- package/python/tcl/tcl8.6/tzdata/GMT0 +5 -0
- package/python/tcl/tcl8.6/tzdata/Greenwich +5 -0
- package/python/tcl/tcl8.6/tzdata/HST +5 -0
- package/python/tcl/tcl8.6/tzdata/Hongkong +5 -0
- package/python/tcl/tcl8.6/tzdata/Iceland +5 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Antananarivo +5 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Chagos +7 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Christmas +6 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Cocos +6 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Comoro +5 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Kerguelen +6 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Mahe +6 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Maldives +7 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Mauritius +10 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Mayotte +5 -0
- package/python/tcl/tcl8.6/tzdata/Indian/Reunion +6 -0
- package/python/tcl/tcl8.6/tzdata/Iran +5 -0
- package/python/tcl/tcl8.6/tzdata/Israel +5 -0
- package/python/tcl/tcl8.6/tzdata/Jamaica +5 -0
- package/python/tcl/tcl8.6/tzdata/Japan +5 -0
- package/python/tcl/tcl8.6/tzdata/Kwajalein +5 -0
- package/python/tcl/tcl8.6/tzdata/Libya +5 -0
- package/python/tcl/tcl8.6/tzdata/MET +265 -0
- package/python/tcl/tcl8.6/tzdata/MST +5 -0
- package/python/tcl/tcl8.6/tzdata/MST7MDT +278 -0
- package/python/tcl/tcl8.6/tzdata/Mexico/BajaNorte +5 -0
- package/python/tcl/tcl8.6/tzdata/Mexico/BajaSur +5 -0
- package/python/tcl/tcl8.6/tzdata/Mexico/General +5 -0
- package/python/tcl/tcl8.6/tzdata/NZ +5 -0
- package/python/tcl/tcl8.6/tzdata/NZ-CHAT +5 -0
- package/python/tcl/tcl8.6/tzdata/Navajo +5 -0
- package/python/tcl/tcl8.6/tzdata/PRC +5 -0
- package/python/tcl/tcl8.6/tzdata/PST8PDT +278 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Apia +31 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Auckland +285 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Bougainville +10 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Chatham +258 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Chuuk +11 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Easter +268 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Efate +28 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Enderbury +5 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Fakaofo +7 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Fiji +189 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Funafuti +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Galapagos +9 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Gambier +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Guadalcanal +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Guam +26 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Honolulu +12 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Johnston +5 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Kanton +8 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Kiritimati +8 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Kosrae +14 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Kwajalein +11 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Majuro +12 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Marquesas +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Midway +5 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Nauru +9 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Niue +7 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Norfolk +172 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Noumea +12 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Pago_Pago +7 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Palau +7 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Pitcairn +7 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Pohnpei +12 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Ponape +5 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Port_Moresby +7 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Rarotonga +33 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Saipan +5 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Samoa +5 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Tahiti +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Tarawa +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Tongatapu +16 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Truk +5 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Wake +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Wallis +6 -0
- package/python/tcl/tcl8.6/tzdata/Pacific/Yap +5 -0
- package/python/tcl/tcl8.6/tzdata/Poland +5 -0
- package/python/tcl/tcl8.6/tzdata/Portugal +5 -0
- package/python/tcl/tcl8.6/tzdata/ROC +5 -0
- package/python/tcl/tcl8.6/tzdata/ROK +5 -0
- package/python/tcl/tcl8.6/tzdata/Singapore +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/AST4 +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/AST4ADT +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/CST6 +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/CST6CDT +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/EST5 +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/EST5EDT +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/HST10 +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/MST7 +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/MST7MDT +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/PST8 +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/PST8PDT +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/YST9 +5 -0
- package/python/tcl/tcl8.6/tzdata/SystemV/YST9YDT +5 -0
- package/python/tcl/tcl8.6/tzdata/Turkey +5 -0
- package/python/tcl/tcl8.6/tzdata/UCT +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Alaska +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Aleutian +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Arizona +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Central +5 -0
- package/python/tcl/tcl8.6/tzdata/US/East-Indiana +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Eastern +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Hawaii +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Indiana-Starke +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Michigan +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Mountain +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Pacific +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Pacific-New +5 -0
- package/python/tcl/tcl8.6/tzdata/US/Samoa +5 -0
- package/python/tcl/tcl8.6/tzdata/UTC +5 -0
- package/python/tcl/tcl8.6/tzdata/Universal +5 -0
- package/python/tcl/tcl8.6/tzdata/W-SU +5 -0
- package/python/tcl/tcl8.6/tzdata/WET +251 -0
- package/python/tcl/tcl8.6/tzdata/Zulu +5 -0
- package/python/tcl/tcl8.6/word.tcl +154 -0
- package/python/tcl/tcl86t.lib +0 -0
- package/python/tcl/tclConfig.sh +181 -0
- package/python/tcl/tclooConfig.sh +19 -0
- package/python/tcl/tclstub86.lib +0 -0
- package/python/tcl/tix8.4.3/Balloon.tcl +585 -0
- package/python/tcl/tix8.4.3/BtnBox.tcl +120 -0
- package/python/tcl/tix8.4.3/CObjView.tcl +360 -0
- package/python/tcl/tix8.4.3/ChkList.tcl +239 -0
- package/python/tcl/tix8.4.3/ComboBox.tcl +1558 -0
- package/python/tcl/tix8.4.3/Compat.tcl +33 -0
- package/python/tcl/tix8.4.3/Console.tcl +612 -0
- package/python/tcl/tix8.4.3/Control.tcl +482 -0
- package/python/tcl/tix8.4.3/DefSchm.tcl +103 -0
- package/python/tcl/tix8.4.3/DialogS.tcl +175 -0
- package/python/tcl/tix8.4.3/DirBox.tcl +207 -0
- package/python/tcl/tix8.4.3/DirDlg.tcl +95 -0
- package/python/tcl/tix8.4.3/DirList.tcl +272 -0
- package/python/tcl/tix8.4.3/DirTree.tcl +350 -0
- package/python/tcl/tix8.4.3/DragDrop.tcl +166 -0
- package/python/tcl/tix8.4.3/DtlList.tcl +49 -0
- package/python/tcl/tix8.4.3/EFileBox.tcl +436 -0
- package/python/tcl/tix8.4.3/EFileDlg.tcl +65 -0
- package/python/tcl/tix8.4.3/Event.tcl +217 -0
- package/python/tcl/tix8.4.3/FileBox.tcl +568 -0
- package/python/tcl/tix8.4.3/FileCbx.tcl +108 -0
- package/python/tcl/tix8.4.3/FileDlg.tcl +75 -0
- package/python/tcl/tix8.4.3/FileEnt.tcl +270 -0
- package/python/tcl/tix8.4.3/FloatEnt.tcl +132 -0
- package/python/tcl/tix8.4.3/Grid.tcl +1122 -0
- package/python/tcl/tix8.4.3/HList.tcl +917 -0
- package/python/tcl/tix8.4.3/HListDD.tcl +204 -0
- package/python/tcl/tix8.4.3/IconView.tcl +272 -0
- package/python/tcl/tix8.4.3/Init.tcl +232 -0
- package/python/tcl/tix8.4.3/LabEntry.tcl +86 -0
- package/python/tcl/tix8.4.3/LabFrame.tcl +49 -0
- package/python/tcl/tix8.4.3/LabWidg.tcl +157 -0
- package/python/tcl/tix8.4.3/ListNBk.tcl +153 -0
- package/python/tcl/tix8.4.3/Makefile +5 -0
- package/python/tcl/tix8.4.3/Meter.tcl +137 -0
- package/python/tcl/tix8.4.3/MultView.tcl +157 -0
- package/python/tcl/tix8.4.3/NoteBook.tcl +247 -0
- package/python/tcl/tix8.4.3/OldUtil.tcl +108 -0
- package/python/tcl/tix8.4.3/OptMenu.tcl +394 -0
- package/python/tcl/tix8.4.3/PanedWin.tcl +1215 -0
- package/python/tcl/tix8.4.3/PopMenu.tcl +239 -0
- package/python/tcl/tix8.4.3/Primitiv.tcl +428 -0
- package/python/tcl/tix8.4.3/ResizeH.tcl +505 -0
- package/python/tcl/tix8.4.3/SGrid.tcl +243 -0
- package/python/tcl/tix8.4.3/SHList.tcl +140 -0
- package/python/tcl/tix8.4.3/SListBox.tcl +295 -0
- package/python/tcl/tix8.4.3/STList.tcl +93 -0
- package/python/tcl/tix8.4.3/SText.tcl +134 -0
- package/python/tcl/tix8.4.3/SWidget.tcl +465 -0
- package/python/tcl/tix8.4.3/SWindow.tcl +274 -0
- package/python/tcl/tix8.4.3/Select.tcl +300 -0
- package/python/tcl/tix8.4.3/Shell.tcl +47 -0
- package/python/tcl/tix8.4.3/SimpDlg.tcl +47 -0
- package/python/tcl/tix8.4.3/StackWin.tcl +84 -0
- package/python/tcl/tix8.4.3/StatBar.tcl +56 -0
- package/python/tcl/tix8.4.3/StdBBox.tcl +71 -0
- package/python/tcl/tix8.4.3/StdShell.tcl +49 -0
- package/python/tcl/tix8.4.3/TList.tcl +953 -0
- package/python/tcl/tix8.4.3/Tix.tcl +398 -0
- package/python/tcl/tix8.4.3/Tree.tcl +211 -0
- package/python/tcl/tix8.4.3/Utils.tcl +442 -0
- package/python/tcl/tix8.4.3/VResize.tcl +211 -0
- package/python/tcl/tix8.4.3/VStack.tcl +430 -0
- package/python/tcl/tix8.4.3/VTree.tcl +195 -0
- package/python/tcl/tix8.4.3/Variable.tcl +101 -0
- package/python/tcl/tix8.4.3/WInfo.tcl +40 -0
- package/python/tcl/tix8.4.3/bitmaps/act_fold.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/act_fold.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/act_fold.xpm +22 -0
- package/python/tcl/tix8.4.3/bitmaps/balarrow.xbm +4 -0
- package/python/tcl/tix8.4.3/bitmaps/cbxarrow.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/ck_def.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/ck_off.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/ck_on.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/cross.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/decr.xbm +4 -0
- package/python/tcl/tix8.4.3/bitmaps/drop.xbm +8 -0
- package/python/tcl/tix8.4.3/bitmaps/file.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/file.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/file.xpm +18 -0
- package/python/tcl/tix8.4.3/bitmaps/folder.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/folder.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/folder.xpm +21 -0
- package/python/tcl/tix8.4.3/bitmaps/harddisk.xbm +14 -0
- package/python/tcl/tix8.4.3/bitmaps/hourglas.mask +16 -0
- package/python/tcl/tix8.4.3/bitmaps/hourglas.xbm +16 -0
- package/python/tcl/tix8.4.3/bitmaps/incr.xbm +4 -0
- package/python/tcl/tix8.4.3/bitmaps/info.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/info.xpm +38 -0
- package/python/tcl/tix8.4.3/bitmaps/maximize.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/minimize.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/minus.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/minus.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/minus.xpm +14 -0
- package/python/tcl/tix8.4.3/bitmaps/minusarm.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/minusarm.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/minusarm.xpm +15 -0
- package/python/tcl/tix8.4.3/bitmaps/mktransgif.tcl +14 -0
- package/python/tcl/tix8.4.3/bitmaps/network.xbm +14 -0
- package/python/tcl/tix8.4.3/bitmaps/no_entry.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/no_entry.xpm +39 -0
- package/python/tcl/tix8.4.3/bitmaps/openfile.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/openfold.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/openfold.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/openfold.xpm +21 -0
- package/python/tcl/tix8.4.3/bitmaps/plus.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/plus.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/plus.xpm +14 -0
- package/python/tcl/tix8.4.3/bitmaps/plusarm.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/plusarm.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/plusarm.xpm +15 -0
- package/python/tcl/tix8.4.3/bitmaps/resize1.xbm +8 -0
- package/python/tcl/tix8.4.3/bitmaps/resize2.xbm +8 -0
- package/python/tcl/tix8.4.3/bitmaps/restore.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/srcfile.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/srcfile.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/srcfile.xpm +18 -0
- package/python/tcl/tix8.4.3/bitmaps/system.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/textfile.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/textfile.xbm +5 -0
- package/python/tcl/tix8.4.3/bitmaps/textfile.xpm +18 -0
- package/python/tcl/tix8.4.3/bitmaps/tick.xbm +6 -0
- package/python/tcl/tix8.4.3/bitmaps/warning.gif +0 -0
- package/python/tcl/tix8.4.3/bitmaps/warning.xpm +38 -0
- package/python/tcl/tix8.4.3/demos/MkChoose.tcl +280 -0
- package/python/tcl/tix8.4.3/demos/MkDirLis.tcl +69 -0
- package/python/tcl/tix8.4.3/demos/MkSample.tcl +270 -0
- package/python/tcl/tix8.4.3/demos/MkScroll.tcl +160 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/about.xpm +50 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/bold.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/capital.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/centerj.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/code.xpm +22 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xbm +14 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xpm +49 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xbm +14 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xpm +43 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/exit.xpm +48 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xbm +14 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xpm +49 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xbm +14 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xpm +43 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/italic.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/justify.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/leftj.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/netw.xbm +14 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/netw.xpm +45 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/network.xbm +14 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/network.xpm +45 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/optmenu.xpm +48 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/rightj.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/select.xpm +52 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/tix.gif +0 -0
- package/python/tcl/tix8.4.3/demos/bitmaps/underlin.xbm +6 -0
- package/python/tcl/tix8.4.3/demos/samples/AllSampl.tcl +201 -0
- package/python/tcl/tix8.4.3/demos/samples/ArrowBtn.tcl +187 -0
- package/python/tcl/tix8.4.3/demos/samples/Balloon.tcl +48 -0
- package/python/tcl/tix8.4.3/demos/samples/BtnBox.tcl +57 -0
- package/python/tcl/tix8.4.3/demos/samples/CObjView.tcl +80 -0
- package/python/tcl/tix8.4.3/demos/samples/ChkList.tcl +179 -0
- package/python/tcl/tix8.4.3/demos/samples/CmpImg.tcl +64 -0
- package/python/tcl/tix8.4.3/demos/samples/CmpImg1.tcl +182 -0
- package/python/tcl/tix8.4.3/demos/samples/CmpImg2.tcl +136 -0
- package/python/tcl/tix8.4.3/demos/samples/CmpImg3.tcl +90 -0
- package/python/tcl/tix8.4.3/demos/samples/CmpImg4.tcl +125 -0
- package/python/tcl/tix8.4.3/demos/samples/ComboBox.tcl +119 -0
- package/python/tcl/tix8.4.3/demos/samples/Control.tcl +133 -0
- package/python/tcl/tix8.4.3/demos/samples/DirDlg.tcl +90 -0
- package/python/tcl/tix8.4.3/demos/samples/DirList.tcl +91 -0
- package/python/tcl/tix8.4.3/demos/samples/DirTree.tcl +92 -0
- package/python/tcl/tix8.4.3/demos/samples/DragDrop.tcl +50 -0
- package/python/tcl/tix8.4.3/demos/samples/DynTree.tcl +149 -0
- package/python/tcl/tix8.4.3/demos/samples/EFileDlg.tcl +104 -0
- package/python/tcl/tix8.4.3/demos/samples/EditGrid.tcl +281 -0
- package/python/tcl/tix8.4.3/demos/samples/FileDlg.tcl +98 -0
- package/python/tcl/tix8.4.3/demos/samples/FileEnt.tcl +81 -0
- package/python/tcl/tix8.4.3/demos/samples/HList1.tcl +159 -0
- package/python/tcl/tix8.4.3/demos/samples/LabEntry.tcl +94 -0
- package/python/tcl/tix8.4.3/demos/samples/LabFrame.tcl +85 -0
- package/python/tcl/tix8.4.3/demos/samples/ListNBK.tcl +86 -0
- package/python/tcl/tix8.4.3/demos/samples/Meter.tcl +77 -0
- package/python/tcl/tix8.4.3/demos/samples/NoteBook.tcl +102 -0
- package/python/tcl/tix8.4.3/demos/samples/OptMenu.tcl +103 -0
- package/python/tcl/tix8.4.3/demos/samples/PanedWin.tcl +112 -0
- package/python/tcl/tix8.4.3/demos/samples/PopMenu.tcl +73 -0
- package/python/tcl/tix8.4.3/demos/samples/SGrid0.tcl +135 -0
- package/python/tcl/tix8.4.3/demos/samples/SGrid1.tcl +215 -0
- package/python/tcl/tix8.4.3/demos/samples/SHList.tcl +111 -0
- package/python/tcl/tix8.4.3/demos/samples/SHList2.tcl +159 -0
- package/python/tcl/tix8.4.3/demos/samples/SListBox.tcl +84 -0
- package/python/tcl/tix8.4.3/demos/samples/STList1.tcl +57 -0
- package/python/tcl/tix8.4.3/demos/samples/STList2.tcl +85 -0
- package/python/tcl/tix8.4.3/demos/samples/STList3.tcl +112 -0
- package/python/tcl/tix8.4.3/demos/samples/SText.tcl +75 -0
- package/python/tcl/tix8.4.3/demos/samples/SWindow.tcl +89 -0
- package/python/tcl/tix8.4.3/demos/samples/Sample.tcl +36 -0
- package/python/tcl/tix8.4.3/demos/samples/Select.tcl +114 -0
- package/python/tcl/tix8.4.3/demos/samples/StdBBox.tcl +65 -0
- package/python/tcl/tix8.4.3/demos/samples/Tree.tcl +91 -0
- package/python/tcl/tix8.4.3/demos/samples/Xpm.tcl +89 -0
- package/python/tcl/tix8.4.3/demos/samples/Xpm1.tcl +108 -0
- package/python/tcl/tix8.4.3/demos/tclIndex +55 -0
- package/python/tcl/tix8.4.3/demos/tixwidgets.tcl +344 -0
- package/python/tcl/tix8.4.3/demos/widget +450 -0
- package/python/tcl/tix8.4.3/fs.tcl +170 -0
- package/python/tcl/tix8.4.3/pkgIndex.tcl +2 -0
- package/python/tcl/tix8.4.3/pref/10Point.fs +23 -0
- package/python/tcl/tix8.4.3/pref/10Point.fsc +44 -0
- package/python/tcl/tix8.4.3/pref/12Point.fs +23 -0
- package/python/tcl/tix8.4.3/pref/12Point.fsc +44 -0
- package/python/tcl/tix8.4.3/pref/14Point.fs +22 -0
- package/python/tcl/tix8.4.3/pref/14Point.fsc +50 -0
- package/python/tcl/tix8.4.3/pref/Bisque.cs +35 -0
- package/python/tcl/tix8.4.3/pref/Bisque.csc +338 -0
- package/python/tcl/tix8.4.3/pref/Blue.cs +35 -0
- package/python/tcl/tix8.4.3/pref/Blue.csc +338 -0
- package/python/tcl/tix8.4.3/pref/Gray.cs +36 -0
- package/python/tcl/tix8.4.3/pref/Gray.csc +339 -0
- package/python/tcl/tix8.4.3/pref/Makefile +48 -0
- package/python/tcl/tix8.4.3/pref/Old12Pt.fs +14 -0
- package/python/tcl/tix8.4.3/pref/Old14Pt.fs +13 -0
- package/python/tcl/tix8.4.3/pref/SGIGray.cs +38 -0
- package/python/tcl/tix8.4.3/pref/SGIGray.csc +339 -0
- package/python/tcl/tix8.4.3/pref/TK.cs +35 -0
- package/python/tcl/tix8.4.3/pref/TK.csc +72 -0
- package/python/tcl/tix8.4.3/pref/TK.fs +16 -0
- package/python/tcl/tix8.4.3/pref/TK.fsc +19 -0
- package/python/tcl/tix8.4.3/pref/TixGray.cs +36 -0
- package/python/tcl/tix8.4.3/pref/TixGray.csc +339 -0
- package/python/tcl/tix8.4.3/pref/TkWin.cs +68 -0
- package/python/tcl/tix8.4.3/pref/TkWin.csc +333 -0
- package/python/tcl/tix8.4.3/pref/TkWin.fs +16 -0
- package/python/tcl/tix8.4.3/pref/TkWin.fsc +34 -0
- package/python/tcl/tix8.4.3/pref/WmDefault.cs +45 -0
- package/python/tcl/tix8.4.3/pref/WmDefault.csc +316 -0
- package/python/tcl/tix8.4.3/pref/WmDefault.fs +23 -0
- package/python/tcl/tix8.4.3/pref/WmDefault.fsc +57 -0
- package/python/tcl/tix8.4.3/pref/WmDefault.py +96 -0
- package/python/tcl/tix8.4.3/pref/WmDefault.tcl +1053 -0
- package/python/tcl/tix8.4.3/pref/WmDefault.txt +142 -0
- package/python/tcl/tix8.4.3/pref/pkgIndex.tcl +9 -0
- package/python/tcl/tix8.4.3/pref/tixmkpref +381 -0
- package/python/tcl/tix8.4.3/tix84.dll +0 -0
- package/python/tcl/tix8.4.3/tix84.lib +0 -0
- package/python/tcl/tk8.6/bgerror.tcl +272 -0
- package/python/tcl/tk8.6/button.tcl +782 -0
- package/python/tcl/tk8.6/choosedir.tcl +308 -0
- package/python/tcl/tk8.6/clrpick.tcl +695 -0
- package/python/tcl/tk8.6/comdlg.tcl +322 -0
- package/python/tcl/tk8.6/console.tcl +1150 -0
- package/python/tcl/tk8.6/demos/README +44 -0
- package/python/tcl/tk8.6/demos/anilabel.tcl +160 -0
- package/python/tcl/tk8.6/demos/aniwave.tcl +104 -0
- package/python/tcl/tk8.6/demos/arrow.tcl +241 -0
- package/python/tcl/tk8.6/demos/bind.tcl +78 -0
- package/python/tcl/tk8.6/demos/bitmap.tcl +52 -0
- package/python/tcl/tk8.6/demos/browse +66 -0
- package/python/tcl/tk8.6/demos/button.tcl +47 -0
- package/python/tcl/tk8.6/demos/check.tcl +71 -0
- package/python/tcl/tk8.6/demos/clrpick.tcl +54 -0
- package/python/tcl/tk8.6/demos/colors.tcl +99 -0
- package/python/tcl/tk8.6/demos/combo.tcl +61 -0
- package/python/tcl/tk8.6/demos/cscroll.tcl +172 -0
- package/python/tcl/tk8.6/demos/ctext.tcl +176 -0
- package/python/tcl/tk8.6/demos/dialog1.tcl +25 -0
- package/python/tcl/tk8.6/demos/dialog2.tcl +18 -0
- package/python/tcl/tk8.6/demos/en.msg +97 -0
- package/python/tcl/tk8.6/demos/entry1.tcl +34 -0
- package/python/tcl/tk8.6/demos/entry2.tcl +46 -0
- package/python/tcl/tk8.6/demos/entry3.tcl +185 -0
- package/python/tcl/tk8.6/demos/filebox.tcl +81 -0
- package/python/tcl/tk8.6/demos/floor.tcl +1371 -0
- package/python/tcl/tk8.6/demos/fontchoose.tcl +67 -0
- package/python/tcl/tk8.6/demos/form.tcl +38 -0
- package/python/tcl/tk8.6/demos/goldberg.tcl +1833 -0
- package/python/tcl/tk8.6/demos/hello +22 -0
- package/python/tcl/tk8.6/demos/hscale.tcl +45 -0
- package/python/tcl/tk8.6/demos/icon.tcl +51 -0
- package/python/tcl/tk8.6/demos/image1.tcl +35 -0
- package/python/tcl/tk8.6/demos/image2.tcl +108 -0
- package/python/tcl/tk8.6/demos/images/earth.gif +0 -0
- package/python/tcl/tk8.6/demos/images/earthmenu.png +0 -0
- package/python/tcl/tk8.6/demos/images/earthris.gif +0 -0
- package/python/tcl/tk8.6/demos/images/flagdown.xbm +27 -0
- package/python/tcl/tk8.6/demos/images/flagup.xbm +27 -0
- package/python/tcl/tk8.6/demos/images/gray25.xbm +6 -0
- package/python/tcl/tk8.6/demos/images/letters.xbm +27 -0
- package/python/tcl/tk8.6/demos/images/noletter.xbm +27 -0
- package/python/tcl/tk8.6/demos/images/ouster.png +0 -0
- package/python/tcl/tk8.6/demos/images/pattern.xbm +6 -0
- package/python/tcl/tk8.6/demos/images/tcllogo.gif +0 -0
- package/python/tcl/tk8.6/demos/images/teapot.ppm +31 -0
- package/python/tcl/tk8.6/demos/items.tcl +302 -0
- package/python/tcl/tk8.6/demos/ixset +328 -0
- package/python/tcl/tk8.6/demos/knightstour.tcl +268 -0
- package/python/tcl/tk8.6/demos/label.tcl +40 -0
- package/python/tcl/tk8.6/demos/labelframe.tcl +76 -0
- package/python/tcl/tk8.6/demos/license.terms +40 -0
- package/python/tcl/tk8.6/demos/mclist.tcl +119 -0
- package/python/tcl/tk8.6/demos/menu.tcl +180 -0
- package/python/tcl/tk8.6/demos/menubu.tcl +90 -0
- package/python/tcl/tk8.6/demos/msgbox.tcl +62 -0
- package/python/tcl/tk8.6/demos/nl.msg +125 -0
- package/python/tcl/tk8.6/demos/paned1.tcl +32 -0
- package/python/tcl/tk8.6/demos/paned2.tcl +74 -0
- package/python/tcl/tk8.6/demos/pendulum.tcl +197 -0
- package/python/tcl/tk8.6/demos/plot.tcl +97 -0
- package/python/tcl/tk8.6/demos/puzzle.tcl +82 -0
- package/python/tcl/tk8.6/demos/radio.tcl +66 -0
- package/python/tcl/tk8.6/demos/rmt +210 -0
- package/python/tcl/tk8.6/demos/rolodex +204 -0
- package/python/tcl/tk8.6/demos/ruler.tcl +175 -0
- package/python/tcl/tk8.6/demos/sayings.tcl +44 -0
- package/python/tcl/tk8.6/demos/search.tcl +139 -0
- package/python/tcl/tk8.6/demos/spin.tcl +53 -0
- package/python/tcl/tk8.6/demos/square +60 -0
- package/python/tcl/tk8.6/demos/states.tcl +54 -0
- package/python/tcl/tk8.6/demos/style.tcl +155 -0
- package/python/tcl/tk8.6/demos/tclIndex +67 -0
- package/python/tcl/tk8.6/demos/tcolor +358 -0
- package/python/tcl/tk8.6/demos/text.tcl +113 -0
- package/python/tcl/tk8.6/demos/textpeer.tcl +62 -0
- package/python/tcl/tk8.6/demos/timer +47 -0
- package/python/tcl/tk8.6/demos/toolbar.tcl +92 -0
- package/python/tcl/tk8.6/demos/tree.tcl +89 -0
- package/python/tcl/tk8.6/demos/ttkbut.tcl +84 -0
- package/python/tcl/tk8.6/demos/ttkmenu.tcl +53 -0
- package/python/tcl/tk8.6/demos/ttknote.tcl +57 -0
- package/python/tcl/tk8.6/demos/ttkpane.tcl +112 -0
- package/python/tcl/tk8.6/demos/ttkprogress.tcl +46 -0
- package/python/tcl/tk8.6/demos/ttkscale.tcl +39 -0
- package/python/tcl/tk8.6/demos/twind.tcl +351 -0
- package/python/tcl/tk8.6/demos/unicodeout.tcl +145 -0
- package/python/tcl/tk8.6/demos/vscale.tcl +46 -0
- package/python/tcl/tk8.6/demos/widget +734 -0
- package/python/tcl/tk8.6/dialog.tcl +175 -0
- package/python/tcl/tk8.6/entry.tcl +686 -0
- package/python/tcl/tk8.6/focus.tcl +178 -0
- package/python/tcl/tk8.6/fontchooser.tcl +456 -0
- package/python/tcl/tk8.6/iconlist.tcl +717 -0
- package/python/tcl/tk8.6/icons.tcl +153 -0
- package/python/tcl/tk8.6/images/README +7 -0
- package/python/tcl/tk8.6/images/logo.eps +2091 -0
- package/python/tcl/tk8.6/images/logo100.gif +0 -0
- package/python/tcl/tk8.6/images/logo64.gif +0 -0
- package/python/tcl/tk8.6/images/logoLarge.gif +0 -0
- package/python/tcl/tk8.6/images/logoMed.gif +0 -0
- package/python/tcl/tk8.6/images/pwrdLogo.eps +1897 -0
- package/python/tcl/tk8.6/images/pwrdLogo100.gif +0 -0
- package/python/tcl/tk8.6/images/pwrdLogo150.gif +0 -0
- package/python/tcl/tk8.6/images/pwrdLogo175.gif +0 -0
- package/python/tcl/tk8.6/images/pwrdLogo200.gif +0 -0
- package/python/tcl/tk8.6/images/pwrdLogo75.gif +0 -0
- package/python/tcl/tk8.6/images/tai-ku.gif +0 -0
- package/python/tcl/tk8.6/license.terms +40 -0
- package/python/tcl/tk8.6/listbox.tcl +560 -0
- package/python/tcl/tk8.6/megawidget.tcl +297 -0
- package/python/tcl/tk8.6/menu.tcl +1377 -0
- package/python/tcl/tk8.6/mkpsenc.tcl +1488 -0
- package/python/tcl/tk8.6/msgbox.tcl +427 -0
- package/python/tcl/tk8.6/msgs/cs.msg +77 -0
- package/python/tcl/tk8.6/msgs/da.msg +78 -0
- package/python/tcl/tk8.6/msgs/de.msg +91 -0
- package/python/tcl/tk8.6/msgs/el.msg +86 -0
- package/python/tcl/tk8.6/msgs/en.msg +91 -0
- package/python/tcl/tk8.6/msgs/en_gb.msg +3 -0
- package/python/tcl/tk8.6/msgs/eo.msg +75 -0
- package/python/tcl/tk8.6/msgs/es.msg +76 -0
- package/python/tcl/tk8.6/msgs/fr.msg +72 -0
- package/python/tcl/tk8.6/msgs/hu.msg +78 -0
- package/python/tcl/tk8.6/msgs/it.msg +73 -0
- package/python/tcl/tk8.6/msgs/nl.msg +91 -0
- package/python/tcl/tk8.6/msgs/pl.msg +91 -0
- package/python/tcl/tk8.6/msgs/pt.msg +74 -0
- package/python/tcl/tk8.6/msgs/ru.msg +75 -0
- package/python/tcl/tk8.6/msgs/sv.msg +76 -0
- package/python/tcl/tk8.6/obsolete.tcl +178 -0
- package/python/tcl/tk8.6/optMenu.tcl +43 -0
- package/python/tcl/tk8.6/palette.tcl +244 -0
- package/python/tcl/tk8.6/panedwindow.tcl +194 -0
- package/python/tcl/tk8.6/pkgIndex.tcl +7 -0
- package/python/tcl/tk8.6/safetk.tcl +262 -0
- package/python/tcl/tk8.6/scale.tcl +290 -0
- package/python/tcl/tk8.6/scrlbar.tcl +456 -0
- package/python/tcl/tk8.6/spinbox.tcl +593 -0
- package/python/tcl/tk8.6/tclIndex +253 -0
- package/python/tcl/tk8.6/tearoff.tcl +184 -0
- package/python/tcl/tk8.6/text.tcl +1237 -0
- package/python/tcl/tk8.6/tk.tcl +712 -0
- package/python/tcl/tk8.6/tkfbox.tcl +1240 -0
- package/python/tcl/tk8.6/ttk/altTheme.tcl +109 -0
- package/python/tcl/tk8.6/ttk/aquaTheme.tcl +119 -0
- package/python/tcl/tk8.6/ttk/button.tcl +83 -0
- package/python/tcl/tk8.6/ttk/clamTheme.tcl +147 -0
- package/python/tcl/tk8.6/ttk/classicTheme.tcl +115 -0
- package/python/tcl/tk8.6/ttk/combobox.tcl +448 -0
- package/python/tcl/tk8.6/ttk/cursors.tcl +208 -0
- package/python/tcl/tk8.6/ttk/defaults.tcl +143 -0
- package/python/tcl/tk8.6/ttk/entry.tcl +632 -0
- package/python/tcl/tk8.6/ttk/fonts.tcl +157 -0
- package/python/tcl/tk8.6/ttk/menubutton.tcl +241 -0
- package/python/tcl/tk8.6/ttk/notebook.tcl +199 -0
- package/python/tcl/tk8.6/ttk/panedwindow.tcl +91 -0
- package/python/tcl/tk8.6/ttk/progress.tcl +49 -0
- package/python/tcl/tk8.6/ttk/scale.tcl +94 -0
- package/python/tcl/tk8.6/ttk/scrollbar.tcl +126 -0
- package/python/tcl/tk8.6/ttk/sizegrip.tcl +102 -0
- package/python/tcl/tk8.6/ttk/spinbox.tcl +192 -0
- package/python/tcl/tk8.6/ttk/treeview.tcl +383 -0
- package/python/tcl/tk8.6/ttk/ttk.tcl +176 -0
- package/python/tcl/tk8.6/ttk/utils.tcl +337 -0
- package/python/tcl/tk8.6/ttk/vistaTheme.tcl +229 -0
- package/python/tcl/tk8.6/ttk/winTheme.tcl +84 -0
- package/python/tcl/tk8.6/ttk/xpTheme.tcl +67 -0
- package/python/tcl/tk8.6/unsupported.tcl +269 -0
- package/python/tcl/tk8.6/xmfbox.tcl +989 -0
- package/python/tcl/tk86t.lib +0 -0
- package/python/tcl/tkstub86.lib +0 -0
- package/python/vcruntime140.dll +0 -0
- package/python/vcruntime140_1.dll +0 -0
- package/runtime-manifest.json +7 -0
|
@@ -0,0 +1,2797 @@
|
|
|
1
|
+
"""An extensible library for opening URLs using a variety of protocols
|
|
2
|
+
|
|
3
|
+
The simplest way to use this module is to call the urlopen function,
|
|
4
|
+
which accepts a string containing a URL or a Request object (described
|
|
5
|
+
below). It opens the URL and returns the results as file-like
|
|
6
|
+
object; the returned object has some extra methods described below.
|
|
7
|
+
|
|
8
|
+
The OpenerDirector manages a collection of Handler objects that do
|
|
9
|
+
all the actual work. Each Handler implements a particular protocol or
|
|
10
|
+
option. The OpenerDirector is a composite object that invokes the
|
|
11
|
+
Handlers needed to open the requested URL. For example, the
|
|
12
|
+
HTTPHandler performs HTTP GET and POST requests and deals with
|
|
13
|
+
non-error returns. The HTTPRedirectHandler automatically deals with
|
|
14
|
+
HTTP 301, 302, 303, 307, and 308 redirect errors, and the
|
|
15
|
+
HTTPDigestAuthHandler deals with digest authentication.
|
|
16
|
+
|
|
17
|
+
urlopen(url, data=None) -- Basic usage is the same as original
|
|
18
|
+
urllib. pass the url and optionally data to post to an HTTP URL, and
|
|
19
|
+
get a file-like object back. One difference is that you can also pass
|
|
20
|
+
a Request instance instead of URL. Raises a URLError (subclass of
|
|
21
|
+
OSError); for HTTP errors, raises an HTTPError, which can also be
|
|
22
|
+
treated as a valid response.
|
|
23
|
+
|
|
24
|
+
build_opener -- Function that creates a new OpenerDirector instance.
|
|
25
|
+
Will install the default handlers. Accepts one or more Handlers as
|
|
26
|
+
arguments, either instances or Handler classes that it will
|
|
27
|
+
instantiate. If one of the argument is a subclass of the default
|
|
28
|
+
handler, the argument will be installed instead of the default.
|
|
29
|
+
|
|
30
|
+
install_opener -- Installs a new opener as the default opener.
|
|
31
|
+
|
|
32
|
+
objects of interest:
|
|
33
|
+
|
|
34
|
+
OpenerDirector -- Sets up the User Agent as the Python-urllib client and manages
|
|
35
|
+
the Handler classes, while dealing with requests and responses.
|
|
36
|
+
|
|
37
|
+
Request -- An object that encapsulates the state of a request. The
|
|
38
|
+
state can be as simple as the URL. It can also include extra HTTP
|
|
39
|
+
headers, e.g. a User-Agent.
|
|
40
|
+
|
|
41
|
+
BaseHandler --
|
|
42
|
+
|
|
43
|
+
internals:
|
|
44
|
+
BaseHandler and parent
|
|
45
|
+
_call_chain conventions
|
|
46
|
+
|
|
47
|
+
Example usage:
|
|
48
|
+
|
|
49
|
+
import urllib.request
|
|
50
|
+
|
|
51
|
+
# set up authentication info
|
|
52
|
+
authinfo = urllib.request.HTTPBasicAuthHandler()
|
|
53
|
+
authinfo.add_password(realm='PDQ Application',
|
|
54
|
+
uri='https://mahler:8092/site-updates.py',
|
|
55
|
+
user='klem',
|
|
56
|
+
passwd='geheim$parole')
|
|
57
|
+
|
|
58
|
+
proxy_support = urllib.request.ProxyHandler({"http" : "http://ahad-haam:3128"})
|
|
59
|
+
|
|
60
|
+
# build a new opener that adds authentication and caching FTP handlers
|
|
61
|
+
opener = urllib.request.build_opener(proxy_support, authinfo,
|
|
62
|
+
urllib.request.CacheFTPHandler)
|
|
63
|
+
|
|
64
|
+
# install it
|
|
65
|
+
urllib.request.install_opener(opener)
|
|
66
|
+
|
|
67
|
+
f = urllib.request.urlopen('https://www.python.org/')
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
# XXX issues:
|
|
71
|
+
# If an authentication error handler that tries to perform
|
|
72
|
+
# authentication for some reason but fails, how should the error be
|
|
73
|
+
# signalled? The client needs to know the HTTP error code. But if
|
|
74
|
+
# the handler knows that the problem was, e.g., that it didn't know
|
|
75
|
+
# that hash algo that requested in the challenge, it would be good to
|
|
76
|
+
# pass that information along to the client, too.
|
|
77
|
+
# ftp errors aren't handled cleanly
|
|
78
|
+
# check digest against correct (i.e. non-apache) implementation
|
|
79
|
+
|
|
80
|
+
# Possible extensions:
|
|
81
|
+
# complex proxies XXX not sure what exactly was meant by this
|
|
82
|
+
# abstract factory for opener
|
|
83
|
+
|
|
84
|
+
import base64
|
|
85
|
+
import bisect
|
|
86
|
+
import email
|
|
87
|
+
import hashlib
|
|
88
|
+
import http.client
|
|
89
|
+
import io
|
|
90
|
+
import os
|
|
91
|
+
import re
|
|
92
|
+
import socket
|
|
93
|
+
import string
|
|
94
|
+
import sys
|
|
95
|
+
import time
|
|
96
|
+
import tempfile
|
|
97
|
+
import contextlib
|
|
98
|
+
import warnings
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
from urllib.error import URLError, HTTPError, ContentTooShortError
|
|
102
|
+
from urllib.parse import (
|
|
103
|
+
urlparse, urlsplit, urljoin, unwrap, quote, unquote,
|
|
104
|
+
_splittype, _splithost, _splitport, _splituser, _splitpasswd,
|
|
105
|
+
_splitattr, _splitquery, _splitvalue, _splittag, _to_bytes,
|
|
106
|
+
unquote_to_bytes, urlunparse)
|
|
107
|
+
from urllib.response import addinfourl, addclosehook
|
|
108
|
+
|
|
109
|
+
# check for SSL
|
|
110
|
+
try:
|
|
111
|
+
import ssl
|
|
112
|
+
except ImportError:
|
|
113
|
+
_have_ssl = False
|
|
114
|
+
else:
|
|
115
|
+
_have_ssl = True
|
|
116
|
+
|
|
117
|
+
__all__ = [
|
|
118
|
+
# Classes
|
|
119
|
+
'Request', 'OpenerDirector', 'BaseHandler', 'HTTPDefaultErrorHandler',
|
|
120
|
+
'HTTPRedirectHandler', 'HTTPCookieProcessor', 'ProxyHandler',
|
|
121
|
+
'HTTPPasswordMgr', 'HTTPPasswordMgrWithDefaultRealm',
|
|
122
|
+
'HTTPPasswordMgrWithPriorAuth', 'AbstractBasicAuthHandler',
|
|
123
|
+
'HTTPBasicAuthHandler', 'ProxyBasicAuthHandler', 'AbstractDigestAuthHandler',
|
|
124
|
+
'HTTPDigestAuthHandler', 'ProxyDigestAuthHandler', 'HTTPHandler',
|
|
125
|
+
'FileHandler', 'FTPHandler', 'CacheFTPHandler', 'DataHandler',
|
|
126
|
+
'UnknownHandler', 'HTTPErrorProcessor',
|
|
127
|
+
# Functions
|
|
128
|
+
'urlopen', 'install_opener', 'build_opener',
|
|
129
|
+
'pathname2url', 'url2pathname', 'getproxies',
|
|
130
|
+
# Legacy interface
|
|
131
|
+
'urlretrieve', 'urlcleanup', 'URLopener', 'FancyURLopener',
|
|
132
|
+
]
|
|
133
|
+
|
|
134
|
+
# used in User-Agent header sent
|
|
135
|
+
__version__ = '%d.%d' % sys.version_info[:2]
|
|
136
|
+
|
|
137
|
+
_opener = None
|
|
138
|
+
def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
|
139
|
+
*, context=None):
|
|
140
|
+
'''Open the URL url, which can be either a string or a Request object.
|
|
141
|
+
|
|
142
|
+
*data* must be an object specifying additional data to be sent to
|
|
143
|
+
the server, or None if no such data is needed. See Request for
|
|
144
|
+
details.
|
|
145
|
+
|
|
146
|
+
urllib.request module uses HTTP/1.1 and includes a "Connection:close"
|
|
147
|
+
header in its HTTP requests.
|
|
148
|
+
|
|
149
|
+
The optional *timeout* parameter specifies a timeout in seconds for
|
|
150
|
+
blocking operations like the connection attempt (if not specified, the
|
|
151
|
+
global default timeout setting will be used). This only works for HTTP,
|
|
152
|
+
HTTPS and FTP connections.
|
|
153
|
+
|
|
154
|
+
If *context* is specified, it must be a ssl.SSLContext instance describing
|
|
155
|
+
the various SSL options. See HTTPSConnection for more details.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
This function always returns an object which can work as a
|
|
159
|
+
context manager and has the properties url, headers, and status.
|
|
160
|
+
See urllib.response.addinfourl for more detail on these properties.
|
|
161
|
+
|
|
162
|
+
For HTTP and HTTPS URLs, this function returns a http.client.HTTPResponse
|
|
163
|
+
object slightly modified. In addition to the three new methods above, the
|
|
164
|
+
msg attribute contains the same information as the reason attribute ---
|
|
165
|
+
the reason phrase returned by the server --- instead of the response
|
|
166
|
+
headers as it is specified in the documentation for HTTPResponse.
|
|
167
|
+
|
|
168
|
+
For FTP, file, and data URLs and requests explicitly handled by legacy
|
|
169
|
+
URLopener and FancyURLopener classes, this function returns a
|
|
170
|
+
urllib.response.addinfourl object.
|
|
171
|
+
|
|
172
|
+
Note that None may be returned if no handler handles the request (though
|
|
173
|
+
the default installed global OpenerDirector uses UnknownHandler to ensure
|
|
174
|
+
this never happens).
|
|
175
|
+
|
|
176
|
+
In addition, if proxy settings are detected (for example, when a *_proxy
|
|
177
|
+
environment variable like http_proxy is set), ProxyHandler is default
|
|
178
|
+
installed and makes sure the requests are handled through the proxy.
|
|
179
|
+
|
|
180
|
+
'''
|
|
181
|
+
global _opener
|
|
182
|
+
if context:
|
|
183
|
+
https_handler = HTTPSHandler(context=context)
|
|
184
|
+
opener = build_opener(https_handler)
|
|
185
|
+
elif _opener is None:
|
|
186
|
+
_opener = opener = build_opener()
|
|
187
|
+
else:
|
|
188
|
+
opener = _opener
|
|
189
|
+
return opener.open(url, data, timeout)
|
|
190
|
+
|
|
191
|
+
def install_opener(opener):
|
|
192
|
+
global _opener
|
|
193
|
+
_opener = opener
|
|
194
|
+
|
|
195
|
+
_url_tempfiles = []
|
|
196
|
+
def urlretrieve(url, filename=None, reporthook=None, data=None):
|
|
197
|
+
"""
|
|
198
|
+
Retrieve a URL into a temporary location on disk.
|
|
199
|
+
|
|
200
|
+
Requires a URL argument. If a filename is passed, it is used as
|
|
201
|
+
the temporary file location. The reporthook argument should be
|
|
202
|
+
a callable that accepts a block number, a read size, and the
|
|
203
|
+
total file size of the URL target. The data argument should be
|
|
204
|
+
valid URL encoded data.
|
|
205
|
+
|
|
206
|
+
If a filename is passed and the URL points to a local resource,
|
|
207
|
+
the result is a copy from local file to new file.
|
|
208
|
+
|
|
209
|
+
Returns a tuple containing the path to the newly created
|
|
210
|
+
data file as well as the resulting HTTPMessage object.
|
|
211
|
+
"""
|
|
212
|
+
url_type, path = _splittype(url)
|
|
213
|
+
|
|
214
|
+
with contextlib.closing(urlopen(url, data)) as fp:
|
|
215
|
+
headers = fp.info()
|
|
216
|
+
|
|
217
|
+
# Just return the local path and the "headers" for file://
|
|
218
|
+
# URLs. No sense in performing a copy unless requested.
|
|
219
|
+
if url_type == "file" and not filename:
|
|
220
|
+
return os.path.normpath(path), headers
|
|
221
|
+
|
|
222
|
+
# Handle temporary file setup.
|
|
223
|
+
if filename:
|
|
224
|
+
tfp = open(filename, 'wb')
|
|
225
|
+
else:
|
|
226
|
+
tfp = tempfile.NamedTemporaryFile(delete=False)
|
|
227
|
+
filename = tfp.name
|
|
228
|
+
_url_tempfiles.append(filename)
|
|
229
|
+
|
|
230
|
+
with tfp:
|
|
231
|
+
result = filename, headers
|
|
232
|
+
bs = 1024*8
|
|
233
|
+
size = -1
|
|
234
|
+
read = 0
|
|
235
|
+
blocknum = 0
|
|
236
|
+
if "content-length" in headers:
|
|
237
|
+
size = int(headers["Content-Length"])
|
|
238
|
+
|
|
239
|
+
if reporthook:
|
|
240
|
+
reporthook(blocknum, bs, size)
|
|
241
|
+
|
|
242
|
+
while block := fp.read(bs):
|
|
243
|
+
read += len(block)
|
|
244
|
+
tfp.write(block)
|
|
245
|
+
blocknum += 1
|
|
246
|
+
if reporthook:
|
|
247
|
+
reporthook(blocknum, bs, size)
|
|
248
|
+
|
|
249
|
+
if size >= 0 and read < size:
|
|
250
|
+
raise ContentTooShortError(
|
|
251
|
+
"retrieval incomplete: got only %i out of %i bytes"
|
|
252
|
+
% (read, size), result)
|
|
253
|
+
|
|
254
|
+
return result
|
|
255
|
+
|
|
256
|
+
def urlcleanup():
|
|
257
|
+
"""Clean up temporary files from urlretrieve calls."""
|
|
258
|
+
for temp_file in _url_tempfiles:
|
|
259
|
+
try:
|
|
260
|
+
os.unlink(temp_file)
|
|
261
|
+
except OSError:
|
|
262
|
+
pass
|
|
263
|
+
|
|
264
|
+
del _url_tempfiles[:]
|
|
265
|
+
global _opener
|
|
266
|
+
if _opener:
|
|
267
|
+
_opener = None
|
|
268
|
+
|
|
269
|
+
# copied from cookielib.py
|
|
270
|
+
_cut_port_re = re.compile(r":\d+$", re.ASCII)
|
|
271
|
+
def request_host(request):
|
|
272
|
+
"""Return request-host, as defined by RFC 2965.
|
|
273
|
+
|
|
274
|
+
Variation from RFC: returned value is lowercased, for convenient
|
|
275
|
+
comparison.
|
|
276
|
+
|
|
277
|
+
"""
|
|
278
|
+
url = request.full_url
|
|
279
|
+
host = urlparse(url)[1]
|
|
280
|
+
if host == "":
|
|
281
|
+
host = request.get_header("Host", "")
|
|
282
|
+
|
|
283
|
+
# remove port, if present
|
|
284
|
+
host = _cut_port_re.sub("", host, 1)
|
|
285
|
+
return host.lower()
|
|
286
|
+
|
|
287
|
+
class Request:
|
|
288
|
+
|
|
289
|
+
def __init__(self, url, data=None, headers={},
|
|
290
|
+
origin_req_host=None, unverifiable=False,
|
|
291
|
+
method=None):
|
|
292
|
+
self.full_url = url
|
|
293
|
+
self.headers = {}
|
|
294
|
+
self.unredirected_hdrs = {}
|
|
295
|
+
self._data = None
|
|
296
|
+
self.data = data
|
|
297
|
+
self._tunnel_host = None
|
|
298
|
+
for key, value in headers.items():
|
|
299
|
+
self.add_header(key, value)
|
|
300
|
+
if origin_req_host is None:
|
|
301
|
+
origin_req_host = request_host(self)
|
|
302
|
+
self.origin_req_host = origin_req_host
|
|
303
|
+
self.unverifiable = unverifiable
|
|
304
|
+
if method:
|
|
305
|
+
self.method = method
|
|
306
|
+
|
|
307
|
+
@property
|
|
308
|
+
def full_url(self):
|
|
309
|
+
if self.fragment:
|
|
310
|
+
return '{}#{}'.format(self._full_url, self.fragment)
|
|
311
|
+
return self._full_url
|
|
312
|
+
|
|
313
|
+
@full_url.setter
|
|
314
|
+
def full_url(self, url):
|
|
315
|
+
# unwrap('<URL:type://host/path>') --> 'type://host/path'
|
|
316
|
+
self._full_url = unwrap(url)
|
|
317
|
+
self._full_url, self.fragment = _splittag(self._full_url)
|
|
318
|
+
self._parse()
|
|
319
|
+
|
|
320
|
+
@full_url.deleter
|
|
321
|
+
def full_url(self):
|
|
322
|
+
self._full_url = None
|
|
323
|
+
self.fragment = None
|
|
324
|
+
self.selector = ''
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
def data(self):
|
|
328
|
+
return self._data
|
|
329
|
+
|
|
330
|
+
@data.setter
|
|
331
|
+
def data(self, data):
|
|
332
|
+
if data != self._data:
|
|
333
|
+
self._data = data
|
|
334
|
+
# issue 16464
|
|
335
|
+
# if we change data we need to remove content-length header
|
|
336
|
+
# (cause it's most probably calculated for previous value)
|
|
337
|
+
if self.has_header("Content-length"):
|
|
338
|
+
self.remove_header("Content-length")
|
|
339
|
+
|
|
340
|
+
@data.deleter
|
|
341
|
+
def data(self):
|
|
342
|
+
self.data = None
|
|
343
|
+
|
|
344
|
+
def _parse(self):
|
|
345
|
+
self.type, rest = _splittype(self._full_url)
|
|
346
|
+
if self.type is None:
|
|
347
|
+
raise ValueError("unknown url type: %r" % self.full_url)
|
|
348
|
+
self.host, self.selector = _splithost(rest)
|
|
349
|
+
if self.host:
|
|
350
|
+
self.host = unquote(self.host)
|
|
351
|
+
|
|
352
|
+
def get_method(self):
|
|
353
|
+
"""Return a string indicating the HTTP request method."""
|
|
354
|
+
default_method = "POST" if self.data is not None else "GET"
|
|
355
|
+
return getattr(self, 'method', default_method)
|
|
356
|
+
|
|
357
|
+
def get_full_url(self):
|
|
358
|
+
return self.full_url
|
|
359
|
+
|
|
360
|
+
def set_proxy(self, host, type):
|
|
361
|
+
if self.type == 'https' and not self._tunnel_host:
|
|
362
|
+
self._tunnel_host = self.host
|
|
363
|
+
else:
|
|
364
|
+
self.type= type
|
|
365
|
+
self.selector = self.full_url
|
|
366
|
+
self.host = host
|
|
367
|
+
|
|
368
|
+
def has_proxy(self):
|
|
369
|
+
return self.selector == self.full_url
|
|
370
|
+
|
|
371
|
+
def add_header(self, key, val):
|
|
372
|
+
# useful for something like authentication
|
|
373
|
+
self.headers[key.capitalize()] = val
|
|
374
|
+
|
|
375
|
+
def add_unredirected_header(self, key, val):
|
|
376
|
+
# will not be added to a redirected request
|
|
377
|
+
self.unredirected_hdrs[key.capitalize()] = val
|
|
378
|
+
|
|
379
|
+
def has_header(self, header_name):
|
|
380
|
+
return (header_name in self.headers or
|
|
381
|
+
header_name in self.unredirected_hdrs)
|
|
382
|
+
|
|
383
|
+
def get_header(self, header_name, default=None):
|
|
384
|
+
return self.headers.get(
|
|
385
|
+
header_name,
|
|
386
|
+
self.unredirected_hdrs.get(header_name, default))
|
|
387
|
+
|
|
388
|
+
def remove_header(self, header_name):
|
|
389
|
+
self.headers.pop(header_name, None)
|
|
390
|
+
self.unredirected_hdrs.pop(header_name, None)
|
|
391
|
+
|
|
392
|
+
def header_items(self):
|
|
393
|
+
hdrs = {**self.unredirected_hdrs, **self.headers}
|
|
394
|
+
return list(hdrs.items())
|
|
395
|
+
|
|
396
|
+
class OpenerDirector:
|
|
397
|
+
def __init__(self):
|
|
398
|
+
client_version = "Python-urllib/%s" % __version__
|
|
399
|
+
self.addheaders = [('User-agent', client_version)]
|
|
400
|
+
# self.handlers is retained only for backward compatibility
|
|
401
|
+
self.handlers = []
|
|
402
|
+
# manage the individual handlers
|
|
403
|
+
self.handle_open = {}
|
|
404
|
+
self.handle_error = {}
|
|
405
|
+
self.process_response = {}
|
|
406
|
+
self.process_request = {}
|
|
407
|
+
|
|
408
|
+
def add_handler(self, handler):
|
|
409
|
+
if not hasattr(handler, "add_parent"):
|
|
410
|
+
raise TypeError("expected BaseHandler instance, got %r" %
|
|
411
|
+
type(handler))
|
|
412
|
+
|
|
413
|
+
added = False
|
|
414
|
+
for meth in dir(handler):
|
|
415
|
+
if meth in ["redirect_request", "do_open", "proxy_open"]:
|
|
416
|
+
# oops, coincidental match
|
|
417
|
+
continue
|
|
418
|
+
|
|
419
|
+
i = meth.find("_")
|
|
420
|
+
protocol = meth[:i]
|
|
421
|
+
condition = meth[i+1:]
|
|
422
|
+
|
|
423
|
+
if condition.startswith("error"):
|
|
424
|
+
j = condition.find("_") + i + 1
|
|
425
|
+
kind = meth[j+1:]
|
|
426
|
+
try:
|
|
427
|
+
kind = int(kind)
|
|
428
|
+
except ValueError:
|
|
429
|
+
pass
|
|
430
|
+
lookup = self.handle_error.get(protocol, {})
|
|
431
|
+
self.handle_error[protocol] = lookup
|
|
432
|
+
elif condition == "open":
|
|
433
|
+
kind = protocol
|
|
434
|
+
lookup = self.handle_open
|
|
435
|
+
elif condition == "response":
|
|
436
|
+
kind = protocol
|
|
437
|
+
lookup = self.process_response
|
|
438
|
+
elif condition == "request":
|
|
439
|
+
kind = protocol
|
|
440
|
+
lookup = self.process_request
|
|
441
|
+
else:
|
|
442
|
+
continue
|
|
443
|
+
|
|
444
|
+
handlers = lookup.setdefault(kind, [])
|
|
445
|
+
if handlers:
|
|
446
|
+
bisect.insort(handlers, handler)
|
|
447
|
+
else:
|
|
448
|
+
handlers.append(handler)
|
|
449
|
+
added = True
|
|
450
|
+
|
|
451
|
+
if added:
|
|
452
|
+
bisect.insort(self.handlers, handler)
|
|
453
|
+
handler.add_parent(self)
|
|
454
|
+
|
|
455
|
+
def close(self):
|
|
456
|
+
# Only exists for backwards compatibility.
|
|
457
|
+
pass
|
|
458
|
+
|
|
459
|
+
def _call_chain(self, chain, kind, meth_name, *args):
|
|
460
|
+
# Handlers raise an exception if no one else should try to handle
|
|
461
|
+
# the request, or return None if they can't but another handler
|
|
462
|
+
# could. Otherwise, they return the response.
|
|
463
|
+
handlers = chain.get(kind, ())
|
|
464
|
+
for handler in handlers:
|
|
465
|
+
func = getattr(handler, meth_name)
|
|
466
|
+
result = func(*args)
|
|
467
|
+
if result is not None:
|
|
468
|
+
return result
|
|
469
|
+
|
|
470
|
+
def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
|
471
|
+
# accept a URL or a Request object
|
|
472
|
+
if isinstance(fullurl, str):
|
|
473
|
+
req = Request(fullurl, data)
|
|
474
|
+
else:
|
|
475
|
+
req = fullurl
|
|
476
|
+
if data is not None:
|
|
477
|
+
req.data = data
|
|
478
|
+
|
|
479
|
+
req.timeout = timeout
|
|
480
|
+
protocol = req.type
|
|
481
|
+
|
|
482
|
+
# pre-process request
|
|
483
|
+
meth_name = protocol+"_request"
|
|
484
|
+
for processor in self.process_request.get(protocol, []):
|
|
485
|
+
meth = getattr(processor, meth_name)
|
|
486
|
+
req = meth(req)
|
|
487
|
+
|
|
488
|
+
sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method())
|
|
489
|
+
response = self._open(req, data)
|
|
490
|
+
|
|
491
|
+
# post-process response
|
|
492
|
+
meth_name = protocol+"_response"
|
|
493
|
+
for processor in self.process_response.get(protocol, []):
|
|
494
|
+
meth = getattr(processor, meth_name)
|
|
495
|
+
response = meth(req, response)
|
|
496
|
+
|
|
497
|
+
return response
|
|
498
|
+
|
|
499
|
+
def _open(self, req, data=None):
|
|
500
|
+
result = self._call_chain(self.handle_open, 'default',
|
|
501
|
+
'default_open', req)
|
|
502
|
+
if result:
|
|
503
|
+
return result
|
|
504
|
+
|
|
505
|
+
protocol = req.type
|
|
506
|
+
result = self._call_chain(self.handle_open, protocol, protocol +
|
|
507
|
+
'_open', req)
|
|
508
|
+
if result:
|
|
509
|
+
return result
|
|
510
|
+
|
|
511
|
+
return self._call_chain(self.handle_open, 'unknown',
|
|
512
|
+
'unknown_open', req)
|
|
513
|
+
|
|
514
|
+
def error(self, proto, *args):
|
|
515
|
+
if proto in ('http', 'https'):
|
|
516
|
+
# XXX http[s] protocols are special-cased
|
|
517
|
+
dict = self.handle_error['http'] # https is not different than http
|
|
518
|
+
proto = args[2] # YUCK!
|
|
519
|
+
meth_name = 'http_error_%s' % proto
|
|
520
|
+
http_err = 1
|
|
521
|
+
orig_args = args
|
|
522
|
+
else:
|
|
523
|
+
dict = self.handle_error
|
|
524
|
+
meth_name = proto + '_error'
|
|
525
|
+
http_err = 0
|
|
526
|
+
args = (dict, proto, meth_name) + args
|
|
527
|
+
result = self._call_chain(*args)
|
|
528
|
+
if result:
|
|
529
|
+
return result
|
|
530
|
+
|
|
531
|
+
if http_err:
|
|
532
|
+
args = (dict, 'default', 'http_error_default') + orig_args
|
|
533
|
+
return self._call_chain(*args)
|
|
534
|
+
|
|
535
|
+
# XXX probably also want an abstract factory that knows when it makes
|
|
536
|
+
# sense to skip a superclass in favor of a subclass and when it might
|
|
537
|
+
# make sense to include both
|
|
538
|
+
|
|
539
|
+
def build_opener(*handlers):
|
|
540
|
+
"""Create an opener object from a list of handlers.
|
|
541
|
+
|
|
542
|
+
The opener will use several default handlers, including support
|
|
543
|
+
for HTTP, FTP and when applicable HTTPS.
|
|
544
|
+
|
|
545
|
+
If any of the handlers passed as arguments are subclasses of the
|
|
546
|
+
default handlers, the default handlers will not be used.
|
|
547
|
+
"""
|
|
548
|
+
opener = OpenerDirector()
|
|
549
|
+
default_classes = [ProxyHandler, UnknownHandler, HTTPHandler,
|
|
550
|
+
HTTPDefaultErrorHandler, HTTPRedirectHandler,
|
|
551
|
+
FTPHandler, FileHandler, HTTPErrorProcessor,
|
|
552
|
+
DataHandler]
|
|
553
|
+
if hasattr(http.client, "HTTPSConnection"):
|
|
554
|
+
default_classes.append(HTTPSHandler)
|
|
555
|
+
skip = set()
|
|
556
|
+
for klass in default_classes:
|
|
557
|
+
for check in handlers:
|
|
558
|
+
if isinstance(check, type):
|
|
559
|
+
if issubclass(check, klass):
|
|
560
|
+
skip.add(klass)
|
|
561
|
+
elif isinstance(check, klass):
|
|
562
|
+
skip.add(klass)
|
|
563
|
+
for klass in skip:
|
|
564
|
+
default_classes.remove(klass)
|
|
565
|
+
|
|
566
|
+
for klass in default_classes:
|
|
567
|
+
opener.add_handler(klass())
|
|
568
|
+
|
|
569
|
+
for h in handlers:
|
|
570
|
+
if isinstance(h, type):
|
|
571
|
+
h = h()
|
|
572
|
+
opener.add_handler(h)
|
|
573
|
+
return opener
|
|
574
|
+
|
|
575
|
+
class BaseHandler:
|
|
576
|
+
handler_order = 500
|
|
577
|
+
|
|
578
|
+
def add_parent(self, parent):
|
|
579
|
+
self.parent = parent
|
|
580
|
+
|
|
581
|
+
def close(self):
|
|
582
|
+
# Only exists for backwards compatibility
|
|
583
|
+
pass
|
|
584
|
+
|
|
585
|
+
def __lt__(self, other):
|
|
586
|
+
if not hasattr(other, "handler_order"):
|
|
587
|
+
# Try to preserve the old behavior of having custom classes
|
|
588
|
+
# inserted after default ones (works only for custom user
|
|
589
|
+
# classes which are not aware of handler_order).
|
|
590
|
+
return True
|
|
591
|
+
return self.handler_order < other.handler_order
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
class HTTPErrorProcessor(BaseHandler):
|
|
595
|
+
"""Process HTTP error responses."""
|
|
596
|
+
handler_order = 1000 # after all other processing
|
|
597
|
+
|
|
598
|
+
def http_response(self, request, response):
|
|
599
|
+
code, msg, hdrs = response.code, response.msg, response.info()
|
|
600
|
+
|
|
601
|
+
# According to RFC 2616, "2xx" code indicates that the client's
|
|
602
|
+
# request was successfully received, understood, and accepted.
|
|
603
|
+
if not (200 <= code < 300):
|
|
604
|
+
response = self.parent.error(
|
|
605
|
+
'http', request, response, code, msg, hdrs)
|
|
606
|
+
|
|
607
|
+
return response
|
|
608
|
+
|
|
609
|
+
https_response = http_response
|
|
610
|
+
|
|
611
|
+
class HTTPDefaultErrorHandler(BaseHandler):
|
|
612
|
+
def http_error_default(self, req, fp, code, msg, hdrs):
|
|
613
|
+
raise HTTPError(req.full_url, code, msg, hdrs, fp)
|
|
614
|
+
|
|
615
|
+
class HTTPRedirectHandler(BaseHandler):
|
|
616
|
+
# maximum number of redirections to any single URL
|
|
617
|
+
# this is needed because of the state that cookies introduce
|
|
618
|
+
max_repeats = 4
|
|
619
|
+
# maximum total number of redirections (regardless of URL) before
|
|
620
|
+
# assuming we're in a loop
|
|
621
|
+
max_redirections = 10
|
|
622
|
+
|
|
623
|
+
def redirect_request(self, req, fp, code, msg, headers, newurl):
|
|
624
|
+
"""Return a Request or None in response to a redirect.
|
|
625
|
+
|
|
626
|
+
This is called by the http_error_30x methods when a
|
|
627
|
+
redirection response is received. If a redirection should
|
|
628
|
+
take place, return a new Request to allow http_error_30x to
|
|
629
|
+
perform the redirect. Otherwise, raise HTTPError if no-one
|
|
630
|
+
else should try to handle this url. Return None if you can't
|
|
631
|
+
but another Handler might.
|
|
632
|
+
"""
|
|
633
|
+
m = req.get_method()
|
|
634
|
+
if (not (code in (301, 302, 303, 307, 308) and m in ("GET", "HEAD")
|
|
635
|
+
or code in (301, 302, 303) and m == "POST")):
|
|
636
|
+
raise HTTPError(req.full_url, code, msg, headers, fp)
|
|
637
|
+
|
|
638
|
+
# Strictly (according to RFC 2616), 301 or 302 in response to
|
|
639
|
+
# a POST MUST NOT cause a redirection without confirmation
|
|
640
|
+
# from the user (of urllib.request, in this case). In practice,
|
|
641
|
+
# essentially all clients do redirect in this case, so we do
|
|
642
|
+
# the same.
|
|
643
|
+
|
|
644
|
+
# Be conciliant with URIs containing a space. This is mainly
|
|
645
|
+
# redundant with the more complete encoding done in http_error_302(),
|
|
646
|
+
# but it is kept for compatibility with other callers.
|
|
647
|
+
newurl = newurl.replace(' ', '%20')
|
|
648
|
+
|
|
649
|
+
CONTENT_HEADERS = ("content-length", "content-type")
|
|
650
|
+
newheaders = {k: v for k, v in req.headers.items()
|
|
651
|
+
if k.lower() not in CONTENT_HEADERS}
|
|
652
|
+
return Request(newurl,
|
|
653
|
+
method="HEAD" if m == "HEAD" else "GET",
|
|
654
|
+
headers=newheaders,
|
|
655
|
+
origin_req_host=req.origin_req_host,
|
|
656
|
+
unverifiable=True)
|
|
657
|
+
|
|
658
|
+
# Implementation note: To avoid the server sending us into an
|
|
659
|
+
# infinite loop, the request object needs to track what URLs we
|
|
660
|
+
# have already seen. Do this by adding a handler-specific
|
|
661
|
+
# attribute to the Request object.
|
|
662
|
+
def http_error_302(self, req, fp, code, msg, headers):
|
|
663
|
+
# Some servers (incorrectly) return multiple Location headers
|
|
664
|
+
# (so probably same goes for URI). Use first header.
|
|
665
|
+
if "location" in headers:
|
|
666
|
+
newurl = headers["location"]
|
|
667
|
+
elif "uri" in headers:
|
|
668
|
+
newurl = headers["uri"]
|
|
669
|
+
else:
|
|
670
|
+
return
|
|
671
|
+
|
|
672
|
+
# fix a possible malformed URL
|
|
673
|
+
urlparts = urlparse(newurl)
|
|
674
|
+
|
|
675
|
+
# For security reasons we don't allow redirection to anything other
|
|
676
|
+
# than http, https or ftp.
|
|
677
|
+
|
|
678
|
+
if urlparts.scheme not in ('http', 'https', 'ftp', ''):
|
|
679
|
+
raise HTTPError(
|
|
680
|
+
newurl, code,
|
|
681
|
+
"%s - Redirection to url '%s' is not allowed" % (msg, newurl),
|
|
682
|
+
headers, fp)
|
|
683
|
+
|
|
684
|
+
if not urlparts.path and urlparts.netloc:
|
|
685
|
+
urlparts = list(urlparts)
|
|
686
|
+
urlparts[2] = "/"
|
|
687
|
+
newurl = urlunparse(urlparts)
|
|
688
|
+
|
|
689
|
+
# http.client.parse_headers() decodes as ISO-8859-1. Recover the
|
|
690
|
+
# original bytes and percent-encode non-ASCII bytes, and any special
|
|
691
|
+
# characters such as the space.
|
|
692
|
+
newurl = quote(
|
|
693
|
+
newurl, encoding="iso-8859-1", safe=string.punctuation)
|
|
694
|
+
newurl = urljoin(req.full_url, newurl)
|
|
695
|
+
|
|
696
|
+
# XXX Probably want to forget about the state of the current
|
|
697
|
+
# request, although that might interact poorly with other
|
|
698
|
+
# handlers that also use handler-specific request attributes
|
|
699
|
+
new = self.redirect_request(req, fp, code, msg, headers, newurl)
|
|
700
|
+
if new is None:
|
|
701
|
+
return
|
|
702
|
+
|
|
703
|
+
# loop detection
|
|
704
|
+
# .redirect_dict has a key url if url was previously visited.
|
|
705
|
+
if hasattr(req, 'redirect_dict'):
|
|
706
|
+
visited = new.redirect_dict = req.redirect_dict
|
|
707
|
+
if (visited.get(newurl, 0) >= self.max_repeats or
|
|
708
|
+
len(visited) >= self.max_redirections):
|
|
709
|
+
raise HTTPError(req.full_url, code,
|
|
710
|
+
self.inf_msg + msg, headers, fp)
|
|
711
|
+
else:
|
|
712
|
+
visited = new.redirect_dict = req.redirect_dict = {}
|
|
713
|
+
visited[newurl] = visited.get(newurl, 0) + 1
|
|
714
|
+
|
|
715
|
+
# Don't close the fp until we are sure that we won't use it
|
|
716
|
+
# with HTTPError.
|
|
717
|
+
fp.read()
|
|
718
|
+
fp.close()
|
|
719
|
+
|
|
720
|
+
return self.parent.open(new, timeout=req.timeout)
|
|
721
|
+
|
|
722
|
+
http_error_301 = http_error_303 = http_error_307 = http_error_308 = http_error_302
|
|
723
|
+
|
|
724
|
+
inf_msg = "The HTTP server returned a redirect error that would " \
|
|
725
|
+
"lead to an infinite loop.\n" \
|
|
726
|
+
"The last 30x error message was:\n"
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
def _parse_proxy(proxy):
|
|
730
|
+
"""Return (scheme, user, password, host/port) given a URL or an authority.
|
|
731
|
+
|
|
732
|
+
If a URL is supplied, it must have an authority (host:port) component.
|
|
733
|
+
According to RFC 3986, having an authority component means the URL must
|
|
734
|
+
have two slashes after the scheme.
|
|
735
|
+
"""
|
|
736
|
+
scheme, r_scheme = _splittype(proxy)
|
|
737
|
+
if not r_scheme.startswith("/"):
|
|
738
|
+
# authority
|
|
739
|
+
scheme = None
|
|
740
|
+
authority = proxy
|
|
741
|
+
else:
|
|
742
|
+
# URL
|
|
743
|
+
if not r_scheme.startswith("//"):
|
|
744
|
+
raise ValueError("proxy URL with no authority: %r" % proxy)
|
|
745
|
+
# We have an authority, so for RFC 3986-compliant URLs (by ss 3.
|
|
746
|
+
# and 3.3.), path is empty or starts with '/'
|
|
747
|
+
if '@' in r_scheme:
|
|
748
|
+
host_separator = r_scheme.find('@')
|
|
749
|
+
end = r_scheme.find("/", host_separator)
|
|
750
|
+
else:
|
|
751
|
+
end = r_scheme.find("/", 2)
|
|
752
|
+
if end == -1:
|
|
753
|
+
end = None
|
|
754
|
+
authority = r_scheme[2:end]
|
|
755
|
+
userinfo, hostport = _splituser(authority)
|
|
756
|
+
if userinfo is not None:
|
|
757
|
+
user, password = _splitpasswd(userinfo)
|
|
758
|
+
else:
|
|
759
|
+
user = password = None
|
|
760
|
+
return scheme, user, password, hostport
|
|
761
|
+
|
|
762
|
+
class ProxyHandler(BaseHandler):
|
|
763
|
+
# Proxies must be in front
|
|
764
|
+
handler_order = 100
|
|
765
|
+
|
|
766
|
+
def __init__(self, proxies=None):
|
|
767
|
+
if proxies is None:
|
|
768
|
+
proxies = getproxies()
|
|
769
|
+
assert hasattr(proxies, 'keys'), "proxies must be a mapping"
|
|
770
|
+
self.proxies = proxies
|
|
771
|
+
for type, url in proxies.items():
|
|
772
|
+
type = type.lower()
|
|
773
|
+
setattr(self, '%s_open' % type,
|
|
774
|
+
lambda r, proxy=url, type=type, meth=self.proxy_open:
|
|
775
|
+
meth(r, proxy, type))
|
|
776
|
+
|
|
777
|
+
def proxy_open(self, req, proxy, type):
|
|
778
|
+
orig_type = req.type
|
|
779
|
+
proxy_type, user, password, hostport = _parse_proxy(proxy)
|
|
780
|
+
if proxy_type is None:
|
|
781
|
+
proxy_type = orig_type
|
|
782
|
+
|
|
783
|
+
if req.host and proxy_bypass(req.host):
|
|
784
|
+
return None
|
|
785
|
+
|
|
786
|
+
if user and password:
|
|
787
|
+
user_pass = '%s:%s' % (unquote(user),
|
|
788
|
+
unquote(password))
|
|
789
|
+
creds = base64.b64encode(user_pass.encode()).decode("ascii")
|
|
790
|
+
req.add_header('Proxy-authorization', 'Basic ' + creds)
|
|
791
|
+
hostport = unquote(hostport)
|
|
792
|
+
req.set_proxy(hostport, proxy_type)
|
|
793
|
+
if orig_type == proxy_type or orig_type == 'https':
|
|
794
|
+
# let other handlers take care of it
|
|
795
|
+
return None
|
|
796
|
+
else:
|
|
797
|
+
# need to start over, because the other handlers don't
|
|
798
|
+
# grok the proxy's URL type
|
|
799
|
+
# e.g. if we have a constructor arg proxies like so:
|
|
800
|
+
# {'http': 'ftp://proxy.example.com'}, we may end up turning
|
|
801
|
+
# a request for http://acme.example.com/a into one for
|
|
802
|
+
# ftp://proxy.example.com/a
|
|
803
|
+
return self.parent.open(req, timeout=req.timeout)
|
|
804
|
+
|
|
805
|
+
class HTTPPasswordMgr:
|
|
806
|
+
|
|
807
|
+
def __init__(self):
|
|
808
|
+
self.passwd = {}
|
|
809
|
+
|
|
810
|
+
def add_password(self, realm, uri, user, passwd):
|
|
811
|
+
# uri could be a single URI or a sequence
|
|
812
|
+
if isinstance(uri, str):
|
|
813
|
+
uri = [uri]
|
|
814
|
+
if realm not in self.passwd:
|
|
815
|
+
self.passwd[realm] = {}
|
|
816
|
+
for default_port in True, False:
|
|
817
|
+
reduced_uri = tuple(
|
|
818
|
+
self.reduce_uri(u, default_port) for u in uri)
|
|
819
|
+
self.passwd[realm][reduced_uri] = (user, passwd)
|
|
820
|
+
|
|
821
|
+
def find_user_password(self, realm, authuri):
|
|
822
|
+
domains = self.passwd.get(realm, {})
|
|
823
|
+
for default_port in True, False:
|
|
824
|
+
reduced_authuri = self.reduce_uri(authuri, default_port)
|
|
825
|
+
for uris, authinfo in domains.items():
|
|
826
|
+
for uri in uris:
|
|
827
|
+
if self.is_suburi(uri, reduced_authuri):
|
|
828
|
+
return authinfo
|
|
829
|
+
return None, None
|
|
830
|
+
|
|
831
|
+
def reduce_uri(self, uri, default_port=True):
|
|
832
|
+
"""Accept authority or URI and extract only the authority and path."""
|
|
833
|
+
# note HTTP URLs do not have a userinfo component
|
|
834
|
+
parts = urlsplit(uri)
|
|
835
|
+
if parts[1]:
|
|
836
|
+
# URI
|
|
837
|
+
scheme = parts[0]
|
|
838
|
+
authority = parts[1]
|
|
839
|
+
path = parts[2] or '/'
|
|
840
|
+
else:
|
|
841
|
+
# host or host:port
|
|
842
|
+
scheme = None
|
|
843
|
+
authority = uri
|
|
844
|
+
path = '/'
|
|
845
|
+
host, port = _splitport(authority)
|
|
846
|
+
if default_port and port is None and scheme is not None:
|
|
847
|
+
dport = {"http": 80,
|
|
848
|
+
"https": 443,
|
|
849
|
+
}.get(scheme)
|
|
850
|
+
if dport is not None:
|
|
851
|
+
authority = "%s:%d" % (host, dport)
|
|
852
|
+
return authority, path
|
|
853
|
+
|
|
854
|
+
def is_suburi(self, base, test):
|
|
855
|
+
"""Check if test is below base in a URI tree
|
|
856
|
+
|
|
857
|
+
Both args must be URIs in reduced form.
|
|
858
|
+
"""
|
|
859
|
+
if base == test:
|
|
860
|
+
return True
|
|
861
|
+
if base[0] != test[0]:
|
|
862
|
+
return False
|
|
863
|
+
prefix = base[1]
|
|
864
|
+
if prefix[-1:] != '/':
|
|
865
|
+
prefix += '/'
|
|
866
|
+
return test[1].startswith(prefix)
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
class HTTPPasswordMgrWithDefaultRealm(HTTPPasswordMgr):
|
|
870
|
+
|
|
871
|
+
def find_user_password(self, realm, authuri):
|
|
872
|
+
user, password = HTTPPasswordMgr.find_user_password(self, realm,
|
|
873
|
+
authuri)
|
|
874
|
+
if user is not None:
|
|
875
|
+
return user, password
|
|
876
|
+
return HTTPPasswordMgr.find_user_password(self, None, authuri)
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
class HTTPPasswordMgrWithPriorAuth(HTTPPasswordMgrWithDefaultRealm):
|
|
880
|
+
|
|
881
|
+
def __init__(self):
|
|
882
|
+
self.authenticated = {}
|
|
883
|
+
super().__init__()
|
|
884
|
+
|
|
885
|
+
def add_password(self, realm, uri, user, passwd, is_authenticated=False):
|
|
886
|
+
self.update_authenticated(uri, is_authenticated)
|
|
887
|
+
# Add a default for prior auth requests
|
|
888
|
+
if realm is not None:
|
|
889
|
+
super().add_password(None, uri, user, passwd)
|
|
890
|
+
super().add_password(realm, uri, user, passwd)
|
|
891
|
+
|
|
892
|
+
def update_authenticated(self, uri, is_authenticated=False):
|
|
893
|
+
# uri could be a single URI or a sequence
|
|
894
|
+
if isinstance(uri, str):
|
|
895
|
+
uri = [uri]
|
|
896
|
+
|
|
897
|
+
for default_port in True, False:
|
|
898
|
+
for u in uri:
|
|
899
|
+
reduced_uri = self.reduce_uri(u, default_port)
|
|
900
|
+
self.authenticated[reduced_uri] = is_authenticated
|
|
901
|
+
|
|
902
|
+
def is_authenticated(self, authuri):
|
|
903
|
+
for default_port in True, False:
|
|
904
|
+
reduced_authuri = self.reduce_uri(authuri, default_port)
|
|
905
|
+
for uri in self.authenticated:
|
|
906
|
+
if self.is_suburi(uri, reduced_authuri):
|
|
907
|
+
return self.authenticated[uri]
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
class AbstractBasicAuthHandler:
|
|
911
|
+
|
|
912
|
+
# XXX this allows for multiple auth-schemes, but will stupidly pick
|
|
913
|
+
# the last one with a realm specified.
|
|
914
|
+
|
|
915
|
+
# allow for double- and single-quoted realm values
|
|
916
|
+
# (single quotes are a violation of the RFC, but appear in the wild)
|
|
917
|
+
rx = re.compile('(?:^|,)' # start of the string or ','
|
|
918
|
+
'[ \t]*' # optional whitespaces
|
|
919
|
+
'([^ \t,]+)' # scheme like "Basic"
|
|
920
|
+
'[ \t]+' # mandatory whitespaces
|
|
921
|
+
# realm=xxx
|
|
922
|
+
# realm='xxx'
|
|
923
|
+
# realm="xxx"
|
|
924
|
+
'realm=(["\']?)([^"\']*)\\2',
|
|
925
|
+
re.I)
|
|
926
|
+
|
|
927
|
+
# XXX could pre-emptively send auth info already accepted (RFC 2617,
|
|
928
|
+
# end of section 2, and section 1.2 immediately after "credentials"
|
|
929
|
+
# production).
|
|
930
|
+
|
|
931
|
+
def __init__(self, password_mgr=None):
|
|
932
|
+
if password_mgr is None:
|
|
933
|
+
password_mgr = HTTPPasswordMgr()
|
|
934
|
+
self.passwd = password_mgr
|
|
935
|
+
self.add_password = self.passwd.add_password
|
|
936
|
+
|
|
937
|
+
def _parse_realm(self, header):
|
|
938
|
+
# parse WWW-Authenticate header: accept multiple challenges per header
|
|
939
|
+
found_challenge = False
|
|
940
|
+
for mo in AbstractBasicAuthHandler.rx.finditer(header):
|
|
941
|
+
scheme, quote, realm = mo.groups()
|
|
942
|
+
if quote not in ['"', "'"]:
|
|
943
|
+
warnings.warn("Basic Auth Realm was unquoted",
|
|
944
|
+
UserWarning, 3)
|
|
945
|
+
|
|
946
|
+
yield (scheme, realm)
|
|
947
|
+
|
|
948
|
+
found_challenge = True
|
|
949
|
+
|
|
950
|
+
if not found_challenge:
|
|
951
|
+
if header:
|
|
952
|
+
scheme = header.split()[0]
|
|
953
|
+
else:
|
|
954
|
+
scheme = ''
|
|
955
|
+
yield (scheme, None)
|
|
956
|
+
|
|
957
|
+
def http_error_auth_reqed(self, authreq, host, req, headers):
|
|
958
|
+
# host may be an authority (without userinfo) or a URL with an
|
|
959
|
+
# authority
|
|
960
|
+
headers = headers.get_all(authreq)
|
|
961
|
+
if not headers:
|
|
962
|
+
# no header found
|
|
963
|
+
return
|
|
964
|
+
|
|
965
|
+
unsupported = None
|
|
966
|
+
for header in headers:
|
|
967
|
+
for scheme, realm in self._parse_realm(header):
|
|
968
|
+
if scheme.lower() != 'basic':
|
|
969
|
+
unsupported = scheme
|
|
970
|
+
continue
|
|
971
|
+
|
|
972
|
+
if realm is not None:
|
|
973
|
+
# Use the first matching Basic challenge.
|
|
974
|
+
# Ignore following challenges even if they use the Basic
|
|
975
|
+
# scheme.
|
|
976
|
+
return self.retry_http_basic_auth(host, req, realm)
|
|
977
|
+
|
|
978
|
+
if unsupported is not None:
|
|
979
|
+
raise ValueError("AbstractBasicAuthHandler does not "
|
|
980
|
+
"support the following scheme: %r"
|
|
981
|
+
% (scheme,))
|
|
982
|
+
|
|
983
|
+
def retry_http_basic_auth(self, host, req, realm):
|
|
984
|
+
user, pw = self.passwd.find_user_password(realm, host)
|
|
985
|
+
if pw is not None:
|
|
986
|
+
raw = "%s:%s" % (user, pw)
|
|
987
|
+
auth = "Basic " + base64.b64encode(raw.encode()).decode("ascii")
|
|
988
|
+
if req.get_header(self.auth_header, None) == auth:
|
|
989
|
+
return None
|
|
990
|
+
req.add_unredirected_header(self.auth_header, auth)
|
|
991
|
+
return self.parent.open(req, timeout=req.timeout)
|
|
992
|
+
else:
|
|
993
|
+
return None
|
|
994
|
+
|
|
995
|
+
def http_request(self, req):
|
|
996
|
+
if (not hasattr(self.passwd, 'is_authenticated') or
|
|
997
|
+
not self.passwd.is_authenticated(req.full_url)):
|
|
998
|
+
return req
|
|
999
|
+
|
|
1000
|
+
if not req.has_header('Authorization'):
|
|
1001
|
+
user, passwd = self.passwd.find_user_password(None, req.full_url)
|
|
1002
|
+
credentials = '{0}:{1}'.format(user, passwd).encode()
|
|
1003
|
+
auth_str = base64.standard_b64encode(credentials).decode()
|
|
1004
|
+
req.add_unredirected_header('Authorization',
|
|
1005
|
+
'Basic {}'.format(auth_str.strip()))
|
|
1006
|
+
return req
|
|
1007
|
+
|
|
1008
|
+
def http_response(self, req, response):
|
|
1009
|
+
if hasattr(self.passwd, 'is_authenticated'):
|
|
1010
|
+
if 200 <= response.code < 300:
|
|
1011
|
+
self.passwd.update_authenticated(req.full_url, True)
|
|
1012
|
+
else:
|
|
1013
|
+
self.passwd.update_authenticated(req.full_url, False)
|
|
1014
|
+
return response
|
|
1015
|
+
|
|
1016
|
+
https_request = http_request
|
|
1017
|
+
https_response = http_response
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler):
|
|
1022
|
+
|
|
1023
|
+
auth_header = 'Authorization'
|
|
1024
|
+
|
|
1025
|
+
def http_error_401(self, req, fp, code, msg, headers):
|
|
1026
|
+
url = req.full_url
|
|
1027
|
+
response = self.http_error_auth_reqed('www-authenticate',
|
|
1028
|
+
url, req, headers)
|
|
1029
|
+
return response
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
class ProxyBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler):
|
|
1033
|
+
|
|
1034
|
+
auth_header = 'Proxy-authorization'
|
|
1035
|
+
|
|
1036
|
+
def http_error_407(self, req, fp, code, msg, headers):
|
|
1037
|
+
# http_error_auth_reqed requires that there is no userinfo component in
|
|
1038
|
+
# authority. Assume there isn't one, since urllib.request does not (and
|
|
1039
|
+
# should not, RFC 3986 s. 3.2.1) support requests for URLs containing
|
|
1040
|
+
# userinfo.
|
|
1041
|
+
authority = req.host
|
|
1042
|
+
response = self.http_error_auth_reqed('proxy-authenticate',
|
|
1043
|
+
authority, req, headers)
|
|
1044
|
+
return response
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
# Return n random bytes.
|
|
1048
|
+
_randombytes = os.urandom
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
class AbstractDigestAuthHandler:
|
|
1052
|
+
# Digest authentication is specified in RFC 2617.
|
|
1053
|
+
|
|
1054
|
+
# XXX The client does not inspect the Authentication-Info header
|
|
1055
|
+
# in a successful response.
|
|
1056
|
+
|
|
1057
|
+
# XXX It should be possible to test this implementation against
|
|
1058
|
+
# a mock server that just generates a static set of challenges.
|
|
1059
|
+
|
|
1060
|
+
# XXX qop="auth-int" supports is shaky
|
|
1061
|
+
|
|
1062
|
+
def __init__(self, passwd=None):
|
|
1063
|
+
if passwd is None:
|
|
1064
|
+
passwd = HTTPPasswordMgr()
|
|
1065
|
+
self.passwd = passwd
|
|
1066
|
+
self.add_password = self.passwd.add_password
|
|
1067
|
+
self.retried = 0
|
|
1068
|
+
self.nonce_count = 0
|
|
1069
|
+
self.last_nonce = None
|
|
1070
|
+
|
|
1071
|
+
def reset_retry_count(self):
|
|
1072
|
+
self.retried = 0
|
|
1073
|
+
|
|
1074
|
+
def http_error_auth_reqed(self, auth_header, host, req, headers):
|
|
1075
|
+
authreq = headers.get(auth_header, None)
|
|
1076
|
+
if self.retried > 5:
|
|
1077
|
+
# Don't fail endlessly - if we failed once, we'll probably
|
|
1078
|
+
# fail a second time. Hm. Unless the Password Manager is
|
|
1079
|
+
# prompting for the information. Crap. This isn't great
|
|
1080
|
+
# but it's better than the current 'repeat until recursion
|
|
1081
|
+
# depth exceeded' approach <wink>
|
|
1082
|
+
raise HTTPError(req.full_url, 401, "digest auth failed",
|
|
1083
|
+
headers, None)
|
|
1084
|
+
else:
|
|
1085
|
+
self.retried += 1
|
|
1086
|
+
if authreq:
|
|
1087
|
+
scheme = authreq.split()[0]
|
|
1088
|
+
if scheme.lower() == 'digest':
|
|
1089
|
+
return self.retry_http_digest_auth(req, authreq)
|
|
1090
|
+
elif scheme.lower() != 'basic':
|
|
1091
|
+
raise ValueError("AbstractDigestAuthHandler does not support"
|
|
1092
|
+
" the following scheme: '%s'" % scheme)
|
|
1093
|
+
|
|
1094
|
+
def retry_http_digest_auth(self, req, auth):
|
|
1095
|
+
token, challenge = auth.split(' ', 1)
|
|
1096
|
+
chal = parse_keqv_list(filter(None, parse_http_list(challenge)))
|
|
1097
|
+
auth = self.get_authorization(req, chal)
|
|
1098
|
+
if auth:
|
|
1099
|
+
auth_val = 'Digest %s' % auth
|
|
1100
|
+
if req.headers.get(self.auth_header, None) == auth_val:
|
|
1101
|
+
return None
|
|
1102
|
+
req.add_unredirected_header(self.auth_header, auth_val)
|
|
1103
|
+
resp = self.parent.open(req, timeout=req.timeout)
|
|
1104
|
+
return resp
|
|
1105
|
+
|
|
1106
|
+
def get_cnonce(self, nonce):
|
|
1107
|
+
# The cnonce-value is an opaque
|
|
1108
|
+
# quoted string value provided by the client and used by both client
|
|
1109
|
+
# and server to avoid chosen plaintext attacks, to provide mutual
|
|
1110
|
+
# authentication, and to provide some message integrity protection.
|
|
1111
|
+
# This isn't a fabulous effort, but it's probably Good Enough.
|
|
1112
|
+
s = "%s:%s:%s:" % (self.nonce_count, nonce, time.ctime())
|
|
1113
|
+
b = s.encode("ascii") + _randombytes(8)
|
|
1114
|
+
dig = hashlib.sha1(b).hexdigest()
|
|
1115
|
+
return dig[:16]
|
|
1116
|
+
|
|
1117
|
+
def get_authorization(self, req, chal):
|
|
1118
|
+
try:
|
|
1119
|
+
realm = chal['realm']
|
|
1120
|
+
nonce = chal['nonce']
|
|
1121
|
+
qop = chal.get('qop')
|
|
1122
|
+
algorithm = chal.get('algorithm', 'MD5')
|
|
1123
|
+
# mod_digest doesn't send an opaque, even though it isn't
|
|
1124
|
+
# supposed to be optional
|
|
1125
|
+
opaque = chal.get('opaque', None)
|
|
1126
|
+
except KeyError:
|
|
1127
|
+
return None
|
|
1128
|
+
|
|
1129
|
+
H, KD = self.get_algorithm_impls(algorithm)
|
|
1130
|
+
if H is None:
|
|
1131
|
+
return None
|
|
1132
|
+
|
|
1133
|
+
user, pw = self.passwd.find_user_password(realm, req.full_url)
|
|
1134
|
+
if user is None:
|
|
1135
|
+
return None
|
|
1136
|
+
|
|
1137
|
+
# XXX not implemented yet
|
|
1138
|
+
if req.data is not None:
|
|
1139
|
+
entdig = self.get_entity_digest(req.data, chal)
|
|
1140
|
+
else:
|
|
1141
|
+
entdig = None
|
|
1142
|
+
|
|
1143
|
+
A1 = "%s:%s:%s" % (user, realm, pw)
|
|
1144
|
+
A2 = "%s:%s" % (req.get_method(),
|
|
1145
|
+
# XXX selector: what about proxies and full urls
|
|
1146
|
+
req.selector)
|
|
1147
|
+
# NOTE: As per RFC 2617, when server sends "auth,auth-int", the client could use either `auth`
|
|
1148
|
+
# or `auth-int` to the response back. we use `auth` to send the response back.
|
|
1149
|
+
if qop is None:
|
|
1150
|
+
respdig = KD(H(A1), "%s:%s" % (nonce, H(A2)))
|
|
1151
|
+
elif 'auth' in qop.split(','):
|
|
1152
|
+
if nonce == self.last_nonce:
|
|
1153
|
+
self.nonce_count += 1
|
|
1154
|
+
else:
|
|
1155
|
+
self.nonce_count = 1
|
|
1156
|
+
self.last_nonce = nonce
|
|
1157
|
+
ncvalue = '%08x' % self.nonce_count
|
|
1158
|
+
cnonce = self.get_cnonce(nonce)
|
|
1159
|
+
noncebit = "%s:%s:%s:%s:%s" % (nonce, ncvalue, cnonce, 'auth', H(A2))
|
|
1160
|
+
respdig = KD(H(A1), noncebit)
|
|
1161
|
+
else:
|
|
1162
|
+
# XXX handle auth-int.
|
|
1163
|
+
raise URLError("qop '%s' is not supported." % qop)
|
|
1164
|
+
|
|
1165
|
+
# XXX should the partial digests be encoded too?
|
|
1166
|
+
|
|
1167
|
+
base = 'username="%s", realm="%s", nonce="%s", uri="%s", ' \
|
|
1168
|
+
'response="%s"' % (user, realm, nonce, req.selector,
|
|
1169
|
+
respdig)
|
|
1170
|
+
if opaque:
|
|
1171
|
+
base += ', opaque="%s"' % opaque
|
|
1172
|
+
if entdig:
|
|
1173
|
+
base += ', digest="%s"' % entdig
|
|
1174
|
+
base += ', algorithm="%s"' % algorithm
|
|
1175
|
+
if qop:
|
|
1176
|
+
base += ', qop=auth, nc=%s, cnonce="%s"' % (ncvalue, cnonce)
|
|
1177
|
+
return base
|
|
1178
|
+
|
|
1179
|
+
def get_algorithm_impls(self, algorithm):
|
|
1180
|
+
# lambdas assume digest modules are imported at the top level
|
|
1181
|
+
if algorithm == 'MD5':
|
|
1182
|
+
H = lambda x: hashlib.md5(x.encode("ascii")).hexdigest()
|
|
1183
|
+
elif algorithm == 'SHA':
|
|
1184
|
+
H = lambda x: hashlib.sha1(x.encode("ascii")).hexdigest()
|
|
1185
|
+
# XXX MD5-sess
|
|
1186
|
+
else:
|
|
1187
|
+
raise ValueError("Unsupported digest authentication "
|
|
1188
|
+
"algorithm %r" % algorithm)
|
|
1189
|
+
KD = lambda s, d: H("%s:%s" % (s, d))
|
|
1190
|
+
return H, KD
|
|
1191
|
+
|
|
1192
|
+
def get_entity_digest(self, data, chal):
|
|
1193
|
+
# XXX not implemented yet
|
|
1194
|
+
return None
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
class HTTPDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler):
|
|
1198
|
+
"""An authentication protocol defined by RFC 2069
|
|
1199
|
+
|
|
1200
|
+
Digest authentication improves on basic authentication because it
|
|
1201
|
+
does not transmit passwords in the clear.
|
|
1202
|
+
"""
|
|
1203
|
+
|
|
1204
|
+
auth_header = 'Authorization'
|
|
1205
|
+
handler_order = 490 # before Basic auth
|
|
1206
|
+
|
|
1207
|
+
def http_error_401(self, req, fp, code, msg, headers):
|
|
1208
|
+
host = urlparse(req.full_url)[1]
|
|
1209
|
+
retry = self.http_error_auth_reqed('www-authenticate',
|
|
1210
|
+
host, req, headers)
|
|
1211
|
+
self.reset_retry_count()
|
|
1212
|
+
return retry
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
class ProxyDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler):
|
|
1216
|
+
|
|
1217
|
+
auth_header = 'Proxy-Authorization'
|
|
1218
|
+
handler_order = 490 # before Basic auth
|
|
1219
|
+
|
|
1220
|
+
def http_error_407(self, req, fp, code, msg, headers):
|
|
1221
|
+
host = req.host
|
|
1222
|
+
retry = self.http_error_auth_reqed('proxy-authenticate',
|
|
1223
|
+
host, req, headers)
|
|
1224
|
+
self.reset_retry_count()
|
|
1225
|
+
return retry
|
|
1226
|
+
|
|
1227
|
+
class AbstractHTTPHandler(BaseHandler):
|
|
1228
|
+
|
|
1229
|
+
def __init__(self, debuglevel=None):
|
|
1230
|
+
self._debuglevel = debuglevel if debuglevel is not None else http.client.HTTPConnection.debuglevel
|
|
1231
|
+
|
|
1232
|
+
def set_http_debuglevel(self, level):
|
|
1233
|
+
self._debuglevel = level
|
|
1234
|
+
|
|
1235
|
+
def _get_content_length(self, request):
|
|
1236
|
+
return http.client.HTTPConnection._get_content_length(
|
|
1237
|
+
request.data,
|
|
1238
|
+
request.get_method())
|
|
1239
|
+
|
|
1240
|
+
def do_request_(self, request):
|
|
1241
|
+
host = request.host
|
|
1242
|
+
if not host:
|
|
1243
|
+
raise URLError('no host given')
|
|
1244
|
+
|
|
1245
|
+
if request.data is not None: # POST
|
|
1246
|
+
data = request.data
|
|
1247
|
+
if isinstance(data, str):
|
|
1248
|
+
msg = "POST data should be bytes, an iterable of bytes, " \
|
|
1249
|
+
"or a file object. It cannot be of type str."
|
|
1250
|
+
raise TypeError(msg)
|
|
1251
|
+
if not request.has_header('Content-type'):
|
|
1252
|
+
request.add_unredirected_header(
|
|
1253
|
+
'Content-type',
|
|
1254
|
+
'application/x-www-form-urlencoded')
|
|
1255
|
+
if (not request.has_header('Content-length')
|
|
1256
|
+
and not request.has_header('Transfer-encoding')):
|
|
1257
|
+
content_length = self._get_content_length(request)
|
|
1258
|
+
if content_length is not None:
|
|
1259
|
+
request.add_unredirected_header(
|
|
1260
|
+
'Content-length', str(content_length))
|
|
1261
|
+
else:
|
|
1262
|
+
request.add_unredirected_header(
|
|
1263
|
+
'Transfer-encoding', 'chunked')
|
|
1264
|
+
|
|
1265
|
+
sel_host = host
|
|
1266
|
+
if request.has_proxy():
|
|
1267
|
+
scheme, sel = _splittype(request.selector)
|
|
1268
|
+
sel_host, sel_path = _splithost(sel)
|
|
1269
|
+
if not request.has_header('Host'):
|
|
1270
|
+
request.add_unredirected_header('Host', sel_host)
|
|
1271
|
+
for name, value in self.parent.addheaders:
|
|
1272
|
+
name = name.capitalize()
|
|
1273
|
+
if not request.has_header(name):
|
|
1274
|
+
request.add_unredirected_header(name, value)
|
|
1275
|
+
|
|
1276
|
+
return request
|
|
1277
|
+
|
|
1278
|
+
def do_open(self, http_class, req, **http_conn_args):
|
|
1279
|
+
"""Return an HTTPResponse object for the request, using http_class.
|
|
1280
|
+
|
|
1281
|
+
http_class must implement the HTTPConnection API from http.client.
|
|
1282
|
+
"""
|
|
1283
|
+
host = req.host
|
|
1284
|
+
if not host:
|
|
1285
|
+
raise URLError('no host given')
|
|
1286
|
+
|
|
1287
|
+
# will parse host:port
|
|
1288
|
+
h = http_class(host, timeout=req.timeout, **http_conn_args)
|
|
1289
|
+
h.set_debuglevel(self._debuglevel)
|
|
1290
|
+
|
|
1291
|
+
headers = dict(req.unredirected_hdrs)
|
|
1292
|
+
headers.update({k: v for k, v in req.headers.items()
|
|
1293
|
+
if k not in headers})
|
|
1294
|
+
|
|
1295
|
+
# TODO(jhylton): Should this be redesigned to handle
|
|
1296
|
+
# persistent connections?
|
|
1297
|
+
|
|
1298
|
+
# We want to make an HTTP/1.1 request, but the addinfourl
|
|
1299
|
+
# class isn't prepared to deal with a persistent connection.
|
|
1300
|
+
# It will try to read all remaining data from the socket,
|
|
1301
|
+
# which will block while the server waits for the next request.
|
|
1302
|
+
# So make sure the connection gets closed after the (only)
|
|
1303
|
+
# request.
|
|
1304
|
+
headers["Connection"] = "close"
|
|
1305
|
+
headers = {name.title(): val for name, val in headers.items()}
|
|
1306
|
+
|
|
1307
|
+
if req._tunnel_host:
|
|
1308
|
+
tunnel_headers = {}
|
|
1309
|
+
proxy_auth_hdr = "Proxy-Authorization"
|
|
1310
|
+
if proxy_auth_hdr in headers:
|
|
1311
|
+
tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
|
|
1312
|
+
# Proxy-Authorization should not be sent to origin
|
|
1313
|
+
# server.
|
|
1314
|
+
del headers[proxy_auth_hdr]
|
|
1315
|
+
h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
|
|
1316
|
+
|
|
1317
|
+
try:
|
|
1318
|
+
try:
|
|
1319
|
+
h.request(req.get_method(), req.selector, req.data, headers,
|
|
1320
|
+
encode_chunked=req.has_header('Transfer-encoding'))
|
|
1321
|
+
except OSError as err: # timeout error
|
|
1322
|
+
raise URLError(err)
|
|
1323
|
+
r = h.getresponse()
|
|
1324
|
+
except:
|
|
1325
|
+
h.close()
|
|
1326
|
+
raise
|
|
1327
|
+
|
|
1328
|
+
# If the server does not send us a 'Connection: close' header,
|
|
1329
|
+
# HTTPConnection assumes the socket should be left open. Manually
|
|
1330
|
+
# mark the socket to be closed when this response object goes away.
|
|
1331
|
+
if h.sock:
|
|
1332
|
+
h.sock.close()
|
|
1333
|
+
h.sock = None
|
|
1334
|
+
|
|
1335
|
+
r.url = req.get_full_url()
|
|
1336
|
+
# This line replaces the .msg attribute of the HTTPResponse
|
|
1337
|
+
# with .headers, because urllib clients expect the response to
|
|
1338
|
+
# have the reason in .msg. It would be good to mark this
|
|
1339
|
+
# attribute is deprecated and get then to use info() or
|
|
1340
|
+
# .headers.
|
|
1341
|
+
r.msg = r.reason
|
|
1342
|
+
return r
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
class HTTPHandler(AbstractHTTPHandler):
|
|
1346
|
+
|
|
1347
|
+
def http_open(self, req):
|
|
1348
|
+
return self.do_open(http.client.HTTPConnection, req)
|
|
1349
|
+
|
|
1350
|
+
http_request = AbstractHTTPHandler.do_request_
|
|
1351
|
+
|
|
1352
|
+
if hasattr(http.client, 'HTTPSConnection'):
|
|
1353
|
+
|
|
1354
|
+
class HTTPSHandler(AbstractHTTPHandler):
|
|
1355
|
+
|
|
1356
|
+
def __init__(self, debuglevel=None, context=None, check_hostname=None):
|
|
1357
|
+
debuglevel = debuglevel if debuglevel is not None else http.client.HTTPSConnection.debuglevel
|
|
1358
|
+
AbstractHTTPHandler.__init__(self, debuglevel)
|
|
1359
|
+
if context is None:
|
|
1360
|
+
http_version = http.client.HTTPSConnection._http_vsn
|
|
1361
|
+
context = http.client._create_https_context(http_version)
|
|
1362
|
+
if check_hostname is not None:
|
|
1363
|
+
context.check_hostname = check_hostname
|
|
1364
|
+
self._context = context
|
|
1365
|
+
|
|
1366
|
+
def https_open(self, req):
|
|
1367
|
+
return self.do_open(http.client.HTTPSConnection, req,
|
|
1368
|
+
context=self._context)
|
|
1369
|
+
|
|
1370
|
+
https_request = AbstractHTTPHandler.do_request_
|
|
1371
|
+
|
|
1372
|
+
__all__.append('HTTPSHandler')
|
|
1373
|
+
|
|
1374
|
+
class HTTPCookieProcessor(BaseHandler):
|
|
1375
|
+
def __init__(self, cookiejar=None):
|
|
1376
|
+
import http.cookiejar
|
|
1377
|
+
if cookiejar is None:
|
|
1378
|
+
cookiejar = http.cookiejar.CookieJar()
|
|
1379
|
+
self.cookiejar = cookiejar
|
|
1380
|
+
|
|
1381
|
+
def http_request(self, request):
|
|
1382
|
+
self.cookiejar.add_cookie_header(request)
|
|
1383
|
+
return request
|
|
1384
|
+
|
|
1385
|
+
def http_response(self, request, response):
|
|
1386
|
+
self.cookiejar.extract_cookies(response, request)
|
|
1387
|
+
return response
|
|
1388
|
+
|
|
1389
|
+
https_request = http_request
|
|
1390
|
+
https_response = http_response
|
|
1391
|
+
|
|
1392
|
+
class UnknownHandler(BaseHandler):
|
|
1393
|
+
def unknown_open(self, req):
|
|
1394
|
+
type = req.type
|
|
1395
|
+
raise URLError('unknown url type: %s' % type)
|
|
1396
|
+
|
|
1397
|
+
def parse_keqv_list(l):
|
|
1398
|
+
"""Parse list of key=value strings where keys are not duplicated."""
|
|
1399
|
+
parsed = {}
|
|
1400
|
+
for elt in l:
|
|
1401
|
+
k, v = elt.split('=', 1)
|
|
1402
|
+
if v[0] == '"' and v[-1] == '"':
|
|
1403
|
+
v = v[1:-1]
|
|
1404
|
+
parsed[k] = v
|
|
1405
|
+
return parsed
|
|
1406
|
+
|
|
1407
|
+
def parse_http_list(s):
|
|
1408
|
+
"""Parse lists as described by RFC 2068 Section 2.
|
|
1409
|
+
|
|
1410
|
+
In particular, parse comma-separated lists where the elements of
|
|
1411
|
+
the list may include quoted-strings. A quoted-string could
|
|
1412
|
+
contain a comma. A non-quoted string could have quotes in the
|
|
1413
|
+
middle. Neither commas nor quotes count if they are escaped.
|
|
1414
|
+
Only double-quotes count, not single-quotes.
|
|
1415
|
+
"""
|
|
1416
|
+
res = []
|
|
1417
|
+
part = ''
|
|
1418
|
+
|
|
1419
|
+
escape = quote = False
|
|
1420
|
+
for cur in s:
|
|
1421
|
+
if escape:
|
|
1422
|
+
part += cur
|
|
1423
|
+
escape = False
|
|
1424
|
+
continue
|
|
1425
|
+
if quote:
|
|
1426
|
+
if cur == '\\':
|
|
1427
|
+
escape = True
|
|
1428
|
+
continue
|
|
1429
|
+
elif cur == '"':
|
|
1430
|
+
quote = False
|
|
1431
|
+
part += cur
|
|
1432
|
+
continue
|
|
1433
|
+
|
|
1434
|
+
if cur == ',':
|
|
1435
|
+
res.append(part)
|
|
1436
|
+
part = ''
|
|
1437
|
+
continue
|
|
1438
|
+
|
|
1439
|
+
if cur == '"':
|
|
1440
|
+
quote = True
|
|
1441
|
+
|
|
1442
|
+
part += cur
|
|
1443
|
+
|
|
1444
|
+
# append last part
|
|
1445
|
+
if part:
|
|
1446
|
+
res.append(part)
|
|
1447
|
+
|
|
1448
|
+
return [part.strip() for part in res]
|
|
1449
|
+
|
|
1450
|
+
class FileHandler(BaseHandler):
|
|
1451
|
+
# Use local file or FTP depending on form of URL
|
|
1452
|
+
def file_open(self, req):
|
|
1453
|
+
url = req.selector
|
|
1454
|
+
if url[:2] == '//' and url[2:3] != '/' and (req.host and
|
|
1455
|
+
req.host != 'localhost'):
|
|
1456
|
+
if not req.host in self.get_names():
|
|
1457
|
+
raise URLError("file:// scheme is supported only on localhost")
|
|
1458
|
+
else:
|
|
1459
|
+
return self.open_local_file(req)
|
|
1460
|
+
|
|
1461
|
+
# names for the localhost
|
|
1462
|
+
names = None
|
|
1463
|
+
def get_names(self):
|
|
1464
|
+
if FileHandler.names is None:
|
|
1465
|
+
try:
|
|
1466
|
+
FileHandler.names = tuple(
|
|
1467
|
+
socket.gethostbyname_ex('localhost')[2] +
|
|
1468
|
+
socket.gethostbyname_ex(socket.gethostname())[2])
|
|
1469
|
+
except socket.gaierror:
|
|
1470
|
+
FileHandler.names = (socket.gethostbyname('localhost'),)
|
|
1471
|
+
return FileHandler.names
|
|
1472
|
+
|
|
1473
|
+
# not entirely sure what the rules are here
|
|
1474
|
+
def open_local_file(self, req):
|
|
1475
|
+
import email.utils
|
|
1476
|
+
import mimetypes
|
|
1477
|
+
host = req.host
|
|
1478
|
+
filename = req.selector
|
|
1479
|
+
localfile = url2pathname(filename)
|
|
1480
|
+
try:
|
|
1481
|
+
stats = os.stat(localfile)
|
|
1482
|
+
size = stats.st_size
|
|
1483
|
+
modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
|
1484
|
+
mtype = mimetypes.guess_type(filename)[0]
|
|
1485
|
+
headers = email.message_from_string(
|
|
1486
|
+
'Content-type: %s\nContent-length: %d\nLast-modified: %s\n' %
|
|
1487
|
+
(mtype or 'text/plain', size, modified))
|
|
1488
|
+
if host:
|
|
1489
|
+
host, port = _splitport(host)
|
|
1490
|
+
if not host or \
|
|
1491
|
+
(not port and _safe_gethostbyname(host) in self.get_names()):
|
|
1492
|
+
if host:
|
|
1493
|
+
origurl = 'file://' + host + filename
|
|
1494
|
+
else:
|
|
1495
|
+
origurl = 'file://' + filename
|
|
1496
|
+
return addinfourl(open(localfile, 'rb'), headers, origurl)
|
|
1497
|
+
except OSError as exp:
|
|
1498
|
+
raise URLError(exp)
|
|
1499
|
+
raise URLError('file not on local host')
|
|
1500
|
+
|
|
1501
|
+
def _safe_gethostbyname(host):
|
|
1502
|
+
try:
|
|
1503
|
+
return socket.gethostbyname(host)
|
|
1504
|
+
except socket.gaierror:
|
|
1505
|
+
return None
|
|
1506
|
+
|
|
1507
|
+
class FTPHandler(BaseHandler):
|
|
1508
|
+
def ftp_open(self, req):
|
|
1509
|
+
import ftplib
|
|
1510
|
+
import mimetypes
|
|
1511
|
+
host = req.host
|
|
1512
|
+
if not host:
|
|
1513
|
+
raise URLError('ftp error: no host given')
|
|
1514
|
+
host, port = _splitport(host)
|
|
1515
|
+
if port is None:
|
|
1516
|
+
port = ftplib.FTP_PORT
|
|
1517
|
+
else:
|
|
1518
|
+
port = int(port)
|
|
1519
|
+
|
|
1520
|
+
# username/password handling
|
|
1521
|
+
user, host = _splituser(host)
|
|
1522
|
+
if user:
|
|
1523
|
+
user, passwd = _splitpasswd(user)
|
|
1524
|
+
else:
|
|
1525
|
+
passwd = None
|
|
1526
|
+
host = unquote(host)
|
|
1527
|
+
user = user or ''
|
|
1528
|
+
passwd = passwd or ''
|
|
1529
|
+
|
|
1530
|
+
try:
|
|
1531
|
+
host = socket.gethostbyname(host)
|
|
1532
|
+
except OSError as msg:
|
|
1533
|
+
raise URLError(msg)
|
|
1534
|
+
path, attrs = _splitattr(req.selector)
|
|
1535
|
+
dirs = path.split('/')
|
|
1536
|
+
dirs = list(map(unquote, dirs))
|
|
1537
|
+
dirs, file = dirs[:-1], dirs[-1]
|
|
1538
|
+
if dirs and not dirs[0]:
|
|
1539
|
+
dirs = dirs[1:]
|
|
1540
|
+
fw = None
|
|
1541
|
+
try:
|
|
1542
|
+
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
|
|
1543
|
+
type = file and 'I' or 'D'
|
|
1544
|
+
for attr in attrs:
|
|
1545
|
+
attr, value = _splitvalue(attr)
|
|
1546
|
+
if attr.lower() == 'type' and \
|
|
1547
|
+
value in ('a', 'A', 'i', 'I', 'd', 'D'):
|
|
1548
|
+
type = value.upper()
|
|
1549
|
+
fp, retrlen = fw.retrfile(file, type)
|
|
1550
|
+
headers = ""
|
|
1551
|
+
mtype = mimetypes.guess_type(req.full_url)[0]
|
|
1552
|
+
if mtype:
|
|
1553
|
+
headers += "Content-type: %s\n" % mtype
|
|
1554
|
+
if retrlen is not None and retrlen >= 0:
|
|
1555
|
+
headers += "Content-length: %d\n" % retrlen
|
|
1556
|
+
headers = email.message_from_string(headers)
|
|
1557
|
+
return addinfourl(fp, headers, req.full_url)
|
|
1558
|
+
except Exception as exp:
|
|
1559
|
+
if fw is not None and not fw.keepalive:
|
|
1560
|
+
fw.close()
|
|
1561
|
+
if isinstance(exp, ftplib.all_errors):
|
|
1562
|
+
raise URLError(exp) from exp
|
|
1563
|
+
raise
|
|
1564
|
+
|
|
1565
|
+
def connect_ftp(self, user, passwd, host, port, dirs, timeout):
|
|
1566
|
+
return ftpwrapper(user, passwd, host, port, dirs, timeout,
|
|
1567
|
+
persistent=False)
|
|
1568
|
+
|
|
1569
|
+
class CacheFTPHandler(FTPHandler):
|
|
1570
|
+
# XXX would be nice to have pluggable cache strategies
|
|
1571
|
+
# XXX this stuff is definitely not thread safe
|
|
1572
|
+
def __init__(self):
|
|
1573
|
+
self.cache = {}
|
|
1574
|
+
self.timeout = {}
|
|
1575
|
+
self.soonest = 0
|
|
1576
|
+
self.delay = 60
|
|
1577
|
+
self.max_conns = 16
|
|
1578
|
+
|
|
1579
|
+
def setTimeout(self, t):
|
|
1580
|
+
self.delay = t
|
|
1581
|
+
|
|
1582
|
+
def setMaxConns(self, m):
|
|
1583
|
+
self.max_conns = m
|
|
1584
|
+
|
|
1585
|
+
def connect_ftp(self, user, passwd, host, port, dirs, timeout):
|
|
1586
|
+
key = user, host, port, '/'.join(dirs), timeout
|
|
1587
|
+
conn = self.cache.get(key)
|
|
1588
|
+
if conn is None or not conn.keepalive:
|
|
1589
|
+
if conn is not None:
|
|
1590
|
+
conn.close()
|
|
1591
|
+
conn = self.cache[key] = ftpwrapper(user, passwd, host, port,
|
|
1592
|
+
dirs, timeout)
|
|
1593
|
+
self.timeout[key] = time.time() + self.delay
|
|
1594
|
+
self.check_cache()
|
|
1595
|
+
return conn
|
|
1596
|
+
|
|
1597
|
+
def check_cache(self):
|
|
1598
|
+
# first check for old ones
|
|
1599
|
+
t = time.time()
|
|
1600
|
+
if self.soonest <= t:
|
|
1601
|
+
for k, v in list(self.timeout.items()):
|
|
1602
|
+
if v < t:
|
|
1603
|
+
self.cache[k].close()
|
|
1604
|
+
del self.cache[k]
|
|
1605
|
+
del self.timeout[k]
|
|
1606
|
+
self.soonest = min(list(self.timeout.values()))
|
|
1607
|
+
|
|
1608
|
+
# then check the size
|
|
1609
|
+
if len(self.cache) == self.max_conns:
|
|
1610
|
+
for k, v in list(self.timeout.items()):
|
|
1611
|
+
if v == self.soonest:
|
|
1612
|
+
del self.cache[k]
|
|
1613
|
+
del self.timeout[k]
|
|
1614
|
+
break
|
|
1615
|
+
self.soonest = min(list(self.timeout.values()))
|
|
1616
|
+
|
|
1617
|
+
def clear_cache(self):
|
|
1618
|
+
for conn in self.cache.values():
|
|
1619
|
+
conn.close()
|
|
1620
|
+
self.cache.clear()
|
|
1621
|
+
self.timeout.clear()
|
|
1622
|
+
|
|
1623
|
+
class DataHandler(BaseHandler):
|
|
1624
|
+
def data_open(self, req):
|
|
1625
|
+
# data URLs as specified in RFC 2397.
|
|
1626
|
+
#
|
|
1627
|
+
# ignores POSTed data
|
|
1628
|
+
#
|
|
1629
|
+
# syntax:
|
|
1630
|
+
# dataurl := "data:" [ mediatype ] [ ";base64" ] "," data
|
|
1631
|
+
# mediatype := [ type "/" subtype ] *( ";" parameter )
|
|
1632
|
+
# data := *urlchar
|
|
1633
|
+
# parameter := attribute "=" value
|
|
1634
|
+
url = req.full_url
|
|
1635
|
+
|
|
1636
|
+
scheme, data = url.split(":",1)
|
|
1637
|
+
mediatype, data = data.split(",",1)
|
|
1638
|
+
|
|
1639
|
+
# Disallow control characters within mediatype.
|
|
1640
|
+
if re.search(r"[\x00-\x1F\x7F]", mediatype):
|
|
1641
|
+
raise ValueError(
|
|
1642
|
+
"Control characters not allowed in data: mediatype")
|
|
1643
|
+
|
|
1644
|
+
# even base64 encoded data URLs might be quoted so unquote in any case:
|
|
1645
|
+
data = unquote_to_bytes(data)
|
|
1646
|
+
if mediatype.endswith(";base64"):
|
|
1647
|
+
data = base64.decodebytes(data)
|
|
1648
|
+
mediatype = mediatype[:-7]
|
|
1649
|
+
|
|
1650
|
+
if not mediatype:
|
|
1651
|
+
mediatype = "text/plain;charset=US-ASCII"
|
|
1652
|
+
|
|
1653
|
+
headers = email.message_from_string("Content-type: %s\nContent-length: %d\n" %
|
|
1654
|
+
(mediatype, len(data)))
|
|
1655
|
+
|
|
1656
|
+
return addinfourl(io.BytesIO(data), headers, url)
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
# Code move from the old urllib module
|
|
1660
|
+
|
|
1661
|
+
MAXFTPCACHE = 10 # Trim the ftp cache beyond this size
|
|
1662
|
+
|
|
1663
|
+
# Helper for non-unix systems
|
|
1664
|
+
if os.name == 'nt':
|
|
1665
|
+
from nturl2path import url2pathname, pathname2url
|
|
1666
|
+
else:
|
|
1667
|
+
def url2pathname(pathname):
|
|
1668
|
+
"""OS-specific conversion from a relative URL of the 'file' scheme
|
|
1669
|
+
to a file system path; not recommended for general use."""
|
|
1670
|
+
if pathname[:3] == '///':
|
|
1671
|
+
# URL has an empty authority section, so the path begins on the
|
|
1672
|
+
# third character.
|
|
1673
|
+
pathname = pathname[2:]
|
|
1674
|
+
elif pathname[:12] == '//localhost/':
|
|
1675
|
+
# Skip past 'localhost' authority.
|
|
1676
|
+
pathname = pathname[11:]
|
|
1677
|
+
encoding = sys.getfilesystemencoding()
|
|
1678
|
+
errors = sys.getfilesystemencodeerrors()
|
|
1679
|
+
return unquote(pathname, encoding=encoding, errors=errors)
|
|
1680
|
+
|
|
1681
|
+
def pathname2url(pathname):
|
|
1682
|
+
"""OS-specific conversion from a file system path to a relative URL
|
|
1683
|
+
of the 'file' scheme; not recommended for general use."""
|
|
1684
|
+
if pathname[:2] == '//':
|
|
1685
|
+
# Add explicitly empty authority to avoid interpreting the path
|
|
1686
|
+
# as authority.
|
|
1687
|
+
pathname = '//' + pathname
|
|
1688
|
+
encoding = sys.getfilesystemencoding()
|
|
1689
|
+
errors = sys.getfilesystemencodeerrors()
|
|
1690
|
+
return quote(pathname, encoding=encoding, errors=errors)
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
ftpcache = {}
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
class URLopener:
|
|
1697
|
+
"""Class to open URLs.
|
|
1698
|
+
This is a class rather than just a subroutine because we may need
|
|
1699
|
+
more than one set of global protocol-specific options.
|
|
1700
|
+
Note -- this is a base class for those who don't want the
|
|
1701
|
+
automatic handling of errors type 302 (relocated) and 401
|
|
1702
|
+
(authorization needed)."""
|
|
1703
|
+
|
|
1704
|
+
__tempfiles = None
|
|
1705
|
+
|
|
1706
|
+
version = "Python-urllib/%s" % __version__
|
|
1707
|
+
|
|
1708
|
+
# Constructor
|
|
1709
|
+
def __init__(self, proxies=None, **x509):
|
|
1710
|
+
msg = "%(class)s style of invoking requests is deprecated. " \
|
|
1711
|
+
"Use newer urlopen functions/methods" % {'class': self.__class__.__name__}
|
|
1712
|
+
warnings.warn(msg, DeprecationWarning, stacklevel=3)
|
|
1713
|
+
if proxies is None:
|
|
1714
|
+
proxies = getproxies()
|
|
1715
|
+
assert hasattr(proxies, 'keys'), "proxies must be a mapping"
|
|
1716
|
+
self.proxies = proxies
|
|
1717
|
+
self.key_file = x509.get('key_file')
|
|
1718
|
+
self.cert_file = x509.get('cert_file')
|
|
1719
|
+
self.addheaders = [('User-Agent', self.version), ('Accept', '*/*')]
|
|
1720
|
+
self.__tempfiles = []
|
|
1721
|
+
self.__unlink = os.unlink # See cleanup()
|
|
1722
|
+
self.tempcache = None
|
|
1723
|
+
# Undocumented feature: if you assign {} to tempcache,
|
|
1724
|
+
# it is used to cache files retrieved with
|
|
1725
|
+
# self.retrieve(). This is not enabled by default
|
|
1726
|
+
# since it does not work for changing documents (and I
|
|
1727
|
+
# haven't got the logic to check expiration headers
|
|
1728
|
+
# yet).
|
|
1729
|
+
self.ftpcache = ftpcache
|
|
1730
|
+
# Undocumented feature: you can use a different
|
|
1731
|
+
# ftp cache by assigning to the .ftpcache member;
|
|
1732
|
+
# in case you want logically independent URL openers
|
|
1733
|
+
# XXX This is not threadsafe. Bah.
|
|
1734
|
+
|
|
1735
|
+
def __del__(self):
|
|
1736
|
+
self.close()
|
|
1737
|
+
|
|
1738
|
+
def close(self):
|
|
1739
|
+
self.cleanup()
|
|
1740
|
+
|
|
1741
|
+
def cleanup(self):
|
|
1742
|
+
# This code sometimes runs when the rest of this module
|
|
1743
|
+
# has already been deleted, so it can't use any globals
|
|
1744
|
+
# or import anything.
|
|
1745
|
+
if self.__tempfiles:
|
|
1746
|
+
for file in self.__tempfiles:
|
|
1747
|
+
try:
|
|
1748
|
+
self.__unlink(file)
|
|
1749
|
+
except OSError:
|
|
1750
|
+
pass
|
|
1751
|
+
del self.__tempfiles[:]
|
|
1752
|
+
if self.tempcache:
|
|
1753
|
+
self.tempcache.clear()
|
|
1754
|
+
|
|
1755
|
+
def addheader(self, *args):
|
|
1756
|
+
"""Add a header to be used by the HTTP interface only
|
|
1757
|
+
e.g. u.addheader('Accept', 'sound/basic')"""
|
|
1758
|
+
self.addheaders.append(args)
|
|
1759
|
+
|
|
1760
|
+
# External interface
|
|
1761
|
+
def open(self, fullurl, data=None):
|
|
1762
|
+
"""Use URLopener().open(file) instead of open(file, 'r')."""
|
|
1763
|
+
fullurl = unwrap(_to_bytes(fullurl))
|
|
1764
|
+
fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]|")
|
|
1765
|
+
if self.tempcache and fullurl in self.tempcache:
|
|
1766
|
+
filename, headers = self.tempcache[fullurl]
|
|
1767
|
+
fp = open(filename, 'rb')
|
|
1768
|
+
return addinfourl(fp, headers, fullurl)
|
|
1769
|
+
urltype, url = _splittype(fullurl)
|
|
1770
|
+
if not urltype:
|
|
1771
|
+
urltype = 'file'
|
|
1772
|
+
if urltype in self.proxies:
|
|
1773
|
+
proxy = self.proxies[urltype]
|
|
1774
|
+
urltype, proxyhost = _splittype(proxy)
|
|
1775
|
+
host, selector = _splithost(proxyhost)
|
|
1776
|
+
url = (host, fullurl) # Signal special case to open_*()
|
|
1777
|
+
else:
|
|
1778
|
+
proxy = None
|
|
1779
|
+
name = 'open_' + urltype
|
|
1780
|
+
self.type = urltype
|
|
1781
|
+
name = name.replace('-', '_')
|
|
1782
|
+
if not hasattr(self, name) or name == 'open_local_file':
|
|
1783
|
+
if proxy:
|
|
1784
|
+
return self.open_unknown_proxy(proxy, fullurl, data)
|
|
1785
|
+
else:
|
|
1786
|
+
return self.open_unknown(fullurl, data)
|
|
1787
|
+
try:
|
|
1788
|
+
if data is None:
|
|
1789
|
+
return getattr(self, name)(url)
|
|
1790
|
+
else:
|
|
1791
|
+
return getattr(self, name)(url, data)
|
|
1792
|
+
except (HTTPError, URLError):
|
|
1793
|
+
raise
|
|
1794
|
+
except OSError as msg:
|
|
1795
|
+
raise OSError('socket error', msg) from msg
|
|
1796
|
+
|
|
1797
|
+
def open_unknown(self, fullurl, data=None):
|
|
1798
|
+
"""Overridable interface to open unknown URL type."""
|
|
1799
|
+
type, url = _splittype(fullurl)
|
|
1800
|
+
raise OSError('url error', 'unknown url type', type)
|
|
1801
|
+
|
|
1802
|
+
def open_unknown_proxy(self, proxy, fullurl, data=None):
|
|
1803
|
+
"""Overridable interface to open unknown URL type."""
|
|
1804
|
+
type, url = _splittype(fullurl)
|
|
1805
|
+
raise OSError('url error', 'invalid proxy for %s' % type, proxy)
|
|
1806
|
+
|
|
1807
|
+
# External interface
|
|
1808
|
+
def retrieve(self, url, filename=None, reporthook=None, data=None):
|
|
1809
|
+
"""retrieve(url) returns (filename, headers) for a local object
|
|
1810
|
+
or (tempfilename, headers) for a remote object."""
|
|
1811
|
+
url = unwrap(_to_bytes(url))
|
|
1812
|
+
if self.tempcache and url in self.tempcache:
|
|
1813
|
+
return self.tempcache[url]
|
|
1814
|
+
type, url1 = _splittype(url)
|
|
1815
|
+
if filename is None and (not type or type == 'file'):
|
|
1816
|
+
try:
|
|
1817
|
+
fp = self.open_local_file(url1)
|
|
1818
|
+
hdrs = fp.info()
|
|
1819
|
+
fp.close()
|
|
1820
|
+
return url2pathname(_splithost(url1)[1]), hdrs
|
|
1821
|
+
except OSError:
|
|
1822
|
+
pass
|
|
1823
|
+
fp = self.open(url, data)
|
|
1824
|
+
try:
|
|
1825
|
+
headers = fp.info()
|
|
1826
|
+
if filename:
|
|
1827
|
+
tfp = open(filename, 'wb')
|
|
1828
|
+
else:
|
|
1829
|
+
garbage, path = _splittype(url)
|
|
1830
|
+
garbage, path = _splithost(path or "")
|
|
1831
|
+
path, garbage = _splitquery(path or "")
|
|
1832
|
+
path, garbage = _splitattr(path or "")
|
|
1833
|
+
suffix = os.path.splitext(path)[1]
|
|
1834
|
+
(fd, filename) = tempfile.mkstemp(suffix)
|
|
1835
|
+
self.__tempfiles.append(filename)
|
|
1836
|
+
tfp = os.fdopen(fd, 'wb')
|
|
1837
|
+
try:
|
|
1838
|
+
result = filename, headers
|
|
1839
|
+
if self.tempcache is not None:
|
|
1840
|
+
self.tempcache[url] = result
|
|
1841
|
+
bs = 1024*8
|
|
1842
|
+
size = -1
|
|
1843
|
+
read = 0
|
|
1844
|
+
blocknum = 0
|
|
1845
|
+
if "content-length" in headers:
|
|
1846
|
+
size = int(headers["Content-Length"])
|
|
1847
|
+
if reporthook:
|
|
1848
|
+
reporthook(blocknum, bs, size)
|
|
1849
|
+
while block := fp.read(bs):
|
|
1850
|
+
read += len(block)
|
|
1851
|
+
tfp.write(block)
|
|
1852
|
+
blocknum += 1
|
|
1853
|
+
if reporthook:
|
|
1854
|
+
reporthook(blocknum, bs, size)
|
|
1855
|
+
finally:
|
|
1856
|
+
tfp.close()
|
|
1857
|
+
finally:
|
|
1858
|
+
fp.close()
|
|
1859
|
+
|
|
1860
|
+
# raise exception if actual size does not match content-length header
|
|
1861
|
+
if size >= 0 and read < size:
|
|
1862
|
+
raise ContentTooShortError(
|
|
1863
|
+
"retrieval incomplete: got only %i out of %i bytes"
|
|
1864
|
+
% (read, size), result)
|
|
1865
|
+
|
|
1866
|
+
return result
|
|
1867
|
+
|
|
1868
|
+
# Each method named open_<type> knows how to open that type of URL
|
|
1869
|
+
|
|
1870
|
+
def _open_generic_http(self, connection_factory, url, data):
|
|
1871
|
+
"""Make an HTTP connection using connection_class.
|
|
1872
|
+
|
|
1873
|
+
This is an internal method that should be called from
|
|
1874
|
+
open_http() or open_https().
|
|
1875
|
+
|
|
1876
|
+
Arguments:
|
|
1877
|
+
- connection_factory should take a host name and return an
|
|
1878
|
+
HTTPConnection instance.
|
|
1879
|
+
- url is the url to retrieval or a host, relative-path pair.
|
|
1880
|
+
- data is payload for a POST request or None.
|
|
1881
|
+
"""
|
|
1882
|
+
|
|
1883
|
+
user_passwd = None
|
|
1884
|
+
proxy_passwd= None
|
|
1885
|
+
if isinstance(url, str):
|
|
1886
|
+
host, selector = _splithost(url)
|
|
1887
|
+
if host:
|
|
1888
|
+
user_passwd, host = _splituser(host)
|
|
1889
|
+
host = unquote(host)
|
|
1890
|
+
realhost = host
|
|
1891
|
+
else:
|
|
1892
|
+
host, selector = url
|
|
1893
|
+
# check whether the proxy contains authorization information
|
|
1894
|
+
proxy_passwd, host = _splituser(host)
|
|
1895
|
+
# now we proceed with the url we want to obtain
|
|
1896
|
+
urltype, rest = _splittype(selector)
|
|
1897
|
+
url = rest
|
|
1898
|
+
user_passwd = None
|
|
1899
|
+
if urltype.lower() != 'http':
|
|
1900
|
+
realhost = None
|
|
1901
|
+
else:
|
|
1902
|
+
realhost, rest = _splithost(rest)
|
|
1903
|
+
if realhost:
|
|
1904
|
+
user_passwd, realhost = _splituser(realhost)
|
|
1905
|
+
if user_passwd:
|
|
1906
|
+
selector = "%s://%s%s" % (urltype, realhost, rest)
|
|
1907
|
+
if proxy_bypass(realhost):
|
|
1908
|
+
host = realhost
|
|
1909
|
+
|
|
1910
|
+
if not host: raise OSError('http error', 'no host given')
|
|
1911
|
+
|
|
1912
|
+
if proxy_passwd:
|
|
1913
|
+
proxy_passwd = unquote(proxy_passwd)
|
|
1914
|
+
proxy_auth = base64.b64encode(proxy_passwd.encode()).decode('ascii')
|
|
1915
|
+
else:
|
|
1916
|
+
proxy_auth = None
|
|
1917
|
+
|
|
1918
|
+
if user_passwd:
|
|
1919
|
+
user_passwd = unquote(user_passwd)
|
|
1920
|
+
auth = base64.b64encode(user_passwd.encode()).decode('ascii')
|
|
1921
|
+
else:
|
|
1922
|
+
auth = None
|
|
1923
|
+
http_conn = connection_factory(host)
|
|
1924
|
+
headers = {}
|
|
1925
|
+
if proxy_auth:
|
|
1926
|
+
headers["Proxy-Authorization"] = "Basic %s" % proxy_auth
|
|
1927
|
+
if auth:
|
|
1928
|
+
headers["Authorization"] = "Basic %s" % auth
|
|
1929
|
+
if realhost:
|
|
1930
|
+
headers["Host"] = realhost
|
|
1931
|
+
|
|
1932
|
+
# Add Connection:close as we don't support persistent connections yet.
|
|
1933
|
+
# This helps in closing the socket and avoiding ResourceWarning
|
|
1934
|
+
|
|
1935
|
+
headers["Connection"] = "close"
|
|
1936
|
+
|
|
1937
|
+
for header, value in self.addheaders:
|
|
1938
|
+
headers[header] = value
|
|
1939
|
+
|
|
1940
|
+
if data is not None:
|
|
1941
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
|
1942
|
+
http_conn.request("POST", selector, data, headers)
|
|
1943
|
+
else:
|
|
1944
|
+
http_conn.request("GET", selector, headers=headers)
|
|
1945
|
+
|
|
1946
|
+
try:
|
|
1947
|
+
response = http_conn.getresponse()
|
|
1948
|
+
except http.client.BadStatusLine:
|
|
1949
|
+
# something went wrong with the HTTP status line
|
|
1950
|
+
raise URLError("http protocol error: bad status line")
|
|
1951
|
+
|
|
1952
|
+
# According to RFC 2616, "2xx" code indicates that the client's
|
|
1953
|
+
# request was successfully received, understood, and accepted.
|
|
1954
|
+
if 200 <= response.status < 300:
|
|
1955
|
+
return addinfourl(response, response.msg, "http:" + url,
|
|
1956
|
+
response.status)
|
|
1957
|
+
else:
|
|
1958
|
+
return self.http_error(
|
|
1959
|
+
url, response.fp,
|
|
1960
|
+
response.status, response.reason, response.msg, data)
|
|
1961
|
+
|
|
1962
|
+
def open_http(self, url, data=None):
|
|
1963
|
+
"""Use HTTP protocol."""
|
|
1964
|
+
return self._open_generic_http(http.client.HTTPConnection, url, data)
|
|
1965
|
+
|
|
1966
|
+
def http_error(self, url, fp, errcode, errmsg, headers, data=None):
|
|
1967
|
+
"""Handle http errors.
|
|
1968
|
+
|
|
1969
|
+
Derived class can override this, or provide specific handlers
|
|
1970
|
+
named http_error_DDD where DDD is the 3-digit error code."""
|
|
1971
|
+
# First check if there's a specific handler for this error
|
|
1972
|
+
name = 'http_error_%d' % errcode
|
|
1973
|
+
if hasattr(self, name):
|
|
1974
|
+
method = getattr(self, name)
|
|
1975
|
+
if data is None:
|
|
1976
|
+
result = method(url, fp, errcode, errmsg, headers)
|
|
1977
|
+
else:
|
|
1978
|
+
result = method(url, fp, errcode, errmsg, headers, data)
|
|
1979
|
+
if result: return result
|
|
1980
|
+
return self.http_error_default(url, fp, errcode, errmsg, headers)
|
|
1981
|
+
|
|
1982
|
+
def http_error_default(self, url, fp, errcode, errmsg, headers):
|
|
1983
|
+
"""Default error handler: close the connection and raise OSError."""
|
|
1984
|
+
fp.close()
|
|
1985
|
+
raise HTTPError(url, errcode, errmsg, headers, None)
|
|
1986
|
+
|
|
1987
|
+
if _have_ssl:
|
|
1988
|
+
def _https_connection(self, host):
|
|
1989
|
+
if self.key_file or self.cert_file:
|
|
1990
|
+
http_version = http.client.HTTPSConnection._http_vsn
|
|
1991
|
+
context = http.client._create_https_context(http_version)
|
|
1992
|
+
context.load_cert_chain(self.cert_file, self.key_file)
|
|
1993
|
+
# cert and key file means the user wants to authenticate.
|
|
1994
|
+
# enable TLS 1.3 PHA implicitly even for custom contexts.
|
|
1995
|
+
if context.post_handshake_auth is not None:
|
|
1996
|
+
context.post_handshake_auth = True
|
|
1997
|
+
else:
|
|
1998
|
+
context = None
|
|
1999
|
+
return http.client.HTTPSConnection(host, context=context)
|
|
2000
|
+
|
|
2001
|
+
def open_https(self, url, data=None):
|
|
2002
|
+
"""Use HTTPS protocol."""
|
|
2003
|
+
return self._open_generic_http(self._https_connection, url, data)
|
|
2004
|
+
|
|
2005
|
+
def open_file(self, url):
|
|
2006
|
+
"""Use local file or FTP depending on form of URL."""
|
|
2007
|
+
if not isinstance(url, str):
|
|
2008
|
+
raise URLError('file error: proxy support for file protocol currently not implemented')
|
|
2009
|
+
if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/':
|
|
2010
|
+
raise ValueError("file:// scheme is supported only on localhost")
|
|
2011
|
+
else:
|
|
2012
|
+
return self.open_local_file(url)
|
|
2013
|
+
|
|
2014
|
+
def open_local_file(self, url):
|
|
2015
|
+
"""Use local file."""
|
|
2016
|
+
import email.utils
|
|
2017
|
+
import mimetypes
|
|
2018
|
+
host, file = _splithost(url)
|
|
2019
|
+
localname = url2pathname(file)
|
|
2020
|
+
try:
|
|
2021
|
+
stats = os.stat(localname)
|
|
2022
|
+
except OSError as e:
|
|
2023
|
+
raise URLError(e.strerror, e.filename)
|
|
2024
|
+
size = stats.st_size
|
|
2025
|
+
modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
|
2026
|
+
mtype = mimetypes.guess_type(url)[0]
|
|
2027
|
+
headers = email.message_from_string(
|
|
2028
|
+
'Content-Type: %s\nContent-Length: %d\nLast-modified: %s\n' %
|
|
2029
|
+
(mtype or 'text/plain', size, modified))
|
|
2030
|
+
if not host:
|
|
2031
|
+
urlfile = file
|
|
2032
|
+
if file[:1] == '/':
|
|
2033
|
+
urlfile = 'file://' + file
|
|
2034
|
+
return addinfourl(open(localname, 'rb'), headers, urlfile)
|
|
2035
|
+
host, port = _splitport(host)
|
|
2036
|
+
if (not port
|
|
2037
|
+
and socket.gethostbyname(host) in ((localhost(),) + thishost())):
|
|
2038
|
+
urlfile = file
|
|
2039
|
+
if file[:1] == '/':
|
|
2040
|
+
urlfile = 'file://' + file
|
|
2041
|
+
elif file[:2] == './':
|
|
2042
|
+
raise ValueError("local file url may start with / or file:. Unknown url of type: %s" % url)
|
|
2043
|
+
return addinfourl(open(localname, 'rb'), headers, urlfile)
|
|
2044
|
+
raise URLError('local file error: not on local host')
|
|
2045
|
+
|
|
2046
|
+
def open_ftp(self, url):
|
|
2047
|
+
"""Use FTP protocol."""
|
|
2048
|
+
if not isinstance(url, str):
|
|
2049
|
+
raise URLError('ftp error: proxy support for ftp protocol currently not implemented')
|
|
2050
|
+
import mimetypes
|
|
2051
|
+
host, path = _splithost(url)
|
|
2052
|
+
if not host: raise URLError('ftp error: no host given')
|
|
2053
|
+
host, port = _splitport(host)
|
|
2054
|
+
user, host = _splituser(host)
|
|
2055
|
+
if user: user, passwd = _splitpasswd(user)
|
|
2056
|
+
else: passwd = None
|
|
2057
|
+
host = unquote(host)
|
|
2058
|
+
user = unquote(user or '')
|
|
2059
|
+
passwd = unquote(passwd or '')
|
|
2060
|
+
host = socket.gethostbyname(host)
|
|
2061
|
+
if not port:
|
|
2062
|
+
import ftplib
|
|
2063
|
+
port = ftplib.FTP_PORT
|
|
2064
|
+
else:
|
|
2065
|
+
port = int(port)
|
|
2066
|
+
path, attrs = _splitattr(path)
|
|
2067
|
+
path = unquote(path)
|
|
2068
|
+
dirs = path.split('/')
|
|
2069
|
+
dirs, file = dirs[:-1], dirs[-1]
|
|
2070
|
+
if dirs and not dirs[0]: dirs = dirs[1:]
|
|
2071
|
+
if dirs and not dirs[0]: dirs[0] = '/'
|
|
2072
|
+
key = user, host, port, '/'.join(dirs)
|
|
2073
|
+
# XXX thread unsafe!
|
|
2074
|
+
if len(self.ftpcache) > MAXFTPCACHE:
|
|
2075
|
+
# Prune the cache, rather arbitrarily
|
|
2076
|
+
for k in list(self.ftpcache):
|
|
2077
|
+
if k != key:
|
|
2078
|
+
v = self.ftpcache[k]
|
|
2079
|
+
del self.ftpcache[k]
|
|
2080
|
+
v.close()
|
|
2081
|
+
try:
|
|
2082
|
+
if key not in self.ftpcache:
|
|
2083
|
+
self.ftpcache[key] = \
|
|
2084
|
+
ftpwrapper(user, passwd, host, port, dirs)
|
|
2085
|
+
if not file: type = 'D'
|
|
2086
|
+
else: type = 'I'
|
|
2087
|
+
for attr in attrs:
|
|
2088
|
+
attr, value = _splitvalue(attr)
|
|
2089
|
+
if attr.lower() == 'type' and \
|
|
2090
|
+
value in ('a', 'A', 'i', 'I', 'd', 'D'):
|
|
2091
|
+
type = value.upper()
|
|
2092
|
+
(fp, retrlen) = self.ftpcache[key].retrfile(file, type)
|
|
2093
|
+
mtype = mimetypes.guess_type("ftp:" + url)[0]
|
|
2094
|
+
headers = ""
|
|
2095
|
+
if mtype:
|
|
2096
|
+
headers += "Content-Type: %s\n" % mtype
|
|
2097
|
+
if retrlen is not None and retrlen >= 0:
|
|
2098
|
+
headers += "Content-Length: %d\n" % retrlen
|
|
2099
|
+
headers = email.message_from_string(headers)
|
|
2100
|
+
return addinfourl(fp, headers, "ftp:" + url)
|
|
2101
|
+
except ftperrors() as exp:
|
|
2102
|
+
raise URLError(f'ftp error: {exp}') from exp
|
|
2103
|
+
|
|
2104
|
+
def open_data(self, url, data=None):
|
|
2105
|
+
"""Use "data" URL."""
|
|
2106
|
+
if not isinstance(url, str):
|
|
2107
|
+
raise URLError('data error: proxy support for data protocol currently not implemented')
|
|
2108
|
+
# ignore POSTed data
|
|
2109
|
+
#
|
|
2110
|
+
# syntax of data URLs:
|
|
2111
|
+
# dataurl := "data:" [ mediatype ] [ ";base64" ] "," data
|
|
2112
|
+
# mediatype := [ type "/" subtype ] *( ";" parameter )
|
|
2113
|
+
# data := *urlchar
|
|
2114
|
+
# parameter := attribute "=" value
|
|
2115
|
+
try:
|
|
2116
|
+
[type, data] = url.split(',', 1)
|
|
2117
|
+
except ValueError:
|
|
2118
|
+
raise OSError('data error', 'bad data URL')
|
|
2119
|
+
if not type:
|
|
2120
|
+
type = 'text/plain;charset=US-ASCII'
|
|
2121
|
+
semi = type.rfind(';')
|
|
2122
|
+
if semi >= 0 and '=' not in type[semi:]:
|
|
2123
|
+
encoding = type[semi+1:]
|
|
2124
|
+
type = type[:semi]
|
|
2125
|
+
else:
|
|
2126
|
+
encoding = ''
|
|
2127
|
+
msg = []
|
|
2128
|
+
msg.append('Date: %s'%time.strftime('%a, %d %b %Y %H:%M:%S GMT',
|
|
2129
|
+
time.gmtime(time.time())))
|
|
2130
|
+
msg.append('Content-type: %s' % type)
|
|
2131
|
+
if encoding == 'base64':
|
|
2132
|
+
# XXX is this encoding/decoding ok?
|
|
2133
|
+
data = base64.decodebytes(data.encode('ascii')).decode('latin-1')
|
|
2134
|
+
else:
|
|
2135
|
+
data = unquote(data)
|
|
2136
|
+
msg.append('Content-Length: %d' % len(data))
|
|
2137
|
+
msg.append('')
|
|
2138
|
+
msg.append(data)
|
|
2139
|
+
msg = '\n'.join(msg)
|
|
2140
|
+
headers = email.message_from_string(msg)
|
|
2141
|
+
f = io.StringIO(msg)
|
|
2142
|
+
#f.fileno = None # needed for addinfourl
|
|
2143
|
+
return addinfourl(f, headers, url)
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
class FancyURLopener(URLopener):
|
|
2147
|
+
"""Derived class with handlers for errors we can handle (perhaps)."""
|
|
2148
|
+
|
|
2149
|
+
def __init__(self, *args, **kwargs):
|
|
2150
|
+
URLopener.__init__(self, *args, **kwargs)
|
|
2151
|
+
self.auth_cache = {}
|
|
2152
|
+
self.tries = 0
|
|
2153
|
+
self.maxtries = 10
|
|
2154
|
+
|
|
2155
|
+
def http_error_default(self, url, fp, errcode, errmsg, headers):
|
|
2156
|
+
"""Default error handling -- don't raise an exception."""
|
|
2157
|
+
return addinfourl(fp, headers, "http:" + url, errcode)
|
|
2158
|
+
|
|
2159
|
+
def http_error_302(self, url, fp, errcode, errmsg, headers, data=None):
|
|
2160
|
+
"""Error 302 -- relocated (temporarily)."""
|
|
2161
|
+
self.tries += 1
|
|
2162
|
+
try:
|
|
2163
|
+
if self.maxtries and self.tries >= self.maxtries:
|
|
2164
|
+
if hasattr(self, "http_error_500"):
|
|
2165
|
+
meth = self.http_error_500
|
|
2166
|
+
else:
|
|
2167
|
+
meth = self.http_error_default
|
|
2168
|
+
return meth(url, fp, 500,
|
|
2169
|
+
"Internal Server Error: Redirect Recursion",
|
|
2170
|
+
headers)
|
|
2171
|
+
result = self.redirect_internal(url, fp, errcode, errmsg,
|
|
2172
|
+
headers, data)
|
|
2173
|
+
return result
|
|
2174
|
+
finally:
|
|
2175
|
+
self.tries = 0
|
|
2176
|
+
|
|
2177
|
+
def redirect_internal(self, url, fp, errcode, errmsg, headers, data):
|
|
2178
|
+
if 'location' in headers:
|
|
2179
|
+
newurl = headers['location']
|
|
2180
|
+
elif 'uri' in headers:
|
|
2181
|
+
newurl = headers['uri']
|
|
2182
|
+
else:
|
|
2183
|
+
return
|
|
2184
|
+
fp.close()
|
|
2185
|
+
|
|
2186
|
+
# In case the server sent a relative URL, join with original:
|
|
2187
|
+
newurl = urljoin(self.type + ":" + url, newurl)
|
|
2188
|
+
|
|
2189
|
+
urlparts = urlparse(newurl)
|
|
2190
|
+
|
|
2191
|
+
# For security reasons, we don't allow redirection to anything other
|
|
2192
|
+
# than http, https and ftp.
|
|
2193
|
+
|
|
2194
|
+
# We are using newer HTTPError with older redirect_internal method
|
|
2195
|
+
# This older method will get deprecated in 3.3
|
|
2196
|
+
|
|
2197
|
+
if urlparts.scheme not in ('http', 'https', 'ftp', ''):
|
|
2198
|
+
raise HTTPError(newurl, errcode,
|
|
2199
|
+
errmsg +
|
|
2200
|
+
" Redirection to url '%s' is not allowed." % newurl,
|
|
2201
|
+
headers, fp)
|
|
2202
|
+
|
|
2203
|
+
return self.open(newurl)
|
|
2204
|
+
|
|
2205
|
+
def http_error_301(self, url, fp, errcode, errmsg, headers, data=None):
|
|
2206
|
+
"""Error 301 -- also relocated (permanently)."""
|
|
2207
|
+
return self.http_error_302(url, fp, errcode, errmsg, headers, data)
|
|
2208
|
+
|
|
2209
|
+
def http_error_303(self, url, fp, errcode, errmsg, headers, data=None):
|
|
2210
|
+
"""Error 303 -- also relocated (essentially identical to 302)."""
|
|
2211
|
+
return self.http_error_302(url, fp, errcode, errmsg, headers, data)
|
|
2212
|
+
|
|
2213
|
+
def http_error_307(self, url, fp, errcode, errmsg, headers, data=None):
|
|
2214
|
+
"""Error 307 -- relocated, but turn POST into error."""
|
|
2215
|
+
if data is None:
|
|
2216
|
+
return self.http_error_302(url, fp, errcode, errmsg, headers, data)
|
|
2217
|
+
else:
|
|
2218
|
+
return self.http_error_default(url, fp, errcode, errmsg, headers)
|
|
2219
|
+
|
|
2220
|
+
def http_error_308(self, url, fp, errcode, errmsg, headers, data=None):
|
|
2221
|
+
"""Error 308 -- relocated, but turn POST into error."""
|
|
2222
|
+
if data is None:
|
|
2223
|
+
return self.http_error_301(url, fp, errcode, errmsg, headers, data)
|
|
2224
|
+
else:
|
|
2225
|
+
return self.http_error_default(url, fp, errcode, errmsg, headers)
|
|
2226
|
+
|
|
2227
|
+
def http_error_401(self, url, fp, errcode, errmsg, headers, data=None,
|
|
2228
|
+
retry=False):
|
|
2229
|
+
"""Error 401 -- authentication required.
|
|
2230
|
+
This function supports Basic authentication only."""
|
|
2231
|
+
if 'www-authenticate' not in headers:
|
|
2232
|
+
URLopener.http_error_default(self, url, fp,
|
|
2233
|
+
errcode, errmsg, headers)
|
|
2234
|
+
stuff = headers['www-authenticate']
|
|
2235
|
+
match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
|
|
2236
|
+
if not match:
|
|
2237
|
+
URLopener.http_error_default(self, url, fp,
|
|
2238
|
+
errcode, errmsg, headers)
|
|
2239
|
+
scheme, realm = match.groups()
|
|
2240
|
+
if scheme.lower() != 'basic':
|
|
2241
|
+
URLopener.http_error_default(self, url, fp,
|
|
2242
|
+
errcode, errmsg, headers)
|
|
2243
|
+
if not retry:
|
|
2244
|
+
URLopener.http_error_default(self, url, fp, errcode, errmsg,
|
|
2245
|
+
headers)
|
|
2246
|
+
name = 'retry_' + self.type + '_basic_auth'
|
|
2247
|
+
if data is None:
|
|
2248
|
+
return getattr(self,name)(url, realm)
|
|
2249
|
+
else:
|
|
2250
|
+
return getattr(self,name)(url, realm, data)
|
|
2251
|
+
|
|
2252
|
+
def http_error_407(self, url, fp, errcode, errmsg, headers, data=None,
|
|
2253
|
+
retry=False):
|
|
2254
|
+
"""Error 407 -- proxy authentication required.
|
|
2255
|
+
This function supports Basic authentication only."""
|
|
2256
|
+
if 'proxy-authenticate' not in headers:
|
|
2257
|
+
URLopener.http_error_default(self, url, fp,
|
|
2258
|
+
errcode, errmsg, headers)
|
|
2259
|
+
stuff = headers['proxy-authenticate']
|
|
2260
|
+
match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
|
|
2261
|
+
if not match:
|
|
2262
|
+
URLopener.http_error_default(self, url, fp,
|
|
2263
|
+
errcode, errmsg, headers)
|
|
2264
|
+
scheme, realm = match.groups()
|
|
2265
|
+
if scheme.lower() != 'basic':
|
|
2266
|
+
URLopener.http_error_default(self, url, fp,
|
|
2267
|
+
errcode, errmsg, headers)
|
|
2268
|
+
if not retry:
|
|
2269
|
+
URLopener.http_error_default(self, url, fp, errcode, errmsg,
|
|
2270
|
+
headers)
|
|
2271
|
+
name = 'retry_proxy_' + self.type + '_basic_auth'
|
|
2272
|
+
if data is None:
|
|
2273
|
+
return getattr(self,name)(url, realm)
|
|
2274
|
+
else:
|
|
2275
|
+
return getattr(self,name)(url, realm, data)
|
|
2276
|
+
|
|
2277
|
+
def retry_proxy_http_basic_auth(self, url, realm, data=None):
|
|
2278
|
+
host, selector = _splithost(url)
|
|
2279
|
+
newurl = 'http://' + host + selector
|
|
2280
|
+
proxy = self.proxies['http']
|
|
2281
|
+
urltype, proxyhost = _splittype(proxy)
|
|
2282
|
+
proxyhost, proxyselector = _splithost(proxyhost)
|
|
2283
|
+
i = proxyhost.find('@') + 1
|
|
2284
|
+
proxyhost = proxyhost[i:]
|
|
2285
|
+
user, passwd = self.get_user_passwd(proxyhost, realm, i)
|
|
2286
|
+
if not (user or passwd): return None
|
|
2287
|
+
proxyhost = "%s:%s@%s" % (quote(user, safe=''),
|
|
2288
|
+
quote(passwd, safe=''), proxyhost)
|
|
2289
|
+
self.proxies['http'] = 'http://' + proxyhost + proxyselector
|
|
2290
|
+
if data is None:
|
|
2291
|
+
return self.open(newurl)
|
|
2292
|
+
else:
|
|
2293
|
+
return self.open(newurl, data)
|
|
2294
|
+
|
|
2295
|
+
def retry_proxy_https_basic_auth(self, url, realm, data=None):
|
|
2296
|
+
host, selector = _splithost(url)
|
|
2297
|
+
newurl = 'https://' + host + selector
|
|
2298
|
+
proxy = self.proxies['https']
|
|
2299
|
+
urltype, proxyhost = _splittype(proxy)
|
|
2300
|
+
proxyhost, proxyselector = _splithost(proxyhost)
|
|
2301
|
+
i = proxyhost.find('@') + 1
|
|
2302
|
+
proxyhost = proxyhost[i:]
|
|
2303
|
+
user, passwd = self.get_user_passwd(proxyhost, realm, i)
|
|
2304
|
+
if not (user or passwd): return None
|
|
2305
|
+
proxyhost = "%s:%s@%s" % (quote(user, safe=''),
|
|
2306
|
+
quote(passwd, safe=''), proxyhost)
|
|
2307
|
+
self.proxies['https'] = 'https://' + proxyhost + proxyselector
|
|
2308
|
+
if data is None:
|
|
2309
|
+
return self.open(newurl)
|
|
2310
|
+
else:
|
|
2311
|
+
return self.open(newurl, data)
|
|
2312
|
+
|
|
2313
|
+
def retry_http_basic_auth(self, url, realm, data=None):
|
|
2314
|
+
host, selector = _splithost(url)
|
|
2315
|
+
i = host.find('@') + 1
|
|
2316
|
+
host = host[i:]
|
|
2317
|
+
user, passwd = self.get_user_passwd(host, realm, i)
|
|
2318
|
+
if not (user or passwd): return None
|
|
2319
|
+
host = "%s:%s@%s" % (quote(user, safe=''),
|
|
2320
|
+
quote(passwd, safe=''), host)
|
|
2321
|
+
newurl = 'http://' + host + selector
|
|
2322
|
+
if data is None:
|
|
2323
|
+
return self.open(newurl)
|
|
2324
|
+
else:
|
|
2325
|
+
return self.open(newurl, data)
|
|
2326
|
+
|
|
2327
|
+
def retry_https_basic_auth(self, url, realm, data=None):
|
|
2328
|
+
host, selector = _splithost(url)
|
|
2329
|
+
i = host.find('@') + 1
|
|
2330
|
+
host = host[i:]
|
|
2331
|
+
user, passwd = self.get_user_passwd(host, realm, i)
|
|
2332
|
+
if not (user or passwd): return None
|
|
2333
|
+
host = "%s:%s@%s" % (quote(user, safe=''),
|
|
2334
|
+
quote(passwd, safe=''), host)
|
|
2335
|
+
newurl = 'https://' + host + selector
|
|
2336
|
+
if data is None:
|
|
2337
|
+
return self.open(newurl)
|
|
2338
|
+
else:
|
|
2339
|
+
return self.open(newurl, data)
|
|
2340
|
+
|
|
2341
|
+
def get_user_passwd(self, host, realm, clear_cache=0):
|
|
2342
|
+
key = realm + '@' + host.lower()
|
|
2343
|
+
if key in self.auth_cache:
|
|
2344
|
+
if clear_cache:
|
|
2345
|
+
del self.auth_cache[key]
|
|
2346
|
+
else:
|
|
2347
|
+
return self.auth_cache[key]
|
|
2348
|
+
user, passwd = self.prompt_user_passwd(host, realm)
|
|
2349
|
+
if user or passwd: self.auth_cache[key] = (user, passwd)
|
|
2350
|
+
return user, passwd
|
|
2351
|
+
|
|
2352
|
+
def prompt_user_passwd(self, host, realm):
|
|
2353
|
+
"""Override this in a GUI environment!"""
|
|
2354
|
+
import getpass
|
|
2355
|
+
try:
|
|
2356
|
+
user = input("Enter username for %s at %s: " % (realm, host))
|
|
2357
|
+
passwd = getpass.getpass("Enter password for %s in %s at %s: " %
|
|
2358
|
+
(user, realm, host))
|
|
2359
|
+
return user, passwd
|
|
2360
|
+
except KeyboardInterrupt:
|
|
2361
|
+
print()
|
|
2362
|
+
return None, None
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
# Utility functions
|
|
2366
|
+
|
|
2367
|
+
_localhost = None
|
|
2368
|
+
def localhost():
|
|
2369
|
+
"""Return the IP address of the magic hostname 'localhost'."""
|
|
2370
|
+
global _localhost
|
|
2371
|
+
if _localhost is None:
|
|
2372
|
+
_localhost = socket.gethostbyname('localhost')
|
|
2373
|
+
return _localhost
|
|
2374
|
+
|
|
2375
|
+
_thishost = None
|
|
2376
|
+
def thishost():
|
|
2377
|
+
"""Return the IP addresses of the current host."""
|
|
2378
|
+
global _thishost
|
|
2379
|
+
if _thishost is None:
|
|
2380
|
+
try:
|
|
2381
|
+
_thishost = tuple(socket.gethostbyname_ex(socket.gethostname())[2])
|
|
2382
|
+
except socket.gaierror:
|
|
2383
|
+
_thishost = tuple(socket.gethostbyname_ex('localhost')[2])
|
|
2384
|
+
return _thishost
|
|
2385
|
+
|
|
2386
|
+
_ftperrors = None
|
|
2387
|
+
def ftperrors():
|
|
2388
|
+
"""Return the set of errors raised by the FTP class."""
|
|
2389
|
+
global _ftperrors
|
|
2390
|
+
if _ftperrors is None:
|
|
2391
|
+
import ftplib
|
|
2392
|
+
_ftperrors = ftplib.all_errors
|
|
2393
|
+
return _ftperrors
|
|
2394
|
+
|
|
2395
|
+
_noheaders = None
|
|
2396
|
+
def noheaders():
|
|
2397
|
+
"""Return an empty email Message object."""
|
|
2398
|
+
global _noheaders
|
|
2399
|
+
if _noheaders is None:
|
|
2400
|
+
_noheaders = email.message_from_string("")
|
|
2401
|
+
return _noheaders
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
# Utility classes
|
|
2405
|
+
|
|
2406
|
+
class ftpwrapper:
|
|
2407
|
+
"""Class used by open_ftp() for cache of open FTP connections."""
|
|
2408
|
+
|
|
2409
|
+
def __init__(self, user, passwd, host, port, dirs, timeout=None,
|
|
2410
|
+
persistent=True):
|
|
2411
|
+
self.user = user
|
|
2412
|
+
self.passwd = passwd
|
|
2413
|
+
self.host = host
|
|
2414
|
+
self.port = port
|
|
2415
|
+
self.dirs = dirs
|
|
2416
|
+
self.timeout = timeout
|
|
2417
|
+
self.refcount = 0
|
|
2418
|
+
self.keepalive = persistent
|
|
2419
|
+
try:
|
|
2420
|
+
self.init()
|
|
2421
|
+
except:
|
|
2422
|
+
self.close()
|
|
2423
|
+
raise
|
|
2424
|
+
|
|
2425
|
+
def init(self):
|
|
2426
|
+
import ftplib
|
|
2427
|
+
self.busy = 0
|
|
2428
|
+
self.ftp = ftplib.FTP()
|
|
2429
|
+
self.ftp.connect(self.host, self.port, self.timeout)
|
|
2430
|
+
self.ftp.login(self.user, self.passwd)
|
|
2431
|
+
_target = '/'.join(self.dirs)
|
|
2432
|
+
self.ftp.cwd(_target)
|
|
2433
|
+
|
|
2434
|
+
def retrfile(self, file, type):
|
|
2435
|
+
import ftplib
|
|
2436
|
+
self.endtransfer()
|
|
2437
|
+
if type in ('d', 'D'): cmd = 'TYPE A'; isdir = 1
|
|
2438
|
+
else: cmd = 'TYPE ' + type; isdir = 0
|
|
2439
|
+
try:
|
|
2440
|
+
self.ftp.voidcmd(cmd)
|
|
2441
|
+
except ftplib.all_errors:
|
|
2442
|
+
self.init()
|
|
2443
|
+
self.ftp.voidcmd(cmd)
|
|
2444
|
+
conn = None
|
|
2445
|
+
if file and not isdir:
|
|
2446
|
+
# Try to retrieve as a file
|
|
2447
|
+
try:
|
|
2448
|
+
cmd = 'RETR ' + file
|
|
2449
|
+
conn, retrlen = self.ftp.ntransfercmd(cmd)
|
|
2450
|
+
except ftplib.error_perm as reason:
|
|
2451
|
+
if str(reason)[:3] != '550':
|
|
2452
|
+
raise URLError(f'ftp error: {reason}') from reason
|
|
2453
|
+
if not conn:
|
|
2454
|
+
# Set transfer mode to ASCII!
|
|
2455
|
+
self.ftp.voidcmd('TYPE A')
|
|
2456
|
+
# Try a directory listing. Verify that directory exists.
|
|
2457
|
+
if file:
|
|
2458
|
+
pwd = self.ftp.pwd()
|
|
2459
|
+
try:
|
|
2460
|
+
try:
|
|
2461
|
+
self.ftp.cwd(file)
|
|
2462
|
+
except ftplib.error_perm as reason:
|
|
2463
|
+
raise URLError('ftp error: %r' % reason) from reason
|
|
2464
|
+
finally:
|
|
2465
|
+
self.ftp.cwd(pwd)
|
|
2466
|
+
cmd = 'LIST ' + file
|
|
2467
|
+
else:
|
|
2468
|
+
cmd = 'LIST'
|
|
2469
|
+
conn, retrlen = self.ftp.ntransfercmd(cmd)
|
|
2470
|
+
self.busy = 1
|
|
2471
|
+
|
|
2472
|
+
ftpobj = addclosehook(conn.makefile('rb'), self.file_close)
|
|
2473
|
+
self.refcount += 1
|
|
2474
|
+
conn.close()
|
|
2475
|
+
# Pass back both a suitably decorated object and a retrieval length
|
|
2476
|
+
return (ftpobj, retrlen)
|
|
2477
|
+
|
|
2478
|
+
def endtransfer(self):
|
|
2479
|
+
if not self.busy:
|
|
2480
|
+
return
|
|
2481
|
+
self.busy = 0
|
|
2482
|
+
try:
|
|
2483
|
+
self.ftp.voidresp()
|
|
2484
|
+
except ftperrors():
|
|
2485
|
+
pass
|
|
2486
|
+
|
|
2487
|
+
def close(self):
|
|
2488
|
+
self.keepalive = False
|
|
2489
|
+
if self.refcount <= 0:
|
|
2490
|
+
self.real_close()
|
|
2491
|
+
|
|
2492
|
+
def file_close(self):
|
|
2493
|
+
self.endtransfer()
|
|
2494
|
+
self.refcount -= 1
|
|
2495
|
+
if self.refcount <= 0 and not self.keepalive:
|
|
2496
|
+
self.real_close()
|
|
2497
|
+
|
|
2498
|
+
def real_close(self):
|
|
2499
|
+
self.endtransfer()
|
|
2500
|
+
try:
|
|
2501
|
+
self.ftp.close()
|
|
2502
|
+
except ftperrors():
|
|
2503
|
+
pass
|
|
2504
|
+
|
|
2505
|
+
# Proxy handling
|
|
2506
|
+
def getproxies_environment():
|
|
2507
|
+
"""Return a dictionary of scheme -> proxy server URL mappings.
|
|
2508
|
+
|
|
2509
|
+
Scan the environment for variables named <scheme>_proxy;
|
|
2510
|
+
this seems to be the standard convention. If you need a
|
|
2511
|
+
different way, you can pass a proxies dictionary to the
|
|
2512
|
+
[Fancy]URLopener constructor.
|
|
2513
|
+
"""
|
|
2514
|
+
# in order to prefer lowercase variables, process environment in
|
|
2515
|
+
# two passes: first matches any, second pass matches lowercase only
|
|
2516
|
+
|
|
2517
|
+
# select only environment variables which end in (after making lowercase) _proxy
|
|
2518
|
+
proxies = {}
|
|
2519
|
+
environment = []
|
|
2520
|
+
for name in os.environ:
|
|
2521
|
+
# fast screen underscore position before more expensive case-folding
|
|
2522
|
+
if len(name) > 5 and name[-6] == "_" and name[-5:].lower() == "proxy":
|
|
2523
|
+
value = os.environ[name]
|
|
2524
|
+
proxy_name = name[:-6].lower()
|
|
2525
|
+
environment.append((name, value, proxy_name))
|
|
2526
|
+
if value:
|
|
2527
|
+
proxies[proxy_name] = value
|
|
2528
|
+
# CVE-2016-1000110 - If we are running as CGI script, forget HTTP_PROXY
|
|
2529
|
+
# (non-all-lowercase) as it may be set from the web server by a "Proxy:"
|
|
2530
|
+
# header from the client
|
|
2531
|
+
# If "proxy" is lowercase, it will still be used thanks to the next block
|
|
2532
|
+
if 'REQUEST_METHOD' in os.environ:
|
|
2533
|
+
proxies.pop('http', None)
|
|
2534
|
+
for name, value, proxy_name in environment:
|
|
2535
|
+
# not case-folded, checking here for lower-case env vars only
|
|
2536
|
+
if name[-6:] == '_proxy':
|
|
2537
|
+
if value:
|
|
2538
|
+
proxies[proxy_name] = value
|
|
2539
|
+
else:
|
|
2540
|
+
proxies.pop(proxy_name, None)
|
|
2541
|
+
return proxies
|
|
2542
|
+
|
|
2543
|
+
def proxy_bypass_environment(host, proxies=None):
|
|
2544
|
+
"""Test if proxies should not be used for a particular host.
|
|
2545
|
+
|
|
2546
|
+
Checks the proxy dict for the value of no_proxy, which should
|
|
2547
|
+
be a list of comma separated DNS suffixes, or '*' for all hosts.
|
|
2548
|
+
|
|
2549
|
+
"""
|
|
2550
|
+
if proxies is None:
|
|
2551
|
+
proxies = getproxies_environment()
|
|
2552
|
+
# don't bypass, if no_proxy isn't specified
|
|
2553
|
+
try:
|
|
2554
|
+
no_proxy = proxies['no']
|
|
2555
|
+
except KeyError:
|
|
2556
|
+
return False
|
|
2557
|
+
# '*' is special case for always bypass
|
|
2558
|
+
if no_proxy == '*':
|
|
2559
|
+
return True
|
|
2560
|
+
host = host.lower()
|
|
2561
|
+
# strip port off host
|
|
2562
|
+
hostonly, port = _splitport(host)
|
|
2563
|
+
# check if the host ends with any of the DNS suffixes
|
|
2564
|
+
for name in no_proxy.split(','):
|
|
2565
|
+
name = name.strip()
|
|
2566
|
+
if name:
|
|
2567
|
+
name = name.lstrip('.') # ignore leading dots
|
|
2568
|
+
name = name.lower()
|
|
2569
|
+
if hostonly == name or host == name:
|
|
2570
|
+
return True
|
|
2571
|
+
name = '.' + name
|
|
2572
|
+
if hostonly.endswith(name) or host.endswith(name):
|
|
2573
|
+
return True
|
|
2574
|
+
# otherwise, don't bypass
|
|
2575
|
+
return False
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
# This code tests an OSX specific data structure but is testable on all
|
|
2579
|
+
# platforms
|
|
2580
|
+
def _proxy_bypass_macosx_sysconf(host, proxy_settings):
|
|
2581
|
+
"""
|
|
2582
|
+
Return True iff this host shouldn't be accessed using a proxy
|
|
2583
|
+
|
|
2584
|
+
This function uses the MacOSX framework SystemConfiguration
|
|
2585
|
+
to fetch the proxy information.
|
|
2586
|
+
|
|
2587
|
+
proxy_settings come from _scproxy._get_proxy_settings or get mocked ie:
|
|
2588
|
+
{ 'exclude_simple': bool,
|
|
2589
|
+
'exceptions': ['foo.bar', '*.bar.com', '127.0.0.1', '10.1', '10.0/16']
|
|
2590
|
+
}
|
|
2591
|
+
"""
|
|
2592
|
+
from fnmatch import fnmatch
|
|
2593
|
+
from ipaddress import AddressValueError, IPv4Address
|
|
2594
|
+
|
|
2595
|
+
hostonly, port = _splitport(host)
|
|
2596
|
+
|
|
2597
|
+
def ip2num(ipAddr):
|
|
2598
|
+
parts = ipAddr.split('.')
|
|
2599
|
+
parts = list(map(int, parts))
|
|
2600
|
+
if len(parts) != 4:
|
|
2601
|
+
parts = (parts + [0, 0, 0, 0])[:4]
|
|
2602
|
+
return (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8) | parts[3]
|
|
2603
|
+
|
|
2604
|
+
# Check for simple host names:
|
|
2605
|
+
if '.' not in host:
|
|
2606
|
+
if proxy_settings['exclude_simple']:
|
|
2607
|
+
return True
|
|
2608
|
+
|
|
2609
|
+
hostIP = None
|
|
2610
|
+
try:
|
|
2611
|
+
hostIP = int(IPv4Address(hostonly))
|
|
2612
|
+
except AddressValueError:
|
|
2613
|
+
pass
|
|
2614
|
+
|
|
2615
|
+
for value in proxy_settings.get('exceptions', ()):
|
|
2616
|
+
# Items in the list are strings like these: *.local, 169.254/16
|
|
2617
|
+
if not value: continue
|
|
2618
|
+
|
|
2619
|
+
m = re.match(r"(\d+(?:\.\d+)*)(/\d+)?", value)
|
|
2620
|
+
if m is not None and hostIP is not None:
|
|
2621
|
+
base = ip2num(m.group(1))
|
|
2622
|
+
mask = m.group(2)
|
|
2623
|
+
if mask is None:
|
|
2624
|
+
mask = 8 * (m.group(1).count('.') + 1)
|
|
2625
|
+
else:
|
|
2626
|
+
mask = int(mask[1:])
|
|
2627
|
+
|
|
2628
|
+
if mask < 0 or mask > 32:
|
|
2629
|
+
# System libraries ignore invalid prefix lengths
|
|
2630
|
+
continue
|
|
2631
|
+
|
|
2632
|
+
mask = 32 - mask
|
|
2633
|
+
|
|
2634
|
+
if (hostIP >> mask) == (base >> mask):
|
|
2635
|
+
return True
|
|
2636
|
+
|
|
2637
|
+
elif fnmatch(host, value):
|
|
2638
|
+
return True
|
|
2639
|
+
|
|
2640
|
+
return False
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
# Same as _proxy_bypass_macosx_sysconf, testable on all platforms
|
|
2644
|
+
def _proxy_bypass_winreg_override(host, override):
|
|
2645
|
+
"""Return True if the host should bypass the proxy server.
|
|
2646
|
+
|
|
2647
|
+
The proxy override list is obtained from the Windows
|
|
2648
|
+
Internet settings proxy override registry value.
|
|
2649
|
+
|
|
2650
|
+
An example of a proxy override value is:
|
|
2651
|
+
"www.example.com;*.example.net; 192.168.0.1"
|
|
2652
|
+
"""
|
|
2653
|
+
from fnmatch import fnmatch
|
|
2654
|
+
|
|
2655
|
+
host, _ = _splitport(host)
|
|
2656
|
+
proxy_override = override.split(';')
|
|
2657
|
+
for test in proxy_override:
|
|
2658
|
+
test = test.strip()
|
|
2659
|
+
# "<local>" should bypass the proxy server for all intranet addresses
|
|
2660
|
+
if test == '<local>':
|
|
2661
|
+
if '.' not in host:
|
|
2662
|
+
return True
|
|
2663
|
+
elif fnmatch(host, test):
|
|
2664
|
+
return True
|
|
2665
|
+
return False
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
if sys.platform == 'darwin':
|
|
2669
|
+
from _scproxy import _get_proxy_settings, _get_proxies
|
|
2670
|
+
|
|
2671
|
+
def proxy_bypass_macosx_sysconf(host):
|
|
2672
|
+
proxy_settings = _get_proxy_settings()
|
|
2673
|
+
return _proxy_bypass_macosx_sysconf(host, proxy_settings)
|
|
2674
|
+
|
|
2675
|
+
def getproxies_macosx_sysconf():
|
|
2676
|
+
"""Return a dictionary of scheme -> proxy server URL mappings.
|
|
2677
|
+
|
|
2678
|
+
This function uses the MacOSX framework SystemConfiguration
|
|
2679
|
+
to fetch the proxy information.
|
|
2680
|
+
"""
|
|
2681
|
+
return _get_proxies()
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
def proxy_bypass(host):
|
|
2686
|
+
"""Return True, if host should be bypassed.
|
|
2687
|
+
|
|
2688
|
+
Checks proxy settings gathered from the environment, if specified,
|
|
2689
|
+
or from the MacOSX framework SystemConfiguration.
|
|
2690
|
+
|
|
2691
|
+
"""
|
|
2692
|
+
proxies = getproxies_environment()
|
|
2693
|
+
if proxies:
|
|
2694
|
+
return proxy_bypass_environment(host, proxies)
|
|
2695
|
+
else:
|
|
2696
|
+
return proxy_bypass_macosx_sysconf(host)
|
|
2697
|
+
|
|
2698
|
+
def getproxies():
|
|
2699
|
+
return getproxies_environment() or getproxies_macosx_sysconf()
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
elif os.name == 'nt':
|
|
2703
|
+
def getproxies_registry():
|
|
2704
|
+
"""Return a dictionary of scheme -> proxy server URL mappings.
|
|
2705
|
+
|
|
2706
|
+
Win32 uses the registry to store proxies.
|
|
2707
|
+
|
|
2708
|
+
"""
|
|
2709
|
+
proxies = {}
|
|
2710
|
+
try:
|
|
2711
|
+
import winreg
|
|
2712
|
+
except ImportError:
|
|
2713
|
+
# Std module, so should be around - but you never know!
|
|
2714
|
+
return proxies
|
|
2715
|
+
try:
|
|
2716
|
+
internetSettings = winreg.OpenKey(winreg.HKEY_CURRENT_USER,
|
|
2717
|
+
r'Software\Microsoft\Windows\CurrentVersion\Internet Settings')
|
|
2718
|
+
proxyEnable = winreg.QueryValueEx(internetSettings,
|
|
2719
|
+
'ProxyEnable')[0]
|
|
2720
|
+
if proxyEnable:
|
|
2721
|
+
# Returned as Unicode but problems if not converted to ASCII
|
|
2722
|
+
proxyServer = str(winreg.QueryValueEx(internetSettings,
|
|
2723
|
+
'ProxyServer')[0])
|
|
2724
|
+
if '=' not in proxyServer and ';' not in proxyServer:
|
|
2725
|
+
# Use one setting for all protocols.
|
|
2726
|
+
proxyServer = 'http={0};https={0};ftp={0}'.format(proxyServer)
|
|
2727
|
+
for p in proxyServer.split(';'):
|
|
2728
|
+
protocol, address = p.split('=', 1)
|
|
2729
|
+
# See if address has a type:// prefix
|
|
2730
|
+
if not re.match('(?:[^/:]+)://', address):
|
|
2731
|
+
# Add type:// prefix to address without specifying type
|
|
2732
|
+
if protocol in ('http', 'https', 'ftp'):
|
|
2733
|
+
# The default proxy type of Windows is HTTP
|
|
2734
|
+
address = 'http://' + address
|
|
2735
|
+
elif protocol == 'socks':
|
|
2736
|
+
address = 'socks://' + address
|
|
2737
|
+
proxies[protocol] = address
|
|
2738
|
+
# Use SOCKS proxy for HTTP(S) protocols
|
|
2739
|
+
if proxies.get('socks'):
|
|
2740
|
+
# The default SOCKS proxy type of Windows is SOCKS4
|
|
2741
|
+
address = re.sub(r'^socks://', 'socks4://', proxies['socks'])
|
|
2742
|
+
proxies['http'] = proxies.get('http') or address
|
|
2743
|
+
proxies['https'] = proxies.get('https') or address
|
|
2744
|
+
internetSettings.Close()
|
|
2745
|
+
except (OSError, ValueError, TypeError):
|
|
2746
|
+
# Either registry key not found etc, or the value in an
|
|
2747
|
+
# unexpected format.
|
|
2748
|
+
# proxies already set up to be empty so nothing to do
|
|
2749
|
+
pass
|
|
2750
|
+
return proxies
|
|
2751
|
+
|
|
2752
|
+
def getproxies():
|
|
2753
|
+
"""Return a dictionary of scheme -> proxy server URL mappings.
|
|
2754
|
+
|
|
2755
|
+
Returns settings gathered from the environment, if specified,
|
|
2756
|
+
or the registry.
|
|
2757
|
+
|
|
2758
|
+
"""
|
|
2759
|
+
return getproxies_environment() or getproxies_registry()
|
|
2760
|
+
|
|
2761
|
+
def proxy_bypass_registry(host):
|
|
2762
|
+
try:
|
|
2763
|
+
import winreg
|
|
2764
|
+
except ImportError:
|
|
2765
|
+
# Std modules, so should be around - but you never know!
|
|
2766
|
+
return False
|
|
2767
|
+
try:
|
|
2768
|
+
internetSettings = winreg.OpenKey(winreg.HKEY_CURRENT_USER,
|
|
2769
|
+
r'Software\Microsoft\Windows\CurrentVersion\Internet Settings')
|
|
2770
|
+
proxyEnable = winreg.QueryValueEx(internetSettings,
|
|
2771
|
+
'ProxyEnable')[0]
|
|
2772
|
+
proxyOverride = str(winreg.QueryValueEx(internetSettings,
|
|
2773
|
+
'ProxyOverride')[0])
|
|
2774
|
+
# ^^^^ Returned as Unicode but problems if not converted to ASCII
|
|
2775
|
+
except OSError:
|
|
2776
|
+
return False
|
|
2777
|
+
if not proxyEnable or not proxyOverride:
|
|
2778
|
+
return False
|
|
2779
|
+
return _proxy_bypass_winreg_override(host, proxyOverride)
|
|
2780
|
+
|
|
2781
|
+
def proxy_bypass(host):
|
|
2782
|
+
"""Return True, if host should be bypassed.
|
|
2783
|
+
|
|
2784
|
+
Checks proxy settings gathered from the environment, if specified,
|
|
2785
|
+
or the registry.
|
|
2786
|
+
|
|
2787
|
+
"""
|
|
2788
|
+
proxies = getproxies_environment()
|
|
2789
|
+
if proxies:
|
|
2790
|
+
return proxy_bypass_environment(host, proxies)
|
|
2791
|
+
else:
|
|
2792
|
+
return proxy_bypass_registry(host)
|
|
2793
|
+
|
|
2794
|
+
else:
|
|
2795
|
+
# By default use environment variables
|
|
2796
|
+
getproxies = getproxies_environment
|
|
2797
|
+
proxy_bypass = proxy_bypass_environment
|