@ai-ecoverse/wasix-python 3.14.2-2
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/LICENSE +277 -0
- package/README.md +22 -0
- package/bin/python.wasm +0 -0
- package/include/python3.14/Python.h +155 -0
- package/include/python3.14/README.rst +14 -0
- package/include/python3.14/abstract.h +915 -0
- package/include/python3.14/audit.h +30 -0
- package/include/python3.14/bltinmodule.h +14 -0
- package/include/python3.14/boolobject.h +54 -0
- package/include/python3.14/bytearrayobject.h +44 -0
- package/include/python3.14/bytesobject.h +66 -0
- package/include/python3.14/ceval.h +145 -0
- package/include/python3.14/codecs.h +176 -0
- package/include/python3.14/compile.h +22 -0
- package/include/python3.14/complexobject.h +30 -0
- package/include/python3.14/cpython/abstract.h +104 -0
- package/include/python3.14/cpython/audit.h +8 -0
- package/include/python3.14/cpython/bytearrayobject.h +38 -0
- package/include/python3.14/cpython/bytesobject.h +42 -0
- package/include/python3.14/cpython/cellobject.h +50 -0
- package/include/python3.14/cpython/ceval.h +43 -0
- package/include/python3.14/cpython/classobject.h +71 -0
- package/include/python3.14/cpython/code.h +340 -0
- package/include/python3.14/cpython/compile.h +50 -0
- package/include/python3.14/cpython/complexobject.h +33 -0
- package/include/python3.14/cpython/context.h +107 -0
- package/include/python3.14/cpython/critical_section.h +154 -0
- package/include/python3.14/cpython/descrobject.h +62 -0
- package/include/python3.14/cpython/dictobject.h +105 -0
- package/include/python3.14/cpython/fileobject.h +16 -0
- package/include/python3.14/cpython/fileutils.h +16 -0
- package/include/python3.14/cpython/floatobject.h +27 -0
- package/include/python3.14/cpython/frameobject.h +35 -0
- package/include/python3.14/cpython/funcobject.h +185 -0
- package/include/python3.14/cpython/genobject.h +56 -0
- package/include/python3.14/cpython/import.h +30 -0
- package/include/python3.14/cpython/initconfig.h +334 -0
- package/include/python3.14/cpython/listobject.h +53 -0
- package/include/python3.14/cpython/lock.h +74 -0
- package/include/python3.14/cpython/longintrepr.h +184 -0
- package/include/python3.14/cpython/longobject.h +89 -0
- package/include/python3.14/cpython/memoryobject.h +50 -0
- package/include/python3.14/cpython/methodobject.h +66 -0
- package/include/python3.14/cpython/modsupport.h +26 -0
- package/include/python3.14/cpython/monitoring.h +269 -0
- package/include/python3.14/cpython/object.h +493 -0
- package/include/python3.14/cpython/objimpl.h +104 -0
- package/include/python3.14/cpython/odictobject.h +43 -0
- package/include/python3.14/cpython/picklebufobject.h +31 -0
- package/include/python3.14/cpython/pthread_stubs.h +105 -0
- package/include/python3.14/cpython/pyatomic.h +614 -0
- package/include/python3.14/cpython/pyatomic_gcc.h +615 -0
- package/include/python3.14/cpython/pyatomic_msc.h +1197 -0
- package/include/python3.14/cpython/pyatomic_std.h +1112 -0
- package/include/python3.14/cpython/pyctype.h +39 -0
- package/include/python3.14/cpython/pydebug.h +38 -0
- package/include/python3.14/cpython/pyerrors.h +132 -0
- package/include/python3.14/cpython/pyfpe.h +15 -0
- package/include/python3.14/cpython/pyframe.h +45 -0
- package/include/python3.14/cpython/pyhash.h +54 -0
- package/include/python3.14/cpython/pylifecycle.h +89 -0
- package/include/python3.14/cpython/pymem.h +84 -0
- package/include/python3.14/cpython/pystate.h +275 -0
- package/include/python3.14/cpython/pystats.h +194 -0
- package/include/python3.14/cpython/pythonrun.h +96 -0
- package/include/python3.14/cpython/pythread.h +43 -0
- package/include/python3.14/cpython/pytime.h +27 -0
- package/include/python3.14/cpython/setobject.h +71 -0
- package/include/python3.14/cpython/traceback.h +13 -0
- package/include/python3.14/cpython/tracemalloc.h +32 -0
- package/include/python3.14/cpython/tupleobject.h +40 -0
- package/include/python3.14/cpython/unicodeobject.h +773 -0
- package/include/python3.14/cpython/warnings.h +20 -0
- package/include/python3.14/cpython/weakrefobject.h +66 -0
- package/include/python3.14/critical_section.h +16 -0
- package/include/python3.14/datetime.h +267 -0
- package/include/python3.14/descrobject.h +100 -0
- package/include/python3.14/dictobject.h +108 -0
- package/include/python3.14/dynamic_annotations.h +499 -0
- package/include/python3.14/enumobject.h +17 -0
- package/include/python3.14/errcode.h +45 -0
- package/include/python3.14/exports.h +105 -0
- package/include/python3.14/fileobject.h +41 -0
- package/include/python3.14/fileutils.h +62 -0
- package/include/python3.14/floatobject.h +54 -0
- package/include/python3.14/frameobject.h +20 -0
- package/include/python3.14/genericaliasobject.h +14 -0
- package/include/python3.14/import.h +103 -0
- package/include/python3.14/internal/mimalloc/mimalloc/atomic.h +392 -0
- package/include/python3.14/internal/mimalloc/mimalloc/internal.h +969 -0
- package/include/python3.14/internal/mimalloc/mimalloc/prim.h +329 -0
- package/include/python3.14/internal/mimalloc/mimalloc/track.h +147 -0
- package/include/python3.14/internal/mimalloc/mimalloc/types.h +721 -0
- package/include/python3.14/internal/mimalloc/mimalloc.h +565 -0
- package/include/python3.14/internal/pycore_abstract.h +61 -0
- package/include/python3.14/internal/pycore_asdl.h +112 -0
- package/include/python3.14/internal/pycore_ast.h +945 -0
- package/include/python3.14/internal/pycore_ast_state.h +271 -0
- package/include/python3.14/internal/pycore_atexit.h +31 -0
- package/include/python3.14/internal/pycore_audit.h +35 -0
- package/include/python3.14/internal/pycore_backoff.h +133 -0
- package/include/python3.14/internal/pycore_bitutils.h +186 -0
- package/include/python3.14/internal/pycore_blocks_output_buffer.h +321 -0
- package/include/python3.14/internal/pycore_brc.h +73 -0
- package/include/python3.14/internal/pycore_bytes_methods.h +82 -0
- package/include/python3.14/internal/pycore_bytesobject.h +149 -0
- package/include/python3.14/internal/pycore_c_array.h +39 -0
- package/include/python3.14/internal/pycore_call.h +206 -0
- package/include/python3.14/internal/pycore_capsule.h +17 -0
- package/include/python3.14/internal/pycore_cell.h +75 -0
- package/include/python3.14/internal/pycore_ceval.h +390 -0
- package/include/python3.14/internal/pycore_ceval_state.h +48 -0
- package/include/python3.14/internal/pycore_code.h +671 -0
- package/include/python3.14/internal/pycore_codecs.h +76 -0
- package/include/python3.14/internal/pycore_compile.h +230 -0
- package/include/python3.14/internal/pycore_complexobject.h +34 -0
- package/include/python3.14/internal/pycore_condvar.h +93 -0
- package/include/python3.14/internal/pycore_context.h +59 -0
- package/include/python3.14/internal/pycore_critical_section.h +237 -0
- package/include/python3.14/internal/pycore_crossinterp.h +406 -0
- package/include/python3.14/internal/pycore_crossinterp_data_registry.h +41 -0
- package/include/python3.14/internal/pycore_debug_offsets.h +379 -0
- package/include/python3.14/internal/pycore_descrobject.h +28 -0
- package/include/python3.14/internal/pycore_dict.h +410 -0
- package/include/python3.14/internal/pycore_dict_state.h +28 -0
- package/include/python3.14/internal/pycore_dtoa.h +40 -0
- package/include/python3.14/internal/pycore_emscripten_signal.h +30 -0
- package/include/python3.14/internal/pycore_emscripten_trampoline.h +70 -0
- package/include/python3.14/internal/pycore_exceptions.h +40 -0
- package/include/python3.14/internal/pycore_faulthandler.h +100 -0
- package/include/python3.14/internal/pycore_fileutils.h +320 -0
- package/include/python3.14/internal/pycore_fileutils_windows.h +98 -0
- package/include/python3.14/internal/pycore_floatobject.h +49 -0
- package/include/python3.14/internal/pycore_flowgraph.h +47 -0
- package/include/python3.14/internal/pycore_format.h +27 -0
- package/include/python3.14/internal/pycore_frame.h +61 -0
- package/include/python3.14/internal/pycore_freelist.h +111 -0
- package/include/python3.14/internal/pycore_freelist_state.h +70 -0
- package/include/python3.14/internal/pycore_function.h +53 -0
- package/include/python3.14/internal/pycore_gc.h +378 -0
- package/include/python3.14/internal/pycore_genobject.h +43 -0
- package/include/python3.14/internal/pycore_getopt.h +22 -0
- package/include/python3.14/internal/pycore_gil.h +66 -0
- package/include/python3.14/internal/pycore_global_objects.h +34 -0
- package/include/python3.14/internal/pycore_global_objects_fini_generated.h +1592 -0
- package/include/python3.14/internal/pycore_global_strings.h +854 -0
- package/include/python3.14/internal/pycore_hamt.h +113 -0
- package/include/python3.14/internal/pycore_hashtable.h +150 -0
- package/include/python3.14/internal/pycore_import.h +141 -0
- package/include/python3.14/internal/pycore_importdl.h +139 -0
- package/include/python3.14/internal/pycore_index_pool.h +36 -0
- package/include/python3.14/internal/pycore_initconfig.h +197 -0
- package/include/python3.14/internal/pycore_instruction_sequence.h +83 -0
- package/include/python3.14/internal/pycore_instruments.h +127 -0
- package/include/python3.14/internal/pycore_interp.h +109 -0
- package/include/python3.14/internal/pycore_interp_structs.h +977 -0
- package/include/python3.14/internal/pycore_interpframe.h +401 -0
- package/include/python3.14/internal/pycore_interpframe_structs.h +95 -0
- package/include/python3.14/internal/pycore_interpolation.h +26 -0
- package/include/python3.14/internal/pycore_intrinsics.h +51 -0
- package/include/python3.14/internal/pycore_jit.h +29 -0
- package/include/python3.14/internal/pycore_list.h +81 -0
- package/include/python3.14/internal/pycore_llist.h +106 -0
- package/include/python3.14/internal/pycore_lock.h +236 -0
- package/include/python3.14/internal/pycore_long.h +319 -0
- package/include/python3.14/internal/pycore_magic_number.h +305 -0
- package/include/python3.14/internal/pycore_memoryobject.h +20 -0
- package/include/python3.14/internal/pycore_mimalloc.h +69 -0
- package/include/python3.14/internal/pycore_modsupport.h +99 -0
- package/include/python3.14/internal/pycore_moduleobject.h +62 -0
- package/include/python3.14/internal/pycore_namespace.h +21 -0
- package/include/python3.14/internal/pycore_object.h +1029 -0
- package/include/python3.14/internal/pycore_object_alloc.h +71 -0
- package/include/python3.14/internal/pycore_object_deferred.h +32 -0
- package/include/python3.14/internal/pycore_object_stack.h +95 -0
- package/include/python3.14/internal/pycore_object_state.h +49 -0
- package/include/python3.14/internal/pycore_obmalloc.h +702 -0
- package/include/python3.14/internal/pycore_obmalloc_init.h +66 -0
- package/include/python3.14/internal/pycore_opcode_metadata.h +2117 -0
- package/include/python3.14/internal/pycore_opcode_utils.h +90 -0
- package/include/python3.14/internal/pycore_optimizer.h +318 -0
- package/include/python3.14/internal/pycore_parking_lot.h +97 -0
- package/include/python3.14/internal/pycore_parser.h +78 -0
- package/include/python3.14/internal/pycore_pathconfig.h +26 -0
- package/include/python3.14/internal/pycore_pyarena.h +68 -0
- package/include/python3.14/internal/pycore_pyatomic_ft_wrappers.h +174 -0
- package/include/python3.14/internal/pycore_pybuffer.h +21 -0
- package/include/python3.14/internal/pycore_pyerrors.h +213 -0
- package/include/python3.14/internal/pycore_pyhash.h +91 -0
- package/include/python3.14/internal/pycore_pylifecycle.h +136 -0
- package/include/python3.14/internal/pycore_pymath.h +205 -0
- package/include/python3.14/internal/pycore_pymem.h +145 -0
- package/include/python3.14/internal/pycore_pymem_init.h +103 -0
- package/include/python3.14/internal/pycore_pystate.h +339 -0
- package/include/python3.14/internal/pycore_pystats.h +21 -0
- package/include/python3.14/internal/pycore_pythonrun.h +68 -0
- package/include/python3.14/internal/pycore_pythread.h +172 -0
- package/include/python3.14/internal/pycore_qsbr.h +172 -0
- package/include/python3.14/internal/pycore_range.h +21 -0
- package/include/python3.14/internal/pycore_runtime.h +63 -0
- package/include/python3.14/internal/pycore_runtime_init.h +239 -0
- package/include/python3.14/internal/pycore_runtime_init_generated.h +1589 -0
- package/include/python3.14/internal/pycore_runtime_structs.h +310 -0
- package/include/python3.14/internal/pycore_semaphore.h +67 -0
- package/include/python3.14/internal/pycore_setobject.h +41 -0
- package/include/python3.14/internal/pycore_signal.h +108 -0
- package/include/python3.14/internal/pycore_sliceobject.h +20 -0
- package/include/python3.14/internal/pycore_stackref.h +791 -0
- package/include/python3.14/internal/pycore_stats.h +97 -0
- package/include/python3.14/internal/pycore_strhex.h +39 -0
- package/include/python3.14/internal/pycore_structs.h +88 -0
- package/include/python3.14/internal/pycore_structseq.h +40 -0
- package/include/python3.14/internal/pycore_symtable.h +201 -0
- package/include/python3.14/internal/pycore_sysmodule.h +32 -0
- package/include/python3.14/internal/pycore_template.h +26 -0
- package/include/python3.14/internal/pycore_time.h +334 -0
- package/include/python3.14/internal/pycore_token.h +110 -0
- package/include/python3.14/internal/pycore_traceback.h +111 -0
- package/include/python3.14/internal/pycore_tracemalloc.h +164 -0
- package/include/python3.14/internal/pycore_tstate.h +88 -0
- package/include/python3.14/internal/pycore_tuple.h +75 -0
- package/include/python3.14/internal/pycore_typedefs.h +18 -0
- package/include/python3.14/internal/pycore_typeobject.h +155 -0
- package/include/python3.14/internal/pycore_typevarobject.h +28 -0
- package/include/python3.14/internal/pycore_ucnhash.h +36 -0
- package/include/python3.14/internal/pycore_unicodeobject.h +308 -0
- package/include/python3.14/internal/pycore_unicodeobject_generated.h +3132 -0
- package/include/python3.14/internal/pycore_unionobject.h +26 -0
- package/include/python3.14/internal/pycore_uniqueid.h +57 -0
- package/include/python3.14/internal/pycore_uop_ids.h +335 -0
- package/include/python3.14/internal/pycore_uop_metadata.h +1204 -0
- package/include/python3.14/internal/pycore_warnings.h +21 -0
- package/include/python3.14/internal/pycore_weakref.h +133 -0
- package/include/python3.14/intrcheck.h +23 -0
- package/include/python3.14/iterobject.h +24 -0
- package/include/python3.14/listobject.h +55 -0
- package/include/python3.14/lock.h +16 -0
- package/include/python3.14/longobject.h +178 -0
- package/include/python3.14/marshal.h +31 -0
- package/include/python3.14/memoryobject.h +34 -0
- package/include/python3.14/methodobject.h +146 -0
- package/include/python3.14/modsupport.h +146 -0
- package/include/python3.14/moduleobject.h +122 -0
- package/include/python3.14/monitoring.h +18 -0
- package/include/python3.14/object.h +828 -0
- package/include/python3.14/objimpl.h +211 -0
- package/include/python3.14/opcode.h +43 -0
- package/include/python3.14/opcode_ids.h +259 -0
- package/include/python3.14/osdefs.h +57 -0
- package/include/python3.14/osmodule.h +17 -0
- package/include/python3.14/patchlevel.h +49 -0
- package/include/python3.14/py_curses.h +117 -0
- package/include/python3.14/pyatomic.h +16 -0
- package/include/python3.14/pybuffer.h +145 -0
- package/include/python3.14/pycapsule.h +58 -0
- package/include/python3.14/pyconfig.h +2087 -0
- package/include/python3.14/pydtrace.d +22 -0
- package/include/python3.14/pydtrace.h +59 -0
- package/include/python3.14/pyerrors.h +335 -0
- package/include/python3.14/pyexpat.h +62 -0
- package/include/python3.14/pyframe.h +26 -0
- package/include/python3.14/pyhash.h +59 -0
- package/include/python3.14/pylifecycle.h +80 -0
- package/include/python3.14/pymacconfig.h +91 -0
- package/include/python3.14/pymacro.h +243 -0
- package/include/python3.14/pymath.h +65 -0
- package/include/python3.14/pymem.h +110 -0
- package/include/python3.14/pyport.h +710 -0
- package/include/python3.14/pystate.h +132 -0
- package/include/python3.14/pystats.h +28 -0
- package/include/python3.14/pystrcmp.h +23 -0
- package/include/python3.14/pystrtod.h +37 -0
- package/include/python3.14/pythonrun.h +42 -0
- package/include/python3.14/pythread.h +131 -0
- package/include/python3.14/pytypedefs.h +30 -0
- package/include/python3.14/rangeobject.h +27 -0
- package/include/python3.14/refcount.h +555 -0
- package/include/python3.14/setobject.h +49 -0
- package/include/python3.14/sliceobject.h +69 -0
- package/include/python3.14/structmember.h +56 -0
- package/include/python3.14/structseq.h +46 -0
- package/include/python3.14/sysmodule.h +27 -0
- package/include/python3.14/traceback.h +26 -0
- package/include/python3.14/tupleobject.h +46 -0
- package/include/python3.14/typeslots.h +96 -0
- package/include/python3.14/unicodeobject.h +1029 -0
- package/include/python3.14/warnings.h +45 -0
- package/include/python3.14/weakrefobject.h +46 -0
- package/lib/libpython3.14.a +4 -0
- package/lib/pkgconfig/python-3.14-embed.pc +13 -0
- package/lib/pkgconfig/python-3.14.pc +13 -0
- package/lib/python3.14/LICENSE.txt +277 -0
- package/lib/python3.14/__future__.py +147 -0
- package/lib/python3.14/__hello__.py +16 -0
- package/lib/python3.14/__phello__/__init__.py +7 -0
- package/lib/python3.14/__phello__/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/__phello__/__pycache__/spam.cpython-314.pyc +0 -0
- package/lib/python3.14/__phello__/spam.py +7 -0
- package/lib/python3.14/__pycache__/__future__.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/__hello__.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_aix_support.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_android_support.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_apple_support.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_ast_unparse.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_collections_abc.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_colorize.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_compat_pickle.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_ios_support.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_markupbase.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_opcode_metadata.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_osx_support.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_py_abc.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_py_warnings.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_pydatetime.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_pydecimal.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_pyio.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_pylong.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_sitebuiltins.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_strptime.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_sysconfigdata__wasi_wasm32-wasi-threads.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_threading_local.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/_weakrefset.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/abc.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/annotationlib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/antigravity.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/argparse.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/ast.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/base64.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/bdb.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/bisect.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/bz2.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/cProfile.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/calendar.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/cmd.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/code.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/codecs.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/codeop.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/colorsys.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/compileall.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/configparser.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/contextlib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/contextvars.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/copy.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/copyreg.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/csv.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/dataclasses.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/datetime.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/decimal.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/difflib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/dis.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/doctest.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/enum.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/filecmp.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/fileinput.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/fnmatch.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/fractions.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/ftplib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/functools.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/genericpath.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/getopt.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/getpass.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/gettext.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/glob.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/graphlib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/gzip.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/hashlib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/heapq.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/hmac.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/imaplib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/inspect.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/io.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/ipaddress.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/keyword.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/linecache.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/locale.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/lzma.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/mailbox.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/mimetypes.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/modulefinder.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/netrc.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/ntpath.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/nturl2path.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/numbers.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/opcode.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/operator.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/optparse.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/os.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pdb.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pickle.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pickletools.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pkgutil.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/platform.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/plistlib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/poplib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/posixpath.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pprint.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/profile.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pstats.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pty.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/py_compile.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pyclbr.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/pydoc.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/queue.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/quopri.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/random.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/reprlib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/rlcompleter.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/runpy.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/sched.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/secrets.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/selectors.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/shelve.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/shlex.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/shutil.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/signal.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/site.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/smtplib.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/socket.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/socketserver.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/sre_compile.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/sre_constants.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/sre_parse.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/ssl.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/stat.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/statistics.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/stringprep.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/struct.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/subprocess.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/symtable.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/tabnanny.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/tarfile.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/tempfile.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/textwrap.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/this.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/threading.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/timeit.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/token.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/tokenize.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/trace.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/traceback.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/tracemalloc.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/tty.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/turtle.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/types.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/typing.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/uuid.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/warnings.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/wave.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/weakref.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/webbrowser.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/zipapp.cpython-314.pyc +0 -0
- package/lib/python3.14/__pycache__/zipimport.cpython-314.pyc +0 -0
- package/lib/python3.14/_aix_support.py +108 -0
- package/lib/python3.14/_android_support.py +185 -0
- package/lib/python3.14/_apple_support.py +66 -0
- package/lib/python3.14/_ast_unparse.py +1161 -0
- package/lib/python3.14/_collections_abc.py +1167 -0
- package/lib/python3.14/_colorize.py +355 -0
- package/lib/python3.14/_compat_pickle.py +251 -0
- package/lib/python3.14/_ios_support.py +71 -0
- package/lib/python3.14/_markupbase.py +396 -0
- package/lib/python3.14/_opcode_metadata.py +371 -0
- package/lib/python3.14/_osx_support.py +579 -0
- package/lib/python3.14/_py_abc.py +147 -0
- package/lib/python3.14/_py_warnings.py +869 -0
- package/lib/python3.14/_pydatetime.py +2723 -0
- package/lib/python3.14/_pydecimal.py +6401 -0
- package/lib/python3.14/_pyio.py +2752 -0
- package/lib/python3.14/_pylong.py +729 -0
- package/lib/python3.14/_pyrepl/__init__.py +19 -0
- package/lib/python3.14/_pyrepl/__main__.py +10 -0
- package/lib/python3.14/_pyrepl/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/_module_completer.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/_threading_handler.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/base_eventqueue.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/commands.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/completing_reader.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/console.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/fancy_termios.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/historical_reader.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/input.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/keymap.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/main.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/pager.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/reader.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/readline.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/simple_interact.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/terminfo.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/trace.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/types.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/unix_console.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/unix_eventqueue.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/utils.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/windows_console.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/__pycache__/windows_eventqueue.cpython-314.pyc +0 -0
- package/lib/python3.14/_pyrepl/_module_completer.py +415 -0
- package/lib/python3.14/_pyrepl/_threading_handler.py +74 -0
- package/lib/python3.14/_pyrepl/base_eventqueue.py +110 -0
- package/lib/python3.14/_pyrepl/commands.py +505 -0
- package/lib/python3.14/_pyrepl/completing_reader.py +299 -0
- package/lib/python3.14/_pyrepl/console.py +229 -0
- package/lib/python3.14/_pyrepl/fancy_termios.py +82 -0
- package/lib/python3.14/_pyrepl/historical_reader.py +419 -0
- package/lib/python3.14/_pyrepl/input.py +114 -0
- package/lib/python3.14/_pyrepl/keymap.py +213 -0
- package/lib/python3.14/_pyrepl/main.py +58 -0
- package/lib/python3.14/_pyrepl/mypy.ini +25 -0
- package/lib/python3.14/_pyrepl/pager.py +175 -0
- package/lib/python3.14/_pyrepl/reader.py +762 -0
- package/lib/python3.14/_pyrepl/readline.py +620 -0
- package/lib/python3.14/_pyrepl/simple_interact.py +181 -0
- package/lib/python3.14/_pyrepl/terminfo.py +488 -0
- package/lib/python3.14/_pyrepl/trace.py +34 -0
- package/lib/python3.14/_pyrepl/types.py +10 -0
- package/lib/python3.14/_pyrepl/unix_console.py +842 -0
- package/lib/python3.14/_pyrepl/unix_eventqueue.py +77 -0
- package/lib/python3.14/_pyrepl/utils.py +391 -0
- package/lib/python3.14/_pyrepl/windows_console.py +725 -0
- package/lib/python3.14/_pyrepl/windows_eventqueue.py +42 -0
- package/lib/python3.14/_sitebuiltins.py +103 -0
- package/lib/python3.14/_strptime.py +822 -0
- package/lib/python3.14/_sysconfig_vars__wasi_wasm32-wasi-threads.json +1097 -0
- package/lib/python3.14/_sysconfigdata__wasi_wasm32-wasi-threads.py +1084 -0
- package/lib/python3.14/_threading_local.py +120 -0
- package/lib/python3.14/_weakrefset.py +147 -0
- package/lib/python3.14/abc.py +188 -0
- package/lib/python3.14/annotationlib.py +1143 -0
- package/lib/python3.14/antigravity.py +17 -0
- package/lib/python3.14/argparse.py +2777 -0
- package/lib/python3.14/ast.py +680 -0
- package/lib/python3.14/asyncio/__init__.py +74 -0
- package/lib/python3.14/asyncio/__main__.py +239 -0
- package/lib/python3.14/asyncio/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/base_events.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/base_futures.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/base_subprocess.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/base_tasks.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/constants.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/coroutines.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/events.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/format_helpers.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/futures.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/graph.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/locks.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/log.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/mixins.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/proactor_events.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/protocols.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/queues.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/runners.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/selector_events.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/sslproto.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/staggered.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/streams.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/subprocess.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/taskgroups.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/tasks.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/threads.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/timeouts.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/tools.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/transports.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/trsock.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/unix_events.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/windows_events.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/__pycache__/windows_utils.cpython-314.pyc +0 -0
- package/lib/python3.14/asyncio/base_events.py +2071 -0
- package/lib/python3.14/asyncio/base_futures.py +67 -0
- package/lib/python3.14/asyncio/base_subprocess.py +319 -0
- package/lib/python3.14/asyncio/base_tasks.py +94 -0
- package/lib/python3.14/asyncio/constants.py +41 -0
- package/lib/python3.14/asyncio/coroutines.py +118 -0
- package/lib/python3.14/asyncio/events.py +878 -0
- package/lib/python3.14/asyncio/exceptions.py +62 -0
- package/lib/python3.14/asyncio/format_helpers.py +84 -0
- package/lib/python3.14/asyncio/futures.py +481 -0
- package/lib/python3.14/asyncio/graph.py +276 -0
- package/lib/python3.14/asyncio/locks.py +617 -0
- package/lib/python3.14/asyncio/log.py +7 -0
- package/lib/python3.14/asyncio/mixins.py +21 -0
- package/lib/python3.14/asyncio/proactor_events.py +896 -0
- package/lib/python3.14/asyncio/protocols.py +216 -0
- package/lib/python3.14/asyncio/queues.py +307 -0
- package/lib/python3.14/asyncio/runners.py +225 -0
- package/lib/python3.14/asyncio/selector_events.py +1326 -0
- package/lib/python3.14/asyncio/sslproto.py +929 -0
- package/lib/python3.14/asyncio/staggered.py +179 -0
- package/lib/python3.14/asyncio/streams.py +787 -0
- package/lib/python3.14/asyncio/subprocess.py +229 -0
- package/lib/python3.14/asyncio/taskgroups.py +280 -0
- package/lib/python3.14/asyncio/tasks.py +1141 -0
- package/lib/python3.14/asyncio/threads.py +25 -0
- package/lib/python3.14/asyncio/timeouts.py +182 -0
- package/lib/python3.14/asyncio/tools.py +276 -0
- package/lib/python3.14/asyncio/transports.py +337 -0
- package/lib/python3.14/asyncio/trsock.py +98 -0
- package/lib/python3.14/asyncio/unix_events.py +972 -0
- package/lib/python3.14/asyncio/windows_events.py +903 -0
- package/lib/python3.14/asyncio/windows_utils.py +173 -0
- package/lib/python3.14/base64.py +618 -0
- package/lib/python3.14/bdb.py +1206 -0
- package/lib/python3.14/bisect.py +118 -0
- package/lib/python3.14/build-details.json +53 -0
- package/lib/python3.14/bz2.py +352 -0
- package/lib/python3.14/cProfile.py +205 -0
- package/lib/python3.14/calendar.py +926 -0
- package/lib/python3.14/cmd.py +414 -0
- package/lib/python3.14/code.py +396 -0
- package/lib/python3.14/codecs.py +1125 -0
- package/lib/python3.14/codeop.py +154 -0
- package/lib/python3.14/collections/__init__.py +1609 -0
- package/lib/python3.14/collections/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/colorsys.py +166 -0
- package/lib/python3.14/compileall.py +472 -0
- package/lib/python3.14/compression/__init__.py +0 -0
- package/lib/python3.14/compression/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/__pycache__/bz2.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/__pycache__/gzip.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/__pycache__/lzma.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/__pycache__/zlib.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/_common/__init__.py +0 -0
- package/lib/python3.14/compression/_common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/_common/__pycache__/_streams.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/_common/_streams.py +162 -0
- package/lib/python3.14/compression/bz2.py +5 -0
- package/lib/python3.14/compression/gzip.py +5 -0
- package/lib/python3.14/compression/lzma.py +5 -0
- package/lib/python3.14/compression/zlib.py +5 -0
- package/lib/python3.14/compression/zstd/__init__.py +242 -0
- package/lib/python3.14/compression/zstd/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/zstd/__pycache__/_zstdfile.cpython-314.pyc +0 -0
- package/lib/python3.14/compression/zstd/_zstdfile.py +345 -0
- package/lib/python3.14/concurrent/__init__.py +1 -0
- package/lib/python3.14/concurrent/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/futures/__init__.py +65 -0
- package/lib/python3.14/concurrent/futures/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/futures/__pycache__/_base.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/futures/__pycache__/interpreter.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/futures/__pycache__/process.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/futures/__pycache__/thread.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/futures/_base.py +674 -0
- package/lib/python3.14/concurrent/futures/interpreter.py +123 -0
- package/lib/python3.14/concurrent/futures/process.py +939 -0
- package/lib/python3.14/concurrent/futures/thread.py +274 -0
- package/lib/python3.14/concurrent/interpreters/__init__.py +247 -0
- package/lib/python3.14/concurrent/interpreters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/interpreters/__pycache__/_crossinterp.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/interpreters/__pycache__/_queues.cpython-314.pyc +0 -0
- package/lib/python3.14/concurrent/interpreters/_crossinterp.py +107 -0
- package/lib/python3.14/concurrent/interpreters/_queues.py +289 -0
- package/lib/python3.14/configparser.py +1414 -0
- package/lib/python3.14/contextlib.py +814 -0
- package/lib/python3.14/contextvars.py +8 -0
- package/lib/python3.14/copy.py +286 -0
- package/lib/python3.14/copyreg.py +222 -0
- package/lib/python3.14/csv.py +513 -0
- package/lib/python3.14/ctypes/__init__.py +681 -0
- package/lib/python3.14/ctypes/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/__pycache__/_aix.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/__pycache__/_endian.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/__pycache__/_layout.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/__pycache__/wintypes.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/_aix.py +327 -0
- package/lib/python3.14/ctypes/_endian.py +78 -0
- package/lib/python3.14/ctypes/_layout.py +330 -0
- package/lib/python3.14/ctypes/macholib/README.ctypes +7 -0
- package/lib/python3.14/ctypes/macholib/__init__.py +9 -0
- package/lib/python3.14/ctypes/macholib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/macholib/__pycache__/dyld.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/macholib/__pycache__/dylib.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/macholib/__pycache__/framework.cpython-314.pyc +0 -0
- package/lib/python3.14/ctypes/macholib/dyld.py +165 -0
- package/lib/python3.14/ctypes/macholib/dylib.py +42 -0
- package/lib/python3.14/ctypes/macholib/fetch_macholib +2 -0
- package/lib/python3.14/ctypes/macholib/fetch_macholib.bat +1 -0
- package/lib/python3.14/ctypes/macholib/framework.py +42 -0
- package/lib/python3.14/ctypes/util.py +538 -0
- package/lib/python3.14/ctypes/wintypes.py +210 -0
- package/lib/python3.14/curses/__init__.py +101 -0
- package/lib/python3.14/curses/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/curses/__pycache__/ascii.cpython-314.pyc +0 -0
- package/lib/python3.14/curses/__pycache__/has_key.cpython-314.pyc +0 -0
- package/lib/python3.14/curses/__pycache__/panel.cpython-314.pyc +0 -0
- package/lib/python3.14/curses/__pycache__/textpad.cpython-314.pyc +0 -0
- package/lib/python3.14/curses/ascii.py +99 -0
- package/lib/python3.14/curses/has_key.py +192 -0
- package/lib/python3.14/curses/panel.py +6 -0
- package/lib/python3.14/curses/textpad.py +204 -0
- package/lib/python3.14/dataclasses.py +1804 -0
- package/lib/python3.14/datetime.py +13 -0
- package/lib/python3.14/dbm/__init__.py +194 -0
- package/lib/python3.14/dbm/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc +0 -0
- package/lib/python3.14/dbm/__pycache__/gnu.cpython-314.pyc +0 -0
- package/lib/python3.14/dbm/__pycache__/ndbm.cpython-314.pyc +0 -0
- package/lib/python3.14/dbm/__pycache__/sqlite3.cpython-314.pyc +0 -0
- package/lib/python3.14/dbm/dumb.py +319 -0
- package/lib/python3.14/dbm/gnu.py +3 -0
- package/lib/python3.14/dbm/ndbm.py +3 -0
- package/lib/python3.14/dbm/sqlite3.py +144 -0
- package/lib/python3.14/decimal.py +109 -0
- package/lib/python3.14/difflib.py +2064 -0
- package/lib/python3.14/dis.py +1157 -0
- package/lib/python3.14/doctest.py +2921 -0
- package/lib/python3.14/email/__init__.py +61 -0
- package/lib/python3.14/email/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/_encoded_words.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/_header_value_parser.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/_parseaddr.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/_policybase.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/base64mime.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/charset.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/contentmanager.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/encoders.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/errors.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/feedparser.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/generator.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/header.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/headerregistry.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/iterators.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/message.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/parser.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/policy.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/quoprimime.cpython-314.pyc +0 -0
- package/lib/python3.14/email/__pycache__/utils.cpython-314.pyc +0 -0
- package/lib/python3.14/email/_encoded_words.py +233 -0
- package/lib/python3.14/email/_header_value_parser.py +3097 -0
- package/lib/python3.14/email/_parseaddr.py +563 -0
- package/lib/python3.14/email/_policybase.py +392 -0
- package/lib/python3.14/email/architecture.rst +216 -0
- package/lib/python3.14/email/base64mime.py +115 -0
- package/lib/python3.14/email/charset.py +398 -0
- package/lib/python3.14/email/contentmanager.py +253 -0
- package/lib/python3.14/email/encoders.py +65 -0
- package/lib/python3.14/email/errors.py +117 -0
- package/lib/python3.14/email/feedparser.py +537 -0
- package/lib/python3.14/email/generator.py +520 -0
- package/lib/python3.14/email/header.py +582 -0
- package/lib/python3.14/email/headerregistry.py +604 -0
- package/lib/python3.14/email/iterators.py +68 -0
- package/lib/python3.14/email/message.py +1217 -0
- package/lib/python3.14/email/mime/__init__.py +0 -0
- package/lib/python3.14/email/mime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/application.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/audio.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/base.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/image.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/message.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/multipart.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/nonmultipart.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/__pycache__/text.cpython-314.pyc +0 -0
- package/lib/python3.14/email/mime/application.py +37 -0
- package/lib/python3.14/email/mime/audio.py +97 -0
- package/lib/python3.14/email/mime/base.py +29 -0
- package/lib/python3.14/email/mime/image.py +152 -0
- package/lib/python3.14/email/mime/message.py +33 -0
- package/lib/python3.14/email/mime/multipart.py +47 -0
- package/lib/python3.14/email/mime/nonmultipart.py +21 -0
- package/lib/python3.14/email/mime/text.py +40 -0
- package/lib/python3.14/email/parser.py +127 -0
- package/lib/python3.14/email/policy.py +239 -0
- package/lib/python3.14/email/quoprimime.py +300 -0
- package/lib/python3.14/email/utils.py +486 -0
- package/lib/python3.14/encodings/__init__.py +177 -0
- package/lib/python3.14/encodings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/_win_cp_codecs.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/aliases.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/ascii.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/base64_codec.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/big5.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/big5hkscs.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/bz2_codec.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/charmap.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp037.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1006.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1026.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1125.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1140.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1250.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1251.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1252.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1253.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1254.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1255.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1256.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1257.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp1258.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp273.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp424.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp437.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp500.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp720.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp737.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp775.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp850.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp852.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp855.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp856.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp857.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp858.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp860.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp861.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp862.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp863.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp864.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp865.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp866.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp869.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp874.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp875.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp932.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp949.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/cp950.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/euc_jis_2004.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/euc_jisx0213.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/euc_jp.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/euc_kr.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/gb18030.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/gb2312.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/gbk.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/hex_codec.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/hp_roman8.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/hz.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/idna.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso2022_jp.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso2022_jp_1.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso2022_jp_2.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso2022_jp_2004.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso2022_jp_3.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso2022_jp_ext.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso2022_kr.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_1.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_10.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_11.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_13.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_14.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_15.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_16.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_2.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_3.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_4.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_5.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_6.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_7.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_8.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/iso8859_9.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/johab.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/koi8_r.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/koi8_t.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/koi8_u.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/kz1048.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/latin_1.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_arabic.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_croatian.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_cyrillic.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_farsi.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_greek.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_iceland.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_latin2.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_roman.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_romanian.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mac_turkish.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/mbcs.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/oem.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/palmos.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/ptcp154.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/punycode.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/quopri_codec.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/raw_unicode_escape.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/rot_13.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/shift_jis.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/shift_jis_2004.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/shift_jisx0213.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/tis_620.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/undefined.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/unicode_escape.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_16.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_16_be.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_16_le.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_32.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_32_be.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_32_le.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_7.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_8.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/utf_8_sig.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/uu_codec.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/__pycache__/zlib_codec.cpython-314.pyc +0 -0
- package/lib/python3.14/encodings/_win_cp_codecs.py +36 -0
- package/lib/python3.14/encodings/aliases.py +560 -0
- package/lib/python3.14/encodings/ascii.py +50 -0
- package/lib/python3.14/encodings/base64_codec.py +55 -0
- package/lib/python3.14/encodings/big5.py +39 -0
- package/lib/python3.14/encodings/big5hkscs.py +39 -0
- package/lib/python3.14/encodings/bz2_codec.py +78 -0
- package/lib/python3.14/encodings/charmap.py +69 -0
- package/lib/python3.14/encodings/cp037.py +307 -0
- package/lib/python3.14/encodings/cp1006.py +307 -0
- package/lib/python3.14/encodings/cp1026.py +307 -0
- package/lib/python3.14/encodings/cp1125.py +698 -0
- package/lib/python3.14/encodings/cp1140.py +307 -0
- package/lib/python3.14/encodings/cp1250.py +307 -0
- package/lib/python3.14/encodings/cp1251.py +307 -0
- package/lib/python3.14/encodings/cp1252.py +307 -0
- package/lib/python3.14/encodings/cp1253.py +307 -0
- package/lib/python3.14/encodings/cp1254.py +307 -0
- package/lib/python3.14/encodings/cp1255.py +307 -0
- package/lib/python3.14/encodings/cp1256.py +307 -0
- package/lib/python3.14/encodings/cp1257.py +307 -0
- package/lib/python3.14/encodings/cp1258.py +307 -0
- package/lib/python3.14/encodings/cp273.py +307 -0
- package/lib/python3.14/encodings/cp424.py +307 -0
- package/lib/python3.14/encodings/cp437.py +698 -0
- package/lib/python3.14/encodings/cp500.py +307 -0
- package/lib/python3.14/encodings/cp720.py +309 -0
- package/lib/python3.14/encodings/cp737.py +698 -0
- package/lib/python3.14/encodings/cp775.py +697 -0
- package/lib/python3.14/encodings/cp850.py +698 -0
- package/lib/python3.14/encodings/cp852.py +698 -0
- package/lib/python3.14/encodings/cp855.py +698 -0
- package/lib/python3.14/encodings/cp856.py +307 -0
- package/lib/python3.14/encodings/cp857.py +694 -0
- package/lib/python3.14/encodings/cp858.py +698 -0
- package/lib/python3.14/encodings/cp860.py +698 -0
- package/lib/python3.14/encodings/cp861.py +698 -0
- package/lib/python3.14/encodings/cp862.py +698 -0
- package/lib/python3.14/encodings/cp863.py +698 -0
- package/lib/python3.14/encodings/cp864.py +690 -0
- package/lib/python3.14/encodings/cp865.py +698 -0
- package/lib/python3.14/encodings/cp866.py +698 -0
- package/lib/python3.14/encodings/cp869.py +689 -0
- package/lib/python3.14/encodings/cp874.py +307 -0
- package/lib/python3.14/encodings/cp875.py +307 -0
- package/lib/python3.14/encodings/cp932.py +39 -0
- package/lib/python3.14/encodings/cp949.py +39 -0
- package/lib/python3.14/encodings/cp950.py +39 -0
- package/lib/python3.14/encodings/euc_jis_2004.py +39 -0
- package/lib/python3.14/encodings/euc_jisx0213.py +39 -0
- package/lib/python3.14/encodings/euc_jp.py +39 -0
- package/lib/python3.14/encodings/euc_kr.py +39 -0
- package/lib/python3.14/encodings/gb18030.py +39 -0
- package/lib/python3.14/encodings/gb2312.py +39 -0
- package/lib/python3.14/encodings/gbk.py +39 -0
- package/lib/python3.14/encodings/hex_codec.py +55 -0
- package/lib/python3.14/encodings/hp_roman8.py +314 -0
- package/lib/python3.14/encodings/hz.py +39 -0
- package/lib/python3.14/encodings/idna.py +387 -0
- package/lib/python3.14/encodings/iso2022_jp.py +39 -0
- package/lib/python3.14/encodings/iso2022_jp_1.py +39 -0
- package/lib/python3.14/encodings/iso2022_jp_2.py +39 -0
- package/lib/python3.14/encodings/iso2022_jp_2004.py +39 -0
- package/lib/python3.14/encodings/iso2022_jp_3.py +39 -0
- package/lib/python3.14/encodings/iso2022_jp_ext.py +39 -0
- package/lib/python3.14/encodings/iso2022_kr.py +39 -0
- package/lib/python3.14/encodings/iso8859_1.py +307 -0
- package/lib/python3.14/encodings/iso8859_10.py +307 -0
- package/lib/python3.14/encodings/iso8859_11.py +307 -0
- package/lib/python3.14/encodings/iso8859_13.py +307 -0
- package/lib/python3.14/encodings/iso8859_14.py +307 -0
- package/lib/python3.14/encodings/iso8859_15.py +307 -0
- package/lib/python3.14/encodings/iso8859_16.py +307 -0
- package/lib/python3.14/encodings/iso8859_2.py +307 -0
- package/lib/python3.14/encodings/iso8859_3.py +307 -0
- package/lib/python3.14/encodings/iso8859_4.py +307 -0
- package/lib/python3.14/encodings/iso8859_5.py +307 -0
- package/lib/python3.14/encodings/iso8859_6.py +307 -0
- package/lib/python3.14/encodings/iso8859_7.py +307 -0
- package/lib/python3.14/encodings/iso8859_8.py +307 -0
- package/lib/python3.14/encodings/iso8859_9.py +307 -0
- package/lib/python3.14/encodings/johab.py +39 -0
- package/lib/python3.14/encodings/koi8_r.py +307 -0
- package/lib/python3.14/encodings/koi8_t.py +308 -0
- package/lib/python3.14/encodings/koi8_u.py +307 -0
- package/lib/python3.14/encodings/kz1048.py +307 -0
- package/lib/python3.14/encodings/latin_1.py +50 -0
- package/lib/python3.14/encodings/mac_arabic.py +698 -0
- package/lib/python3.14/encodings/mac_croatian.py +307 -0
- package/lib/python3.14/encodings/mac_cyrillic.py +307 -0
- package/lib/python3.14/encodings/mac_farsi.py +307 -0
- package/lib/python3.14/encodings/mac_greek.py +307 -0
- package/lib/python3.14/encodings/mac_iceland.py +307 -0
- package/lib/python3.14/encodings/mac_latin2.py +312 -0
- package/lib/python3.14/encodings/mac_roman.py +307 -0
- package/lib/python3.14/encodings/mac_romanian.py +307 -0
- package/lib/python3.14/encodings/mac_turkish.py +307 -0
- package/lib/python3.14/encodings/mbcs.py +47 -0
- package/lib/python3.14/encodings/oem.py +41 -0
- package/lib/python3.14/encodings/palmos.py +308 -0
- package/lib/python3.14/encodings/ptcp154.py +312 -0
- package/lib/python3.14/encodings/punycode.py +253 -0
- package/lib/python3.14/encodings/quopri_codec.py +56 -0
- package/lib/python3.14/encodings/raw_unicode_escape.py +46 -0
- package/lib/python3.14/encodings/rot_13.py +113 -0
- package/lib/python3.14/encodings/shift_jis.py +39 -0
- package/lib/python3.14/encodings/shift_jis_2004.py +39 -0
- package/lib/python3.14/encodings/shift_jisx0213.py +39 -0
- package/lib/python3.14/encodings/tis_620.py +307 -0
- package/lib/python3.14/encodings/undefined.py +49 -0
- package/lib/python3.14/encodings/unicode_escape.py +46 -0
- package/lib/python3.14/encodings/utf_16.py +155 -0
- package/lib/python3.14/encodings/utf_16_be.py +42 -0
- package/lib/python3.14/encodings/utf_16_le.py +42 -0
- package/lib/python3.14/encodings/utf_32.py +150 -0
- package/lib/python3.14/encodings/utf_32_be.py +37 -0
- package/lib/python3.14/encodings/utf_32_le.py +37 -0
- package/lib/python3.14/encodings/utf_7.py +38 -0
- package/lib/python3.14/encodings/utf_8.py +42 -0
- package/lib/python3.14/encodings/utf_8_sig.py +130 -0
- package/lib/python3.14/encodings/uu_codec.py +103 -0
- package/lib/python3.14/encodings/zlib_codec.py +77 -0
- package/lib/python3.14/ensurepip/__init__.py +264 -0
- package/lib/python3.14/ensurepip/__main__.py +5 -0
- package/lib/python3.14/ensurepip/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/ensurepip/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/ensurepip/__pycache__/_uninstall.cpython-314.pyc +0 -0
- package/lib/python3.14/ensurepip/_bundled/pip-25.3-py3-none-any.whl +0 -0
- package/lib/python3.14/ensurepip/_uninstall.py +31 -0
- package/lib/python3.14/enum.py +2167 -0
- package/lib/python3.14/filecmp.py +320 -0
- package/lib/python3.14/fileinput.py +442 -0
- package/lib/python3.14/fnmatch.py +209 -0
- package/lib/python3.14/fractions.py +1078 -0
- package/lib/python3.14/ftplib.py +966 -0
- package/lib/python3.14/functools.py +1165 -0
- package/lib/python3.14/genericpath.py +200 -0
- package/lib/python3.14/getopt.py +232 -0
- package/lib/python3.14/getpass.py +256 -0
- package/lib/python3.14/gettext.py +657 -0
- package/lib/python3.14/glob.py +553 -0
- package/lib/python3.14/graphlib.py +254 -0
- package/lib/python3.14/gzip.py +717 -0
- package/lib/python3.14/hashlib.py +255 -0
- package/lib/python3.14/heapq.py +611 -0
- package/lib/python3.14/hmac.py +268 -0
- package/lib/python3.14/html/__init__.py +132 -0
- package/lib/python3.14/html/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/html/__pycache__/entities.cpython-314.pyc +0 -0
- package/lib/python3.14/html/__pycache__/parser.cpython-314.pyc +0 -0
- package/lib/python3.14/html/entities.py +2513 -0
- package/lib/python3.14/html/parser.py +553 -0
- package/lib/python3.14/http/__init__.py +213 -0
- package/lib/python3.14/http/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/http/__pycache__/client.cpython-314.pyc +0 -0
- package/lib/python3.14/http/__pycache__/cookiejar.cpython-314.pyc +0 -0
- package/lib/python3.14/http/__pycache__/cookies.cpython-314.pyc +0 -0
- package/lib/python3.14/http/__pycache__/server.cpython-314.pyc +0 -0
- package/lib/python3.14/http/client.py +1570 -0
- package/lib/python3.14/http/cookiejar.py +2122 -0
- package/lib/python3.14/http/cookies.py +598 -0
- package/lib/python3.14/http/server.py +1441 -0
- package/lib/python3.14/idlelib/CREDITS.txt +48 -0
- package/lib/python3.14/idlelib/ChangeLog +1591 -0
- package/lib/python3.14/idlelib/HISTORY.txt +296 -0
- package/lib/python3.14/idlelib/Icons/README.txt +51 -0
- package/lib/python3.14/idlelib/Icons/folder.gif +0 -0
- package/lib/python3.14/idlelib/Icons/idle.ico +0 -0
- package/lib/python3.14/idlelib/Icons/idle_16.gif +0 -0
- package/lib/python3.14/idlelib/Icons/idle_16.png +0 -0
- package/lib/python3.14/idlelib/Icons/idle_256.png +0 -0
- package/lib/python3.14/idlelib/Icons/idle_32.gif +0 -0
- package/lib/python3.14/idlelib/Icons/idle_32.png +0 -0
- package/lib/python3.14/idlelib/Icons/idle_48.gif +0 -0
- package/lib/python3.14/idlelib/Icons/idle_48.png +0 -0
- package/lib/python3.14/idlelib/Icons/minusnode.gif +0 -0
- package/lib/python3.14/idlelib/Icons/openfolder.gif +0 -0
- package/lib/python3.14/idlelib/Icons/plusnode.gif +0 -0
- package/lib/python3.14/idlelib/Icons/python.gif +0 -0
- package/lib/python3.14/idlelib/Icons/tk.gif +0 -0
- package/lib/python3.14/idlelib/NEWS2x.txt +660 -0
- package/lib/python3.14/idlelib/News3.txt +1404 -0
- package/lib/python3.14/idlelib/README.txt +290 -0
- package/lib/python3.14/idlelib/TODO.txt +210 -0
- package/lib/python3.14/idlelib/__init__.py +10 -0
- package/lib/python3.14/idlelib/__main__.py +7 -0
- package/lib/python3.14/idlelib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/autocomplete.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/autocomplete_w.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/autoexpand.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/browser.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/calltip.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/calltip_w.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/codecontext.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/colorizer.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/config.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/config_key.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/configdialog.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/debugger.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/debugger_r.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/debugobj.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/debugobj_r.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/delegator.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/dynoption.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/editor.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/filelist.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/format.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/grep.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/help.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/help_about.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/history.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/hyperparser.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/idle.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/iomenu.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/macosx.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/mainmenu.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/multicall.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/outwin.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/parenmatch.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/pathbrowser.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/percolator.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/pyparse.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/pyshell.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/query.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/redirector.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/replace.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/rpc.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/run.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/runscript.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/scrolledlist.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/search.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/searchbase.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/searchengine.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/sidebar.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/squeezer.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/stackviewer.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/statusbar.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/textview.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/tooltip.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/tree.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/undo.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/window.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/zoomheight.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/__pycache__/zzdummy.cpython-314.pyc +0 -0
- package/lib/python3.14/idlelib/autocomplete.py +228 -0
- package/lib/python3.14/idlelib/autocomplete_w.py +498 -0
- package/lib/python3.14/idlelib/autoexpand.py +96 -0
- package/lib/python3.14/idlelib/browser.py +260 -0
- package/lib/python3.14/idlelib/calltip.py +205 -0
- package/lib/python3.14/idlelib/calltip_w.py +202 -0
- package/lib/python3.14/idlelib/codecontext.py +270 -0
- package/lib/python3.14/idlelib/colorizer.py +384 -0
- package/lib/python3.14/idlelib/config-extensions.def +62 -0
- package/lib/python3.14/idlelib/config-highlight.def +105 -0
- package/lib/python3.14/idlelib/config-keys.def +309 -0
- package/lib/python3.14/idlelib/config-main.def +93 -0
- package/lib/python3.14/idlelib/config.py +917 -0
- package/lib/python3.14/idlelib/config_key.py +354 -0
- package/lib/python3.14/idlelib/configdialog.py +2408 -0
- package/lib/python3.14/idlelib/debugger.py +602 -0
- package/lib/python3.14/idlelib/debugger_r.py +390 -0
- package/lib/python3.14/idlelib/debugobj.py +146 -0
- package/lib/python3.14/idlelib/debugobj_r.py +41 -0
- package/lib/python3.14/idlelib/delegator.py +34 -0
- package/lib/python3.14/idlelib/dynoption.py +57 -0
- package/lib/python3.14/idlelib/editor.py +1734 -0
- package/lib/python3.14/idlelib/extend.txt +83 -0
- package/lib/python3.14/idlelib/filelist.py +132 -0
- package/lib/python3.14/idlelib/format.py +426 -0
- package/lib/python3.14/idlelib/grep.py +223 -0
- package/lib/python3.14/idlelib/help.html +851 -0
- package/lib/python3.14/idlelib/help.py +343 -0
- package/lib/python3.14/idlelib/help_about.py +211 -0
- package/lib/python3.14/idlelib/history.py +106 -0
- package/lib/python3.14/idlelib/hyperparser.py +312 -0
- package/lib/python3.14/idlelib/idle.bat +4 -0
- package/lib/python3.14/idlelib/idle.py +14 -0
- package/lib/python3.14/idlelib/idle.pyw +17 -0
- package/lib/python3.14/idlelib/iomenu.py +441 -0
- package/lib/python3.14/idlelib/macosx.py +278 -0
- package/lib/python3.14/idlelib/mainmenu.py +126 -0
- package/lib/python3.14/idlelib/multicall.py +451 -0
- package/lib/python3.14/idlelib/outwin.py +188 -0
- package/lib/python3.14/idlelib/parenmatch.py +183 -0
- package/lib/python3.14/idlelib/pathbrowser.py +107 -0
- package/lib/python3.14/idlelib/percolator.py +120 -0
- package/lib/python3.14/idlelib/pyparse.py +589 -0
- package/lib/python3.14/idlelib/pyshell.py +1699 -0
- package/lib/python3.14/idlelib/query.py +392 -0
- package/lib/python3.14/idlelib/redirector.py +174 -0
- package/lib/python3.14/idlelib/replace.py +299 -0
- package/lib/python3.14/idlelib/rpc.py +635 -0
- package/lib/python3.14/idlelib/run.py +653 -0
- package/lib/python3.14/idlelib/runscript.py +213 -0
- package/lib/python3.14/idlelib/scrolledlist.py +151 -0
- package/lib/python3.14/idlelib/search.py +165 -0
- package/lib/python3.14/idlelib/searchbase.py +210 -0
- package/lib/python3.14/idlelib/searchengine.py +234 -0
- package/lib/python3.14/idlelib/sidebar.py +543 -0
- package/lib/python3.14/idlelib/squeezer.py +345 -0
- package/lib/python3.14/idlelib/stackviewer.py +134 -0
- package/lib/python3.14/idlelib/statusbar.py +52 -0
- package/lib/python3.14/idlelib/textview.py +193 -0
- package/lib/python3.14/idlelib/tooltip.py +190 -0
- package/lib/python3.14/idlelib/tree.py +509 -0
- package/lib/python3.14/idlelib/undo.py +367 -0
- package/lib/python3.14/idlelib/util.py +37 -0
- package/lib/python3.14/idlelib/window.py +98 -0
- package/lib/python3.14/idlelib/zoomheight.py +124 -0
- package/lib/python3.14/idlelib/zzdummy.py +73 -0
- package/lib/python3.14/imaplib.py +1967 -0
- package/lib/python3.14/importlib/__init__.py +136 -0
- package/lib/python3.14/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/_abc.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/_bootstrap.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/_bootstrap_external.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/abc.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/machinery.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/readers.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/simple.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/_abc.py +39 -0
- package/lib/python3.14/importlib/_bootstrap.py +1562 -0
- package/lib/python3.14/importlib/_bootstrap_external.py +1562 -0
- package/lib/python3.14/importlib/abc.py +234 -0
- package/lib/python3.14/importlib/machinery.py +50 -0
- package/lib/python3.14/importlib/metadata/__init__.py +1093 -0
- package/lib/python3.14/importlib/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/__pycache__/_adapters.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/__pycache__/_collections.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/__pycache__/_functools.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/__pycache__/_itertools.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/__pycache__/_meta.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/__pycache__/_text.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/__pycache__/diagnose.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/metadata/_adapters.py +89 -0
- package/lib/python3.14/importlib/metadata/_collections.py +30 -0
- package/lib/python3.14/importlib/metadata/_functools.py +104 -0
- package/lib/python3.14/importlib/metadata/_itertools.py +73 -0
- package/lib/python3.14/importlib/metadata/_meta.py +67 -0
- package/lib/python3.14/importlib/metadata/_text.py +99 -0
- package/lib/python3.14/importlib/metadata/diagnose.py +21 -0
- package/lib/python3.14/importlib/readers.py +12 -0
- package/lib/python3.14/importlib/resources/__init__.py +43 -0
- package/lib/python3.14/importlib/resources/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/__pycache__/_adapters.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/__pycache__/_common.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/__pycache__/_functional.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/__pycache__/_itertools.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/__pycache__/abc.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/__pycache__/readers.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/__pycache__/simple.cpython-314.pyc +0 -0
- package/lib/python3.14/importlib/resources/_adapters.py +168 -0
- package/lib/python3.14/importlib/resources/_common.py +211 -0
- package/lib/python3.14/importlib/resources/_functional.py +81 -0
- package/lib/python3.14/importlib/resources/_itertools.py +38 -0
- package/lib/python3.14/importlib/resources/abc.py +173 -0
- package/lib/python3.14/importlib/resources/readers.py +203 -0
- package/lib/python3.14/importlib/resources/simple.py +106 -0
- package/lib/python3.14/importlib/simple.py +14 -0
- package/lib/python3.14/importlib/util.py +279 -0
- package/lib/python3.14/inspect.py +3407 -0
- package/lib/python3.14/io.py +150 -0
- package/lib/python3.14/ipaddress.py +2417 -0
- package/lib/python3.14/json/__init__.py +365 -0
- package/lib/python3.14/json/__main__.py +20 -0
- package/lib/python3.14/json/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/json/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/json/__pycache__/decoder.cpython-314.pyc +0 -0
- package/lib/python3.14/json/__pycache__/encoder.cpython-314.pyc +0 -0
- package/lib/python3.14/json/__pycache__/scanner.cpython-314.pyc +0 -0
- package/lib/python3.14/json/__pycache__/tool.cpython-314.pyc +0 -0
- package/lib/python3.14/json/decoder.py +364 -0
- package/lib/python3.14/json/encoder.py +461 -0
- package/lib/python3.14/json/scanner.py +73 -0
- package/lib/python3.14/json/tool.py +121 -0
- package/lib/python3.14/keyword.py +64 -0
- package/lib/python3.14/linecache.py +251 -0
- package/lib/python3.14/locale.py +1783 -0
- package/lib/python3.14/logging/__init__.py +2326 -0
- package/lib/python3.14/logging/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/logging/__pycache__/config.cpython-314.pyc +0 -0
- package/lib/python3.14/logging/__pycache__/handlers.cpython-314.pyc +0 -0
- package/lib/python3.14/logging/config.py +1077 -0
- package/lib/python3.14/logging/handlers.py +1641 -0
- package/lib/python3.14/lzma.py +364 -0
- package/lib/python3.14/mailbox.py +2223 -0
- package/lib/python3.14/mimetypes.py +747 -0
- package/lib/python3.14/modulefinder.py +671 -0
- package/lib/python3.14/multiprocessing/__init__.py +37 -0
- package/lib/python3.14/multiprocessing/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/connection.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/context.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/forkserver.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/heap.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/managers.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/pool.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/popen_fork.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/popen_forkserver.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/popen_spawn_posix.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/popen_spawn_win32.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/process.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/queues.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/reduction.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/resource_sharer.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/resource_tracker.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/shared_memory.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/sharedctypes.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/spawn.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/synchronize.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/connection.py +1207 -0
- package/lib/python3.14/multiprocessing/context.py +377 -0
- package/lib/python3.14/multiprocessing/dummy/__init__.py +126 -0
- package/lib/python3.14/multiprocessing/dummy/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/dummy/__pycache__/connection.cpython-314.pyc +0 -0
- package/lib/python3.14/multiprocessing/dummy/connection.py +75 -0
- package/lib/python3.14/multiprocessing/forkserver.py +416 -0
- package/lib/python3.14/multiprocessing/heap.py +337 -0
- package/lib/python3.14/multiprocessing/managers.py +1438 -0
- package/lib/python3.14/multiprocessing/pool.py +957 -0
- package/lib/python3.14/multiprocessing/popen_fork.py +90 -0
- package/lib/python3.14/multiprocessing/popen_forkserver.py +74 -0
- package/lib/python3.14/multiprocessing/popen_spawn_posix.py +76 -0
- package/lib/python3.14/multiprocessing/popen_spawn_win32.py +147 -0
- package/lib/python3.14/multiprocessing/process.py +443 -0
- package/lib/python3.14/multiprocessing/queues.py +399 -0
- package/lib/python3.14/multiprocessing/reduction.py +281 -0
- package/lib/python3.14/multiprocessing/resource_sharer.py +154 -0
- package/lib/python3.14/multiprocessing/resource_tracker.py +416 -0
- package/lib/python3.14/multiprocessing/shared_memory.py +544 -0
- package/lib/python3.14/multiprocessing/sharedctypes.py +240 -0
- package/lib/python3.14/multiprocessing/spawn.py +307 -0
- package/lib/python3.14/multiprocessing/synchronize.py +411 -0
- package/lib/python3.14/multiprocessing/util.py +560 -0
- package/lib/python3.14/netrc.py +199 -0
- package/lib/python3.14/ntpath.py +870 -0
- package/lib/python3.14/nturl2path.py +74 -0
- package/lib/python3.14/numbers.py +427 -0
- package/lib/python3.14/opcode.py +122 -0
- package/lib/python3.14/operator.py +475 -0
- package/lib/python3.14/optparse.py +1671 -0
- package/lib/python3.14/os.py +1191 -0
- package/lib/python3.14/pathlib/__init__.py +1307 -0
- package/lib/python3.14/pathlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/pathlib/__pycache__/_local.cpython-314.pyc +0 -0
- package/lib/python3.14/pathlib/__pycache__/_os.cpython-314.pyc +0 -0
- package/lib/python3.14/pathlib/__pycache__/types.cpython-314.pyc +0 -0
- package/lib/python3.14/pathlib/_local.py +12 -0
- package/lib/python3.14/pathlib/_os.py +530 -0
- package/lib/python3.14/pathlib/types.py +430 -0
- package/lib/python3.14/pdb.py +3660 -0
- package/lib/python3.14/pickle.py +1931 -0
- package/lib/python3.14/pickletools.py +2887 -0
- package/lib/python3.14/pkgutil.py +474 -0
- package/lib/python3.14/platform.py +1515 -0
- package/lib/python3.14/plistlib.py +948 -0
- package/lib/python3.14/poplib.py +477 -0
- package/lib/python3.14/posixpath.py +592 -0
- package/lib/python3.14/pprint.py +675 -0
- package/lib/python3.14/profile.py +615 -0
- package/lib/python3.14/pstats.py +777 -0
- package/lib/python3.14/pty.py +182 -0
- package/lib/python3.14/py_compile.py +212 -0
- package/lib/python3.14/pyclbr.py +314 -0
- package/lib/python3.14/pydoc.py +2876 -0
- package/lib/python3.14/pydoc_data/__init__.py +0 -0
- package/lib/python3.14/pydoc_data/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/pydoc_data/__pycache__/topics.cpython-314.pyc +0 -0
- package/lib/python3.14/pydoc_data/_pydoc.css +112 -0
- package/lib/python3.14/pydoc_data/topics.py +14103 -0
- package/lib/python3.14/queue.py +383 -0
- package/lib/python3.14/quopri.py +235 -0
- package/lib/python3.14/random.py +1078 -0
- package/lib/python3.14/re/__init__.py +428 -0
- package/lib/python3.14/re/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/re/__pycache__/_casefix.cpython-314.pyc +0 -0
- package/lib/python3.14/re/__pycache__/_compiler.cpython-314.pyc +0 -0
- package/lib/python3.14/re/__pycache__/_constants.cpython-314.pyc +0 -0
- package/lib/python3.14/re/__pycache__/_parser.cpython-314.pyc +0 -0
- package/lib/python3.14/re/_casefix.py +106 -0
- package/lib/python3.14/re/_compiler.py +782 -0
- package/lib/python3.14/re/_constants.py +224 -0
- package/lib/python3.14/re/_parser.py +1066 -0
- package/lib/python3.14/reprlib.py +230 -0
- package/lib/python3.14/rlcompleter.py +221 -0
- package/lib/python3.14/runpy.py +319 -0
- package/lib/python3.14/sched.py +167 -0
- package/lib/python3.14/secrets.py +71 -0
- package/lib/python3.14/selectors.py +603 -0
- package/lib/python3.14/shelve.py +250 -0
- package/lib/python3.14/shlex.py +351 -0
- package/lib/python3.14/shutil.py +1667 -0
- package/lib/python3.14/signal.py +94 -0
- package/lib/python3.14/site-packages/README.txt +2 -0
- package/lib/python3.14/site-packages/pip/__init__.py +13 -0
- package/lib/python3.14/site-packages/pip/__main__.py +24 -0
- package/lib/python3.14/site-packages/pip/__pip-runner__.py +50 -0
- package/lib/python3.14/site-packages/pip/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/__pycache__/__pip-runner__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__init__.py +18 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/build_env.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/cache.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/configuration.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/main.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/pyproject.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/build_env.py +417 -0
- package/lib/python3.14/site-packages/pip/_internal/cache.py +291 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__init__.py +3 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/main.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/parser.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/autocompletion.py +184 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/base_command.py +244 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/cmdoptions.py +1110 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/command_context.py +28 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/index_command.py +175 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/main.py +80 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/main_parser.py +134 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/parser.py +298 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/progress_bars.py +151 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/req_command.py +371 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/spinners.py +235 -0
- package/lib/python3.14/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__init__.py +139 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/cache.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/check.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/completion.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/debug.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/download.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/hash.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/help.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/index.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/install.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/list.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/lock.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/search.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/show.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/cache.py +231 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/check.py +66 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/completion.py +135 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/configuration.py +288 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/debug.py +203 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/download.py +142 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/freeze.py +107 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/hash.py +58 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/help.py +40 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/index.py +159 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/inspect.py +92 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/install.py +803 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/list.py +400 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/lock.py +167 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/search.py +178 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/show.py +231 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/uninstall.py +113 -0
- package/lib/python3.14/site-packages/pip/_internal/commands/wheel.py +176 -0
- package/lib/python3.14/site-packages/pip/_internal/configuration.py +396 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/base.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/base.py +55 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/installed.py +33 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/sdist.py +164 -0
- package/lib/python3.14/site-packages/pip/_internal/distributions/wheel.py +44 -0
- package/lib/python3.14/site-packages/pip/_internal/exceptions.py +898 -0
- package/lib/python3.14/site-packages/pip/_internal/index/__init__.py +1 -0
- package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/collector.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/sources.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/index/collector.py +489 -0
- package/lib/python3.14/site-packages/pip/_internal/index/package_finder.py +1059 -0
- package/lib/python3.14/site-packages/pip/_internal/index/sources.py +287 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/__init__.py +441 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/base.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/_distutils.py +173 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/_sysconfig.py +215 -0
- package/lib/python3.14/site-packages/pip/_internal/locations/base.py +82 -0
- package/lib/python3.14/site-packages/pip/_internal/main.py +12 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/__init__.py +169 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/base.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/_json.py +87 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/base.py +685 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/_compat.py +87 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/_dists.py +229 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/_envs.py +143 -0
- package/lib/python3.14/site-packages/pip/_internal/metadata/pkg_resources.py +298 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__init__.py +1 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/candidate.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/format_control.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/index.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/link.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/pylock.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/scheme.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/target_python.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/wheel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/models/candidate.py +25 -0
- package/lib/python3.14/site-packages/pip/_internal/models/direct_url.py +227 -0
- package/lib/python3.14/site-packages/pip/_internal/models/format_control.py +78 -0
- package/lib/python3.14/site-packages/pip/_internal/models/index.py +28 -0
- package/lib/python3.14/site-packages/pip/_internal/models/installation_report.py +57 -0
- package/lib/python3.14/site-packages/pip/_internal/models/link.py +613 -0
- package/lib/python3.14/site-packages/pip/_internal/models/pylock.py +188 -0
- package/lib/python3.14/site-packages/pip/_internal/models/scheme.py +25 -0
- package/lib/python3.14/site-packages/pip/_internal/models/search_scope.py +126 -0
- package/lib/python3.14/site-packages/pip/_internal/models/selection_prefs.py +53 -0
- package/lib/python3.14/site-packages/pip/_internal/models/target_python.py +122 -0
- package/lib/python3.14/site-packages/pip/_internal/models/wheel.py +80 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__init__.py +1 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/auth.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/cache.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/download.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/session.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/utils.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/network/auth.py +564 -0
- package/lib/python3.14/site-packages/pip/_internal/network/cache.py +128 -0
- package/lib/python3.14/site-packages/pip/_internal/network/download.py +342 -0
- package/lib/python3.14/site-packages/pip/_internal/network/lazy_wheel.py +215 -0
- package/lib/python3.14/site-packages/pip/_internal/network/session.py +528 -0
- package/lib/python3.14/site-packages/pip/_internal/network/utils.py +98 -0
- package/lib/python3.14/site-packages/pip/_internal/network/xmlrpc.py +61 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/check.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/build_tracker.py +140 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/metadata.py +38 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/wheel.py +38 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/build/wheel_editable.py +47 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/check.py +175 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/freeze.py +259 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/install/__init__.py +1 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/install/wheel.py +746 -0
- package/lib/python3.14/site-packages/pip/_internal/operations/prepare.py +748 -0
- package/lib/python3.14/site-packages/pip/_internal/pyproject.py +123 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__init__.py +103 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/constructors.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_file.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_install.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_set.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/req/constructors.py +566 -0
- package/lib/python3.14/site-packages/pip/_internal/req/req_dependency_group.py +75 -0
- package/lib/python3.14/site-packages/pip/_internal/req/req_file.py +619 -0
- package/lib/python3.14/site-packages/pip/_internal/req/req_install.py +828 -0
- package/lib/python3.14/site-packages/pip/_internal/req/req_set.py +81 -0
- package/lib/python3.14/site-packages/pip/_internal/req/req_uninstall.py +639 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/__pycache__/base.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/base.py +20 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/base.py +142 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py +591 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py +845 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/provider.py +285 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/requirements.py +247 -0
- package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/resolver.py +332 -0
- package/lib/python3.14/site-packages/pip/_internal/self_outdated_check.py +262 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/_log.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/compat.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/logging.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/misc.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/retry.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/urls.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/_log.py +38 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/compat.py +85 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/compatibility_tags.py +201 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/datetime.py +10 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/deprecation.py +126 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/egg_link.py +81 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/entrypoints.py +88 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/filesystem.py +164 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/filetypes.py +24 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/glibc.py +102 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/hashes.py +150 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/logging.py +364 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/misc.py +765 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/packaging.py +44 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/retry.py +45 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/subprocess.py +248 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/temp_dir.py +294 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py +362 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/urls.py +55 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/virtualenv.py +105 -0
- package/lib/python3.14/site-packages/pip/_internal/utils/wheel.py +132 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/git.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/bazaar.py +130 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/git.py +571 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/mercurial.py +186 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/subversion.py +335 -0
- package/lib/python3.14/site-packages/pip/_internal/vcs/versioncontrol.py +693 -0
- package/lib/python3.14/site-packages/pip/_internal/wheel_builder.py +261 -0
- package/lib/python3.14/site-packages/pip/_vendor/README.rst +180 -0
- package/lib/python3.14/site-packages/pip/_vendor/__init__.py +117 -0
- package/lib/python3.14/site-packages/pip/_vendor/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__init__.py +29 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/adapter.py +168 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +145 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/controller.py +511 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/filewrapper.py +119 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
- package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/LICENSE +20 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/__init__.py +4 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/cacert.pem +4800 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/core.py +83 -0
- package/lib/python3.14/site-packages/pip/_vendor/certifi/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__init__.py +13 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__main__.py +65 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_implementation.py +209 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py +59 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py +62 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_toml_compat.py +9 -0
- package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/__init__.py +33 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/compat.py +1137 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/scripts.py +447 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/util.py +1984 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/LICENSE +202 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/__init__.py +54 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/__main__.py +4 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/distro.py +1403 -0
- package/lib/python3.14/site-packages/pip/_vendor/distro/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/LICENSE.md +31 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__init__.py +45 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/core.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/codec.py +122 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/compat.py +15 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/core.py +437 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/idnadata.py +4243 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/intranges.py +57 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/package_data.py +1 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/idna/uts46data.py +8681 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/COPYING +14 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/ext.py +170 -0
- package/lib/python3.14/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/LICENSE +3 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__init__.py +15 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/_elffile.py +109 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/_parser.py +353 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/_tokenizer.py +195 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/__init__.py +145 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/_spdx.py +759 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/markers.py +362 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/metadata.py +862 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/requirements.py +91 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/specifiers.py +1019 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/tags.py +656 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/utils.py +163 -0
- package/lib/python3.14/site-packages/pip/_vendor/packaging/version.py +582 -0
- package/lib/python3.14/site-packages/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/lib/python3.14/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
- package/lib/python3.14/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__init__.py +631 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__main__.py +55 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/android.py +249 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/api.py +299 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/macos.py +146 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/unix.py +272 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/version.py +34 -0
- package/lib/python3.14/site-packages/pip/_vendor/platformdirs/windows.py +272 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/LICENSE +25 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__init__.py +82 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/filter.py +70 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/formatter.py +129 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/lexer.py +963 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/_mapping.py +602 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/python.py +1201 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/plugin.py +72 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/style.py +203 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/token.py +214 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/lib/python3.14/site-packages/pip/_vendor/pygments/util.py +324 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
- package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/LICENSE +175 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__init__.py +179 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/api.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/help.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/models.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/adapters.py +696 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/api.py +157 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/auth.py +314 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/certs.py +17 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/compat.py +90 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/cookies.py +561 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/exceptions.py +151 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/help.py +127 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/hooks.py +33 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/models.py +1039 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/packages.py +25 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/sessions.py +831 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/status_codes.py +128 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/structures.py +99 -0
- package/lib/python3.14/site-packages/pip/_vendor/requests/utils.py +1086 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/LICENSE +13 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__init__.py +27 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/providers.py +196 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/reporters.py +55 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py +27 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py +47 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py +48 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py +57 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py +627 -0
- package/lib/python3.14/site-packages/pip/_vendor/resolvelib/structs.py +209 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/LICENSE +19 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__init__.py +177 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__main__.py +245 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/align.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/box.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/color.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/console.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/control.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/json.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/live.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/region.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/status.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/style.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/table.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/text.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_export_format.py +76 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_fileno.py +24 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_inspect.py +268 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_null_file.py +69 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_ratio.py +153 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_spinners.py +482 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_windows.py +71 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/_wrap.py +93 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/align.py +306 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/ansi.py +241 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/bar.py +93 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/box.py +474 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/cells.py +174 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/color.py +621 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/console.py +2680 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/control.py +219 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/default_styles.py +193 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/diagnose.py +39 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/emoji.py +91 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/filesize.py +88 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/highlighter.py +232 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/json.py +139 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/jupyter.py +101 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/layout.py +442 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/live.py +400 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/live_render.py +106 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/logging.py +297 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/markup.py +251 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/measure.py +151 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/panel.py +317 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/pretty.py +1016 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/progress.py +1715 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/prompt.py +400 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/region.py +10 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/repr.py +149 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/rule.py +130 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/segment.py +752 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/spinner.py +132 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/status.py +131 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/style.py +792 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/syntax.py +985 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/table.py +1006 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/text.py +1361 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/theme.py +115 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/traceback.py +899 -0
- package/lib/python3.14/site-packages/pip/_vendor/rich/tree.py +257 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/__init__.py +8 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/_parser.py +777 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/_re.py +115 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/_types.py +10 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli/py.typed +1 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli_w/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli_w/__init__.py +4 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli_w/_writer.py +229 -0
- package/lib/python3.14/site-packages/pip/_vendor/tomli_w/py.typed +1 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/__init__.py +36 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/_api.py +341 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/_macos.py +571 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/_openssl.py +68 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/_windows.py +567 -0
- package/lib/python3.14/site-packages/pip/_vendor/truststore/py.typed +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/connection.py +572 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/connectionpool.py +1140 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/poolmanager.py +540 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/request.py +191 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/response.py +879 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-314.pyc +0 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/ssl_.py +504 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
- package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
- package/lib/python3.14/site-packages/pip/_vendor/vendor.txt +19 -0
- package/lib/python3.14/site-packages/pip/py.typed +4 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/METADATA +111 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/RECORD +469 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/WHEEL +4 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/entry_points.txt +4 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/AUTHORS.txt +842 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/LICENSE.txt +20 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
- package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/lib/python3.14/site.py +787 -0
- package/lib/python3.14/smtplib.py +1121 -0
- package/lib/python3.14/socket.py +988 -0
- package/lib/python3.14/socketserver.py +863 -0
- package/lib/python3.14/sqlite3/__init__.py +57 -0
- package/lib/python3.14/sqlite3/__main__.py +139 -0
- package/lib/python3.14/sqlite3/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/sqlite3/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/sqlite3/__pycache__/dbapi2.cpython-314.pyc +0 -0
- package/lib/python3.14/sqlite3/__pycache__/dump.cpython-314.pyc +0 -0
- package/lib/python3.14/sqlite3/dbapi2.py +96 -0
- package/lib/python3.14/sqlite3/dump.py +113 -0
- package/lib/python3.14/sre_compile.py +7 -0
- package/lib/python3.14/sre_constants.py +7 -0
- package/lib/python3.14/sre_parse.py +7 -0
- package/lib/python3.14/ssl.py +1529 -0
- package/lib/python3.14/stat.py +207 -0
- package/lib/python3.14/statistics.py +1879 -0
- package/lib/python3.14/string/__init__.py +325 -0
- package/lib/python3.14/string/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/string/__pycache__/templatelib.cpython-314.pyc +0 -0
- package/lib/python3.14/string/templatelib.py +33 -0
- package/lib/python3.14/stringprep.py +272 -0
- package/lib/python3.14/struct.py +15 -0
- package/lib/python3.14/subprocess.py +2198 -0
- package/lib/python3.14/symtable.py +451 -0
- package/lib/python3.14/sysconfig/__init__.py +790 -0
- package/lib/python3.14/sysconfig/__main__.py +276 -0
- package/lib/python3.14/sysconfig/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/sysconfig/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/tabnanny.py +338 -0
- package/lib/python3.14/tarfile.py +3136 -0
- package/lib/python3.14/tempfile.py +977 -0
- package/lib/python3.14/textwrap.py +475 -0
- package/lib/python3.14/this.py +28 -0
- package/lib/python3.14/threading.py +1642 -0
- package/lib/python3.14/timeit.py +378 -0
- package/lib/python3.14/tkinter/__init__.py +5005 -0
- package/lib/python3.14/tkinter/__main__.py +7 -0
- package/lib/python3.14/tkinter/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/colorchooser.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/commondialog.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/constants.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/dialog.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/dnd.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/filedialog.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/font.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/messagebox.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/scrolledtext.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/simpledialog.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/__pycache__/ttk.cpython-314.pyc +0 -0
- package/lib/python3.14/tkinter/colorchooser.py +86 -0
- package/lib/python3.14/tkinter/commondialog.py +53 -0
- package/lib/python3.14/tkinter/constants.py +110 -0
- package/lib/python3.14/tkinter/dialog.py +49 -0
- package/lib/python3.14/tkinter/dnd.py +324 -0
- package/lib/python3.14/tkinter/filedialog.py +492 -0
- package/lib/python3.14/tkinter/font.py +239 -0
- package/lib/python3.14/tkinter/messagebox.py +146 -0
- package/lib/python3.14/tkinter/scrolledtext.py +56 -0
- package/lib/python3.14/tkinter/simpledialog.py +441 -0
- package/lib/python3.14/tkinter/ttk.py +1650 -0
- package/lib/python3.14/token.py +144 -0
- package/lib/python3.14/tokenize.py +598 -0
- package/lib/python3.14/tomllib/__init__.py +10 -0
- package/lib/python3.14/tomllib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/tomllib/__pycache__/_parser.cpython-314.pyc +0 -0
- package/lib/python3.14/tomllib/__pycache__/_re.cpython-314.pyc +0 -0
- package/lib/python3.14/tomllib/__pycache__/_types.cpython-314.pyc +0 -0
- package/lib/python3.14/tomllib/_parser.py +753 -0
- package/lib/python3.14/tomllib/_re.py +113 -0
- package/lib/python3.14/tomllib/_types.py +10 -0
- package/lib/python3.14/tomllib/mypy.ini +17 -0
- package/lib/python3.14/trace.py +751 -0
- package/lib/python3.14/traceback.py +1743 -0
- package/lib/python3.14/tracemalloc.py +560 -0
- package/lib/python3.14/tty.py +73 -0
- package/lib/python3.14/turtle.py +4291 -0
- package/lib/python3.14/turtledemo/__init__.py +14 -0
- package/lib/python3.14/turtledemo/__main__.py +399 -0
- package/lib/python3.14/turtledemo/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/bytedesign.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/chaos.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/clock.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/colormixer.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/forest.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/fractalcurves.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/lindenmayer.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/minimal_hanoi.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/nim.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/paint.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/peace.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/penrose.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/planet_and_moon.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/rosette.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/round_dance.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/sorting_animate.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/tree.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/two_canvases.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/__pycache__/yinyang.cpython-314.pyc +0 -0
- package/lib/python3.14/turtledemo/bytedesign.py +158 -0
- package/lib/python3.14/turtledemo/chaos.py +57 -0
- package/lib/python3.14/turtledemo/clock.py +132 -0
- package/lib/python3.14/turtledemo/colormixer.py +57 -0
- package/lib/python3.14/turtledemo/forest.py +104 -0
- package/lib/python3.14/turtledemo/fractalcurves.py +135 -0
- package/lib/python3.14/turtledemo/lindenmayer.py +116 -0
- package/lib/python3.14/turtledemo/minimal_hanoi.py +73 -0
- package/lib/python3.14/turtledemo/nim.py +224 -0
- package/lib/python3.14/turtledemo/paint.py +48 -0
- package/lib/python3.14/turtledemo/peace.py +58 -0
- package/lib/python3.14/turtledemo/penrose.py +172 -0
- package/lib/python3.14/turtledemo/planet_and_moon.py +108 -0
- package/lib/python3.14/turtledemo/rosette.py +63 -0
- package/lib/python3.14/turtledemo/round_dance.py +81 -0
- package/lib/python3.14/turtledemo/sorting_animate.py +198 -0
- package/lib/python3.14/turtledemo/tree.py +59 -0
- package/lib/python3.14/turtledemo/turtle.cfg +10 -0
- package/lib/python3.14/turtledemo/two_canvases.py +54 -0
- package/lib/python3.14/turtledemo/yinyang.py +46 -0
- package/lib/python3.14/types.py +340 -0
- package/lib/python3.14/typing.py +3854 -0
- package/lib/python3.14/unittest/__init__.py +80 -0
- package/lib/python3.14/unittest/__main__.py +18 -0
- package/lib/python3.14/unittest/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/_log.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/async_case.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/case.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/loader.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/main.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/mock.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/result.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/runner.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/signals.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/suite.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/unittest/_log.py +86 -0
- package/lib/python3.14/unittest/async_case.py +158 -0
- package/lib/python3.14/unittest/case.py +1628 -0
- package/lib/python3.14/unittest/loader.py +484 -0
- package/lib/python3.14/unittest/main.py +280 -0
- package/lib/python3.14/unittest/mock.py +3197 -0
- package/lib/python3.14/unittest/result.py +259 -0
- package/lib/python3.14/unittest/runner.py +313 -0
- package/lib/python3.14/unittest/signals.py +71 -0
- package/lib/python3.14/unittest/suite.py +379 -0
- package/lib/python3.14/unittest/util.py +170 -0
- package/lib/python3.14/urllib/__init__.py +0 -0
- package/lib/python3.14/urllib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/urllib/__pycache__/error.cpython-314.pyc +0 -0
- package/lib/python3.14/urllib/__pycache__/parse.cpython-314.pyc +0 -0
- package/lib/python3.14/urllib/__pycache__/request.cpython-314.pyc +0 -0
- package/lib/python3.14/urllib/__pycache__/response.cpython-314.pyc +0 -0
- package/lib/python3.14/urllib/__pycache__/robotparser.cpython-314.pyc +0 -0
- package/lib/python3.14/urllib/error.py +74 -0
- package/lib/python3.14/urllib/parse.py +1287 -0
- package/lib/python3.14/urllib/request.py +2158 -0
- package/lib/python3.14/urllib/response.py +84 -0
- package/lib/python3.14/urllib/robotparser.py +288 -0
- package/lib/python3.14/uuid.py +1007 -0
- package/lib/python3.14/venv/__init__.py +700 -0
- package/lib/python3.14/venv/__main__.py +10 -0
- package/lib/python3.14/venv/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/venv/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/venv/scripts/common/Activate.ps1 +248 -0
- package/lib/python3.14/venv/scripts/common/activate +76 -0
- package/lib/python3.14/venv/scripts/common/activate.fish +69 -0
- package/lib/python3.14/venv/scripts/posix/activate.csh +27 -0
- package/lib/python3.14/warnings.py +99 -0
- package/lib/python3.14/wave.py +665 -0
- package/lib/python3.14/weakref.py +574 -0
- package/lib/python3.14/webbrowser.py +749 -0
- package/lib/python3.14/wsgiref/__init__.py +25 -0
- package/lib/python3.14/wsgiref/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/wsgiref/__pycache__/handlers.cpython-314.pyc +0 -0
- package/lib/python3.14/wsgiref/__pycache__/headers.cpython-314.pyc +0 -0
- package/lib/python3.14/wsgiref/__pycache__/simple_server.cpython-314.pyc +0 -0
- package/lib/python3.14/wsgiref/__pycache__/types.cpython-314.pyc +0 -0
- package/lib/python3.14/wsgiref/__pycache__/util.cpython-314.pyc +0 -0
- package/lib/python3.14/wsgiref/__pycache__/validate.cpython-314.pyc +0 -0
- package/lib/python3.14/wsgiref/handlers.py +573 -0
- package/lib/python3.14/wsgiref/headers.py +184 -0
- package/lib/python3.14/wsgiref/simple_server.py +161 -0
- package/lib/python3.14/wsgiref/types.py +54 -0
- package/lib/python3.14/wsgiref/util.py +159 -0
- package/lib/python3.14/wsgiref/validate.py +438 -0
- package/lib/python3.14/xml/__init__.py +20 -0
- package/lib/python3.14/xml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/NodeFilter.py +27 -0
- package/lib/python3.14/xml/dom/__init__.py +140 -0
- package/lib/python3.14/xml/dom/__pycache__/NodeFilter.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/__pycache__/domreg.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/__pycache__/expatbuilder.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/__pycache__/minicompat.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/__pycache__/minidom.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/__pycache__/pulldom.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/__pycache__/xmlbuilder.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/dom/domreg.py +99 -0
- package/lib/python3.14/xml/dom/expatbuilder.py +962 -0
- package/lib/python3.14/xml/dom/minicompat.py +109 -0
- package/lib/python3.14/xml/dom/minidom.py +2022 -0
- package/lib/python3.14/xml/dom/pulldom.py +336 -0
- package/lib/python3.14/xml/dom/xmlbuilder.py +389 -0
- package/lib/python3.14/xml/etree/ElementInclude.py +186 -0
- package/lib/python3.14/xml/etree/ElementPath.py +423 -0
- package/lib/python3.14/xml/etree/ElementTree.py +2102 -0
- package/lib/python3.14/xml/etree/__init__.py +33 -0
- package/lib/python3.14/xml/etree/__pycache__/ElementInclude.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/etree/__pycache__/ElementPath.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/etree/__pycache__/ElementTree.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/etree/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/etree/__pycache__/cElementTree.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/etree/cElementTree.py +3 -0
- package/lib/python3.14/xml/parsers/__init__.py +8 -0
- package/lib/python3.14/xml/parsers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/parsers/__pycache__/expat.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/parsers/expat.py +8 -0
- package/lib/python3.14/xml/sax/__init__.py +100 -0
- package/lib/python3.14/xml/sax/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/sax/__pycache__/_exceptions.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/sax/__pycache__/expatreader.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/sax/__pycache__/handler.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/sax/__pycache__/saxutils.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/sax/__pycache__/xmlreader.cpython-314.pyc +0 -0
- package/lib/python3.14/xml/sax/_exceptions.py +127 -0
- package/lib/python3.14/xml/sax/expatreader.py +454 -0
- package/lib/python3.14/xml/sax/handler.py +387 -0
- package/lib/python3.14/xml/sax/saxutils.py +369 -0
- package/lib/python3.14/xml/sax/xmlreader.py +378 -0
- package/lib/python3.14/xmlrpc/__init__.py +1 -0
- package/lib/python3.14/xmlrpc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/xmlrpc/__pycache__/client.cpython-314.pyc +0 -0
- package/lib/python3.14/xmlrpc/__pycache__/server.cpython-314.pyc +0 -0
- package/lib/python3.14/xmlrpc/client.py +1503 -0
- package/lib/python3.14/xmlrpc/server.py +1003 -0
- package/lib/python3.14/zipapp.py +231 -0
- package/lib/python3.14/zipfile/__init__.py +2435 -0
- package/lib/python3.14/zipfile/__main__.py +4 -0
- package/lib/python3.14/zipfile/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/zipfile/__pycache__/__main__.cpython-314.pyc +0 -0
- package/lib/python3.14/zipfile/_path/__init__.py +452 -0
- package/lib/python3.14/zipfile/_path/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/zipfile/_path/__pycache__/glob.cpython-314.pyc +0 -0
- package/lib/python3.14/zipfile/_path/glob.py +113 -0
- package/lib/python3.14/zipimport.py +822 -0
- package/lib/python3.14/zoneinfo/__init__.py +34 -0
- package/lib/python3.14/zoneinfo/__pycache__/__init__.cpython-314.pyc +0 -0
- package/lib/python3.14/zoneinfo/__pycache__/_common.cpython-314.pyc +0 -0
- package/lib/python3.14/zoneinfo/__pycache__/_tzpath.cpython-314.pyc +0 -0
- package/lib/python3.14/zoneinfo/__pycache__/_zoneinfo.cpython-314.pyc +0 -0
- package/lib/python3.14/zoneinfo/_common.py +169 -0
- package/lib/python3.14/zoneinfo/_tzpath.py +189 -0
- package/lib/python3.14/zoneinfo/_zoneinfo.py +772 -0
- package/package.json +62 -0
|
@@ -0,0 +1,2435 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Read and write ZIP files.
|
|
3
|
+
|
|
4
|
+
XXX references to utf-8 need further investigation.
|
|
5
|
+
"""
|
|
6
|
+
import binascii
|
|
7
|
+
import importlib.util
|
|
8
|
+
import io
|
|
9
|
+
import os
|
|
10
|
+
import shutil
|
|
11
|
+
import stat
|
|
12
|
+
import struct
|
|
13
|
+
import sys
|
|
14
|
+
import threading
|
|
15
|
+
import time
|
|
16
|
+
|
|
17
|
+
try:
|
|
18
|
+
import zlib # We may need its compression method
|
|
19
|
+
crc32 = zlib.crc32
|
|
20
|
+
except ImportError:
|
|
21
|
+
zlib = None
|
|
22
|
+
crc32 = binascii.crc32
|
|
23
|
+
|
|
24
|
+
try:
|
|
25
|
+
import bz2 # We may need its compression method
|
|
26
|
+
except ImportError:
|
|
27
|
+
bz2 = None
|
|
28
|
+
|
|
29
|
+
try:
|
|
30
|
+
import lzma # We may need its compression method
|
|
31
|
+
except ImportError:
|
|
32
|
+
lzma = None
|
|
33
|
+
|
|
34
|
+
try:
|
|
35
|
+
from compression import zstd # We may need its compression method
|
|
36
|
+
except ImportError:
|
|
37
|
+
zstd = None
|
|
38
|
+
|
|
39
|
+
__all__ = ["BadZipFile", "BadZipfile", "error",
|
|
40
|
+
"ZIP_STORED", "ZIP_DEFLATED", "ZIP_BZIP2", "ZIP_LZMA",
|
|
41
|
+
"ZIP_ZSTANDARD", "is_zipfile", "ZipInfo", "ZipFile", "PyZipFile",
|
|
42
|
+
"LargeZipFile", "Path"]
|
|
43
|
+
|
|
44
|
+
class BadZipFile(Exception):
|
|
45
|
+
pass
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class LargeZipFile(Exception):
|
|
49
|
+
"""
|
|
50
|
+
Raised when writing a zipfile, the zipfile requires ZIP64 extensions
|
|
51
|
+
and those extensions are disabled.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
error = BadZipfile = BadZipFile # Pre-3.2 compatibility names
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
ZIP64_LIMIT = (1 << 31) - 1
|
|
58
|
+
ZIP_FILECOUNT_LIMIT = (1 << 16) - 1
|
|
59
|
+
ZIP_MAX_COMMENT = (1 << 16) - 1
|
|
60
|
+
|
|
61
|
+
# constants for Zip file compression methods
|
|
62
|
+
ZIP_STORED = 0
|
|
63
|
+
ZIP_DEFLATED = 8
|
|
64
|
+
ZIP_BZIP2 = 12
|
|
65
|
+
ZIP_LZMA = 14
|
|
66
|
+
ZIP_ZSTANDARD = 93
|
|
67
|
+
# Other ZIP compression methods not supported
|
|
68
|
+
|
|
69
|
+
DEFAULT_VERSION = 20
|
|
70
|
+
ZIP64_VERSION = 45
|
|
71
|
+
BZIP2_VERSION = 46
|
|
72
|
+
LZMA_VERSION = 63
|
|
73
|
+
ZSTANDARD_VERSION = 63
|
|
74
|
+
# we recognize (but not necessarily support) all features up to that version
|
|
75
|
+
MAX_EXTRACT_VERSION = 63
|
|
76
|
+
|
|
77
|
+
# Below are some formats and associated data for reading/writing headers using
|
|
78
|
+
# the struct module. The names and structures of headers/records are those used
|
|
79
|
+
# in the PKWARE description of the ZIP file format:
|
|
80
|
+
# http://www.pkware.com/documents/casestudies/APPNOTE.TXT
|
|
81
|
+
# (URL valid as of January 2008)
|
|
82
|
+
|
|
83
|
+
# The "end of central directory" structure, magic number, size, and indices
|
|
84
|
+
# (section V.I in the format document)
|
|
85
|
+
structEndArchive = b"<4s4H2LH"
|
|
86
|
+
stringEndArchive = b"PK\005\006"
|
|
87
|
+
sizeEndCentDir = struct.calcsize(structEndArchive)
|
|
88
|
+
|
|
89
|
+
_ECD_SIGNATURE = 0
|
|
90
|
+
_ECD_DISK_NUMBER = 1
|
|
91
|
+
_ECD_DISK_START = 2
|
|
92
|
+
_ECD_ENTRIES_THIS_DISK = 3
|
|
93
|
+
_ECD_ENTRIES_TOTAL = 4
|
|
94
|
+
_ECD_SIZE = 5
|
|
95
|
+
_ECD_OFFSET = 6
|
|
96
|
+
_ECD_COMMENT_SIZE = 7
|
|
97
|
+
# These last two indices are not part of the structure as defined in the
|
|
98
|
+
# spec, but they are used internally by this module as a convenience
|
|
99
|
+
_ECD_COMMENT = 8
|
|
100
|
+
_ECD_LOCATION = 9
|
|
101
|
+
|
|
102
|
+
# The "central directory" structure, magic number, size, and indices
|
|
103
|
+
# of entries in the structure (section V.F in the format document)
|
|
104
|
+
structCentralDir = "<4s4B4HL2L5H2L"
|
|
105
|
+
stringCentralDir = b"PK\001\002"
|
|
106
|
+
sizeCentralDir = struct.calcsize(structCentralDir)
|
|
107
|
+
|
|
108
|
+
# indexes of entries in the central directory structure
|
|
109
|
+
_CD_SIGNATURE = 0
|
|
110
|
+
_CD_CREATE_VERSION = 1
|
|
111
|
+
_CD_CREATE_SYSTEM = 2
|
|
112
|
+
_CD_EXTRACT_VERSION = 3
|
|
113
|
+
_CD_EXTRACT_SYSTEM = 4
|
|
114
|
+
_CD_FLAG_BITS = 5
|
|
115
|
+
_CD_COMPRESS_TYPE = 6
|
|
116
|
+
_CD_TIME = 7
|
|
117
|
+
_CD_DATE = 8
|
|
118
|
+
_CD_CRC = 9
|
|
119
|
+
_CD_COMPRESSED_SIZE = 10
|
|
120
|
+
_CD_UNCOMPRESSED_SIZE = 11
|
|
121
|
+
_CD_FILENAME_LENGTH = 12
|
|
122
|
+
_CD_EXTRA_FIELD_LENGTH = 13
|
|
123
|
+
_CD_COMMENT_LENGTH = 14
|
|
124
|
+
_CD_DISK_NUMBER_START = 15
|
|
125
|
+
_CD_INTERNAL_FILE_ATTRIBUTES = 16
|
|
126
|
+
_CD_EXTERNAL_FILE_ATTRIBUTES = 17
|
|
127
|
+
_CD_LOCAL_HEADER_OFFSET = 18
|
|
128
|
+
|
|
129
|
+
# General purpose bit flags
|
|
130
|
+
# Zip Appnote: 4.4.4 general purpose bit flag: (2 bytes)
|
|
131
|
+
_MASK_ENCRYPTED = 1 << 0
|
|
132
|
+
# Bits 1 and 2 have different meanings depending on the compression used.
|
|
133
|
+
_MASK_COMPRESS_OPTION_1 = 1 << 1
|
|
134
|
+
# _MASK_COMPRESS_OPTION_2 = 1 << 2
|
|
135
|
+
# _MASK_USE_DATA_DESCRIPTOR: If set, crc-32, compressed size and uncompressed
|
|
136
|
+
# size are zero in the local header and the real values are written in the data
|
|
137
|
+
# descriptor immediately following the compressed data.
|
|
138
|
+
_MASK_USE_DATA_DESCRIPTOR = 1 << 3
|
|
139
|
+
# Bit 4: Reserved for use with compression method 8, for enhanced deflating.
|
|
140
|
+
# _MASK_RESERVED_BIT_4 = 1 << 4
|
|
141
|
+
_MASK_COMPRESSED_PATCH = 1 << 5
|
|
142
|
+
_MASK_STRONG_ENCRYPTION = 1 << 6
|
|
143
|
+
# _MASK_UNUSED_BIT_7 = 1 << 7
|
|
144
|
+
# _MASK_UNUSED_BIT_8 = 1 << 8
|
|
145
|
+
# _MASK_UNUSED_BIT_9 = 1 << 9
|
|
146
|
+
# _MASK_UNUSED_BIT_10 = 1 << 10
|
|
147
|
+
_MASK_UTF_FILENAME = 1 << 11
|
|
148
|
+
# Bit 12: Reserved by PKWARE for enhanced compression.
|
|
149
|
+
# _MASK_RESERVED_BIT_12 = 1 << 12
|
|
150
|
+
# _MASK_ENCRYPTED_CENTRAL_DIR = 1 << 13
|
|
151
|
+
# Bit 14, 15: Reserved by PKWARE
|
|
152
|
+
# _MASK_RESERVED_BIT_14 = 1 << 14
|
|
153
|
+
# _MASK_RESERVED_BIT_15 = 1 << 15
|
|
154
|
+
|
|
155
|
+
# The "local file header" structure, magic number, size, and indices
|
|
156
|
+
# (section V.A in the format document)
|
|
157
|
+
structFileHeader = "<4s2B4HL2L2H"
|
|
158
|
+
stringFileHeader = b"PK\003\004"
|
|
159
|
+
sizeFileHeader = struct.calcsize(structFileHeader)
|
|
160
|
+
|
|
161
|
+
_FH_SIGNATURE = 0
|
|
162
|
+
_FH_EXTRACT_VERSION = 1
|
|
163
|
+
_FH_EXTRACT_SYSTEM = 2
|
|
164
|
+
_FH_GENERAL_PURPOSE_FLAG_BITS = 3
|
|
165
|
+
_FH_COMPRESSION_METHOD = 4
|
|
166
|
+
_FH_LAST_MOD_TIME = 5
|
|
167
|
+
_FH_LAST_MOD_DATE = 6
|
|
168
|
+
_FH_CRC = 7
|
|
169
|
+
_FH_COMPRESSED_SIZE = 8
|
|
170
|
+
_FH_UNCOMPRESSED_SIZE = 9
|
|
171
|
+
_FH_FILENAME_LENGTH = 10
|
|
172
|
+
_FH_EXTRA_FIELD_LENGTH = 11
|
|
173
|
+
|
|
174
|
+
# The "Zip64 end of central directory locator" structure, magic number, and size
|
|
175
|
+
structEndArchive64Locator = "<4sLQL"
|
|
176
|
+
stringEndArchive64Locator = b"PK\x06\x07"
|
|
177
|
+
sizeEndCentDir64Locator = struct.calcsize(structEndArchive64Locator)
|
|
178
|
+
|
|
179
|
+
# The "Zip64 end of central directory" record, magic number, size, and indices
|
|
180
|
+
# (section V.G in the format document)
|
|
181
|
+
structEndArchive64 = "<4sQ2H2L4Q"
|
|
182
|
+
stringEndArchive64 = b"PK\x06\x06"
|
|
183
|
+
sizeEndCentDir64 = struct.calcsize(structEndArchive64)
|
|
184
|
+
|
|
185
|
+
_CD64_SIGNATURE = 0
|
|
186
|
+
_CD64_DIRECTORY_RECSIZE = 1
|
|
187
|
+
_CD64_CREATE_VERSION = 2
|
|
188
|
+
_CD64_EXTRACT_VERSION = 3
|
|
189
|
+
_CD64_DISK_NUMBER = 4
|
|
190
|
+
_CD64_DISK_NUMBER_START = 5
|
|
191
|
+
_CD64_NUMBER_ENTRIES_THIS_DISK = 6
|
|
192
|
+
_CD64_NUMBER_ENTRIES_TOTAL = 7
|
|
193
|
+
_CD64_DIRECTORY_SIZE = 8
|
|
194
|
+
_CD64_OFFSET_START_CENTDIR = 9
|
|
195
|
+
|
|
196
|
+
_DD_SIGNATURE = 0x08074b50
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class _Extra(bytes):
|
|
200
|
+
FIELD_STRUCT = struct.Struct('<HH')
|
|
201
|
+
|
|
202
|
+
def __new__(cls, val, id=None):
|
|
203
|
+
return super().__new__(cls, val)
|
|
204
|
+
|
|
205
|
+
def __init__(self, val, id=None):
|
|
206
|
+
self.id = id
|
|
207
|
+
|
|
208
|
+
@classmethod
|
|
209
|
+
def read_one(cls, raw):
|
|
210
|
+
try:
|
|
211
|
+
xid, xlen = cls.FIELD_STRUCT.unpack(raw[:4])
|
|
212
|
+
except struct.error:
|
|
213
|
+
xid = None
|
|
214
|
+
xlen = 0
|
|
215
|
+
return cls(raw[:4+xlen], xid), raw[4+xlen:]
|
|
216
|
+
|
|
217
|
+
@classmethod
|
|
218
|
+
def split(cls, data):
|
|
219
|
+
# use memoryview for zero-copy slices
|
|
220
|
+
rest = memoryview(data)
|
|
221
|
+
while rest:
|
|
222
|
+
extra, rest = _Extra.read_one(rest)
|
|
223
|
+
yield extra
|
|
224
|
+
|
|
225
|
+
@classmethod
|
|
226
|
+
def strip(cls, data, xids):
|
|
227
|
+
"""Remove Extra fields with specified IDs."""
|
|
228
|
+
return b''.join(
|
|
229
|
+
ex
|
|
230
|
+
for ex in cls.split(data)
|
|
231
|
+
if ex.id not in xids
|
|
232
|
+
)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
def _check_zipfile(fp):
|
|
236
|
+
try:
|
|
237
|
+
endrec = _EndRecData(fp)
|
|
238
|
+
if endrec:
|
|
239
|
+
if endrec[_ECD_ENTRIES_TOTAL] == 0 and endrec[_ECD_SIZE] == 0 and endrec[_ECD_OFFSET] == 0:
|
|
240
|
+
return True # Empty zipfiles are still zipfiles
|
|
241
|
+
elif endrec[_ECD_DISK_NUMBER] == endrec[_ECD_DISK_START]:
|
|
242
|
+
# Central directory is on the same disk
|
|
243
|
+
fp.seek(sum(_handle_prepended_data(endrec)))
|
|
244
|
+
if endrec[_ECD_SIZE] >= sizeCentralDir:
|
|
245
|
+
data = fp.read(sizeCentralDir) # CD is where we expect it to be
|
|
246
|
+
if len(data) == sizeCentralDir:
|
|
247
|
+
centdir = struct.unpack(structCentralDir, data) # CD is the right size
|
|
248
|
+
if centdir[_CD_SIGNATURE] == stringCentralDir:
|
|
249
|
+
return True # First central directory entry has correct magic number
|
|
250
|
+
except OSError:
|
|
251
|
+
pass
|
|
252
|
+
return False
|
|
253
|
+
|
|
254
|
+
def is_zipfile(filename):
|
|
255
|
+
"""Quickly see if a file is a ZIP file by checking the magic number.
|
|
256
|
+
|
|
257
|
+
The filename argument may be a file or file-like object too.
|
|
258
|
+
"""
|
|
259
|
+
result = False
|
|
260
|
+
try:
|
|
261
|
+
if hasattr(filename, "read"):
|
|
262
|
+
pos = filename.tell()
|
|
263
|
+
result = _check_zipfile(fp=filename)
|
|
264
|
+
filename.seek(pos)
|
|
265
|
+
else:
|
|
266
|
+
with open(filename, "rb") as fp:
|
|
267
|
+
result = _check_zipfile(fp)
|
|
268
|
+
except (OSError, BadZipFile):
|
|
269
|
+
pass
|
|
270
|
+
return result
|
|
271
|
+
|
|
272
|
+
def _handle_prepended_data(endrec, debug=0):
|
|
273
|
+
size_cd = endrec[_ECD_SIZE] # bytes in central directory
|
|
274
|
+
offset_cd = endrec[_ECD_OFFSET] # offset of central directory
|
|
275
|
+
|
|
276
|
+
# "concat" is zero, unless zip was concatenated to another file
|
|
277
|
+
concat = endrec[_ECD_LOCATION] - size_cd - offset_cd
|
|
278
|
+
|
|
279
|
+
if debug > 2:
|
|
280
|
+
inferred = concat + offset_cd
|
|
281
|
+
print("given, inferred, offset", offset_cd, inferred, concat)
|
|
282
|
+
|
|
283
|
+
return offset_cd, concat
|
|
284
|
+
|
|
285
|
+
def _EndRecData64(fpin, offset, endrec):
|
|
286
|
+
"""
|
|
287
|
+
Read the ZIP64 end-of-archive records and use that to update endrec
|
|
288
|
+
"""
|
|
289
|
+
offset -= sizeEndCentDir64Locator
|
|
290
|
+
if offset < 0:
|
|
291
|
+
# The file is not large enough to contain a ZIP64
|
|
292
|
+
# end-of-archive record, so just return the end record we were given.
|
|
293
|
+
return endrec
|
|
294
|
+
fpin.seek(offset)
|
|
295
|
+
data = fpin.read(sizeEndCentDir64Locator)
|
|
296
|
+
if len(data) != sizeEndCentDir64Locator:
|
|
297
|
+
raise OSError("Unknown I/O error")
|
|
298
|
+
sig, diskno, reloff, disks = struct.unpack(structEndArchive64Locator, data)
|
|
299
|
+
if sig != stringEndArchive64Locator:
|
|
300
|
+
return endrec
|
|
301
|
+
|
|
302
|
+
if diskno != 0 or disks > 1:
|
|
303
|
+
raise BadZipFile("zipfiles that span multiple disks are not supported")
|
|
304
|
+
|
|
305
|
+
offset -= sizeEndCentDir64
|
|
306
|
+
if reloff > offset:
|
|
307
|
+
raise BadZipFile("Corrupt zip64 end of central directory locator")
|
|
308
|
+
# First, check the assumption that there is no prepended data.
|
|
309
|
+
fpin.seek(reloff)
|
|
310
|
+
extrasz = offset - reloff
|
|
311
|
+
data = fpin.read(sizeEndCentDir64)
|
|
312
|
+
if len(data) != sizeEndCentDir64:
|
|
313
|
+
raise OSError("Unknown I/O error")
|
|
314
|
+
if not data.startswith(stringEndArchive64) and reloff != offset:
|
|
315
|
+
# Since we already have seen the Zip64 EOCD Locator, it's
|
|
316
|
+
# possible we got here because there is prepended data.
|
|
317
|
+
# Assume no 'zip64 extensible data'
|
|
318
|
+
fpin.seek(offset)
|
|
319
|
+
extrasz = 0
|
|
320
|
+
data = fpin.read(sizeEndCentDir64)
|
|
321
|
+
if len(data) != sizeEndCentDir64:
|
|
322
|
+
raise OSError("Unknown I/O error")
|
|
323
|
+
if not data.startswith(stringEndArchive64):
|
|
324
|
+
raise BadZipFile("Zip64 end of central directory record not found")
|
|
325
|
+
|
|
326
|
+
sig, sz, create_version, read_version, disk_num, disk_dir, \
|
|
327
|
+
dircount, dircount2, dirsize, diroffset = \
|
|
328
|
+
struct.unpack(structEndArchive64, data)
|
|
329
|
+
if (diroffset + dirsize != reloff or
|
|
330
|
+
sz + 12 != sizeEndCentDir64 + extrasz):
|
|
331
|
+
raise BadZipFile("Corrupt zip64 end of central directory record")
|
|
332
|
+
|
|
333
|
+
# Update the original endrec using data from the ZIP64 record
|
|
334
|
+
endrec[_ECD_SIGNATURE] = sig
|
|
335
|
+
endrec[_ECD_DISK_NUMBER] = disk_num
|
|
336
|
+
endrec[_ECD_DISK_START] = disk_dir
|
|
337
|
+
endrec[_ECD_ENTRIES_THIS_DISK] = dircount
|
|
338
|
+
endrec[_ECD_ENTRIES_TOTAL] = dircount2
|
|
339
|
+
endrec[_ECD_SIZE] = dirsize
|
|
340
|
+
endrec[_ECD_OFFSET] = diroffset
|
|
341
|
+
endrec[_ECD_LOCATION] = offset - extrasz
|
|
342
|
+
return endrec
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
def _EndRecData(fpin):
|
|
346
|
+
"""Return data from the "End of Central Directory" record, or None.
|
|
347
|
+
|
|
348
|
+
The data is a list of the nine items in the ZIP "End of central dir"
|
|
349
|
+
record followed by a tenth item, the file seek offset of this record."""
|
|
350
|
+
|
|
351
|
+
# Determine file size
|
|
352
|
+
fpin.seek(0, 2)
|
|
353
|
+
filesize = fpin.tell()
|
|
354
|
+
|
|
355
|
+
# Check to see if this is ZIP file with no archive comment (the
|
|
356
|
+
# "end of central directory" structure should be the last item in the
|
|
357
|
+
# file if this is the case).
|
|
358
|
+
try:
|
|
359
|
+
fpin.seek(-sizeEndCentDir, 2)
|
|
360
|
+
except OSError:
|
|
361
|
+
return None
|
|
362
|
+
data = fpin.read(sizeEndCentDir)
|
|
363
|
+
if (len(data) == sizeEndCentDir and
|
|
364
|
+
data[0:4] == stringEndArchive and
|
|
365
|
+
data[-2:] == b"\000\000"):
|
|
366
|
+
# the signature is correct and there's no comment, unpack structure
|
|
367
|
+
endrec = struct.unpack(structEndArchive, data)
|
|
368
|
+
endrec=list(endrec)
|
|
369
|
+
|
|
370
|
+
# Append a blank comment and record start offset
|
|
371
|
+
endrec.append(b"")
|
|
372
|
+
endrec.append(filesize - sizeEndCentDir)
|
|
373
|
+
|
|
374
|
+
# Try to read the "Zip64 end of central directory" structure
|
|
375
|
+
return _EndRecData64(fpin, filesize - sizeEndCentDir, endrec)
|
|
376
|
+
|
|
377
|
+
# Either this is not a ZIP file, or it is a ZIP file with an archive
|
|
378
|
+
# comment. Search the end of the file for the "end of central directory"
|
|
379
|
+
# record signature. The comment is the last item in the ZIP file and may be
|
|
380
|
+
# up to 64K long. It is assumed that the "end of central directory" magic
|
|
381
|
+
# number does not appear in the comment.
|
|
382
|
+
maxCommentStart = max(filesize - ZIP_MAX_COMMENT - sizeEndCentDir, 0)
|
|
383
|
+
fpin.seek(maxCommentStart, 0)
|
|
384
|
+
data = fpin.read(ZIP_MAX_COMMENT + sizeEndCentDir)
|
|
385
|
+
start = data.rfind(stringEndArchive)
|
|
386
|
+
if start >= 0:
|
|
387
|
+
# found the magic number; attempt to unpack and interpret
|
|
388
|
+
recData = data[start:start+sizeEndCentDir]
|
|
389
|
+
if len(recData) != sizeEndCentDir:
|
|
390
|
+
# Zip file is corrupted.
|
|
391
|
+
return None
|
|
392
|
+
endrec = list(struct.unpack(structEndArchive, recData))
|
|
393
|
+
commentSize = endrec[_ECD_COMMENT_SIZE] #as claimed by the zip file
|
|
394
|
+
comment = data[start+sizeEndCentDir:start+sizeEndCentDir+commentSize]
|
|
395
|
+
endrec.append(comment)
|
|
396
|
+
endrec.append(maxCommentStart + start)
|
|
397
|
+
|
|
398
|
+
# Try to read the "Zip64 end of central directory" structure
|
|
399
|
+
return _EndRecData64(fpin, maxCommentStart + start, endrec)
|
|
400
|
+
|
|
401
|
+
# Unable to find a valid end of central directory structure
|
|
402
|
+
return None
|
|
403
|
+
|
|
404
|
+
def _sanitize_filename(filename):
|
|
405
|
+
"""Terminate the file name at the first null byte and
|
|
406
|
+
ensure paths always use forward slashes as the directory separator."""
|
|
407
|
+
|
|
408
|
+
# Terminate the file name at the first null byte. Null bytes in file
|
|
409
|
+
# names are used as tricks by viruses in archives.
|
|
410
|
+
null_byte = filename.find(chr(0))
|
|
411
|
+
if null_byte >= 0:
|
|
412
|
+
filename = filename[0:null_byte]
|
|
413
|
+
# This is used to ensure paths in generated ZIP files always use
|
|
414
|
+
# forward slashes as the directory separator, as required by the
|
|
415
|
+
# ZIP format specification.
|
|
416
|
+
if os.sep != "/" and os.sep in filename:
|
|
417
|
+
filename = filename.replace(os.sep, "/")
|
|
418
|
+
if os.altsep and os.altsep != "/" and os.altsep in filename:
|
|
419
|
+
filename = filename.replace(os.altsep, "/")
|
|
420
|
+
return filename
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
class ZipInfo:
|
|
424
|
+
"""Class with attributes describing each file in the ZIP archive."""
|
|
425
|
+
|
|
426
|
+
__slots__ = (
|
|
427
|
+
'orig_filename',
|
|
428
|
+
'filename',
|
|
429
|
+
'date_time',
|
|
430
|
+
'compress_type',
|
|
431
|
+
'compress_level',
|
|
432
|
+
'comment',
|
|
433
|
+
'extra',
|
|
434
|
+
'create_system',
|
|
435
|
+
'create_version',
|
|
436
|
+
'extract_version',
|
|
437
|
+
'reserved',
|
|
438
|
+
'flag_bits',
|
|
439
|
+
'volume',
|
|
440
|
+
'internal_attr',
|
|
441
|
+
'external_attr',
|
|
442
|
+
'header_offset',
|
|
443
|
+
'CRC',
|
|
444
|
+
'compress_size',
|
|
445
|
+
'file_size',
|
|
446
|
+
'_raw_time',
|
|
447
|
+
'_end_offset',
|
|
448
|
+
)
|
|
449
|
+
|
|
450
|
+
def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)):
|
|
451
|
+
self.orig_filename = filename # Original file name in archive
|
|
452
|
+
|
|
453
|
+
# Terminate the file name at the first null byte and
|
|
454
|
+
# ensure paths always use forward slashes as the directory separator.
|
|
455
|
+
filename = _sanitize_filename(filename)
|
|
456
|
+
|
|
457
|
+
self.filename = filename # Normalized file name
|
|
458
|
+
self.date_time = date_time # year, month, day, hour, min, sec
|
|
459
|
+
|
|
460
|
+
if date_time[0] < 1980:
|
|
461
|
+
raise ValueError('ZIP does not support timestamps before 1980')
|
|
462
|
+
|
|
463
|
+
# Standard values:
|
|
464
|
+
self.compress_type = ZIP_STORED # Type of compression for the file
|
|
465
|
+
self.compress_level = None # Level for the compressor
|
|
466
|
+
self.comment = b"" # Comment for each file
|
|
467
|
+
self.extra = b"" # ZIP extra data
|
|
468
|
+
if sys.platform == 'win32':
|
|
469
|
+
self.create_system = 0 # System which created ZIP archive
|
|
470
|
+
else:
|
|
471
|
+
# Assume everything else is unix-y
|
|
472
|
+
self.create_system = 3 # System which created ZIP archive
|
|
473
|
+
self.create_version = DEFAULT_VERSION # Version which created ZIP archive
|
|
474
|
+
self.extract_version = DEFAULT_VERSION # Version needed to extract archive
|
|
475
|
+
self.reserved = 0 # Must be zero
|
|
476
|
+
self.flag_bits = 0 # ZIP flag bits
|
|
477
|
+
self.volume = 0 # Volume number of file header
|
|
478
|
+
self.internal_attr = 0 # Internal attributes
|
|
479
|
+
self.external_attr = 0 # External file attributes
|
|
480
|
+
self.compress_size = 0 # Size of the compressed file
|
|
481
|
+
self.file_size = 0 # Size of the uncompressed file
|
|
482
|
+
self._end_offset = None # Start of the next local header or central directory
|
|
483
|
+
# Other attributes are set by class ZipFile:
|
|
484
|
+
# header_offset Byte offset to the file header
|
|
485
|
+
# CRC CRC-32 of the uncompressed file
|
|
486
|
+
|
|
487
|
+
# Maintain backward compatibility with the old protected attribute name.
|
|
488
|
+
@property
|
|
489
|
+
def _compresslevel(self):
|
|
490
|
+
return self.compress_level
|
|
491
|
+
|
|
492
|
+
@_compresslevel.setter
|
|
493
|
+
def _compresslevel(self, value):
|
|
494
|
+
self.compress_level = value
|
|
495
|
+
|
|
496
|
+
def __repr__(self):
|
|
497
|
+
result = ['<%s filename=%r' % (self.__class__.__name__, self.filename)]
|
|
498
|
+
if self.compress_type != ZIP_STORED:
|
|
499
|
+
result.append(' compress_type=%s' %
|
|
500
|
+
compressor_names.get(self.compress_type,
|
|
501
|
+
self.compress_type))
|
|
502
|
+
hi = self.external_attr >> 16
|
|
503
|
+
lo = self.external_attr & 0xFFFF
|
|
504
|
+
if hi:
|
|
505
|
+
result.append(' filemode=%r' % stat.filemode(hi))
|
|
506
|
+
if lo:
|
|
507
|
+
result.append(' external_attr=%#x' % lo)
|
|
508
|
+
isdir = self.is_dir()
|
|
509
|
+
if not isdir or self.file_size:
|
|
510
|
+
result.append(' file_size=%r' % self.file_size)
|
|
511
|
+
if ((not isdir or self.compress_size) and
|
|
512
|
+
(self.compress_type != ZIP_STORED or
|
|
513
|
+
self.file_size != self.compress_size)):
|
|
514
|
+
result.append(' compress_size=%r' % self.compress_size)
|
|
515
|
+
result.append('>')
|
|
516
|
+
return ''.join(result)
|
|
517
|
+
|
|
518
|
+
def FileHeader(self, zip64=None):
|
|
519
|
+
"""Return the per-file header as a bytes object.
|
|
520
|
+
|
|
521
|
+
When the optional zip64 arg is None rather than a bool, we will
|
|
522
|
+
decide based upon the file_size and compress_size, if known,
|
|
523
|
+
False otherwise.
|
|
524
|
+
"""
|
|
525
|
+
dt = self.date_time
|
|
526
|
+
dosdate = (dt[0] - 1980) << 9 | dt[1] << 5 | dt[2]
|
|
527
|
+
dostime = dt[3] << 11 | dt[4] << 5 | (dt[5] // 2)
|
|
528
|
+
if self.flag_bits & _MASK_USE_DATA_DESCRIPTOR:
|
|
529
|
+
# Set these to zero because we write them after the file data
|
|
530
|
+
CRC = compress_size = file_size = 0
|
|
531
|
+
else:
|
|
532
|
+
CRC = self.CRC
|
|
533
|
+
compress_size = self.compress_size
|
|
534
|
+
file_size = self.file_size
|
|
535
|
+
|
|
536
|
+
extra = self.extra
|
|
537
|
+
|
|
538
|
+
min_version = 0
|
|
539
|
+
if zip64 is None:
|
|
540
|
+
# We always explicitly pass zip64 within this module.... This
|
|
541
|
+
# remains for anyone using ZipInfo.FileHeader as a public API.
|
|
542
|
+
zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT
|
|
543
|
+
if zip64:
|
|
544
|
+
fmt = '<HHQQ'
|
|
545
|
+
extra = extra + struct.pack(fmt,
|
|
546
|
+
1, struct.calcsize(fmt)-4, file_size, compress_size)
|
|
547
|
+
file_size = 0xffffffff
|
|
548
|
+
compress_size = 0xffffffff
|
|
549
|
+
min_version = ZIP64_VERSION
|
|
550
|
+
|
|
551
|
+
if self.compress_type == ZIP_BZIP2:
|
|
552
|
+
min_version = max(BZIP2_VERSION, min_version)
|
|
553
|
+
elif self.compress_type == ZIP_LZMA:
|
|
554
|
+
min_version = max(LZMA_VERSION, min_version)
|
|
555
|
+
elif self.compress_type == ZIP_ZSTANDARD:
|
|
556
|
+
min_version = max(ZSTANDARD_VERSION, min_version)
|
|
557
|
+
|
|
558
|
+
self.extract_version = max(min_version, self.extract_version)
|
|
559
|
+
self.create_version = max(min_version, self.create_version)
|
|
560
|
+
filename, flag_bits = self._encodeFilenameFlags()
|
|
561
|
+
header = struct.pack(structFileHeader, stringFileHeader,
|
|
562
|
+
self.extract_version, self.reserved, flag_bits,
|
|
563
|
+
self.compress_type, dostime, dosdate, CRC,
|
|
564
|
+
compress_size, file_size,
|
|
565
|
+
len(filename), len(extra))
|
|
566
|
+
return header + filename + extra
|
|
567
|
+
|
|
568
|
+
def _encodeFilenameFlags(self):
|
|
569
|
+
try:
|
|
570
|
+
return self.filename.encode('ascii'), self.flag_bits
|
|
571
|
+
except UnicodeEncodeError:
|
|
572
|
+
return self.filename.encode('utf-8'), self.flag_bits | _MASK_UTF_FILENAME
|
|
573
|
+
|
|
574
|
+
def _decodeExtra(self, filename_crc):
|
|
575
|
+
# Try to decode the extra field.
|
|
576
|
+
extra = self.extra
|
|
577
|
+
unpack = struct.unpack
|
|
578
|
+
while len(extra) >= 4:
|
|
579
|
+
tp, ln = unpack('<HH', extra[:4])
|
|
580
|
+
if ln+4 > len(extra):
|
|
581
|
+
raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))
|
|
582
|
+
if tp == 0x0001:
|
|
583
|
+
data = extra[4:ln+4]
|
|
584
|
+
# ZIP64 extension (large files and/or large archives)
|
|
585
|
+
try:
|
|
586
|
+
if self.file_size in (0xFFFF_FFFF_FFFF_FFFF, 0xFFFF_FFFF):
|
|
587
|
+
field = "File size"
|
|
588
|
+
self.file_size, = unpack('<Q', data[:8])
|
|
589
|
+
data = data[8:]
|
|
590
|
+
if self.compress_size == 0xFFFF_FFFF:
|
|
591
|
+
field = "Compress size"
|
|
592
|
+
self.compress_size, = unpack('<Q', data[:8])
|
|
593
|
+
data = data[8:]
|
|
594
|
+
if self.header_offset == 0xFFFF_FFFF:
|
|
595
|
+
field = "Header offset"
|
|
596
|
+
self.header_offset, = unpack('<Q', data[:8])
|
|
597
|
+
except struct.error:
|
|
598
|
+
raise BadZipFile(f"Corrupt zip64 extra field. "
|
|
599
|
+
f"{field} not found.") from None
|
|
600
|
+
elif tp == 0x7075:
|
|
601
|
+
data = extra[4:ln+4]
|
|
602
|
+
# Unicode Path Extra Field
|
|
603
|
+
try:
|
|
604
|
+
up_version, up_name_crc = unpack('<BL', data[:5])
|
|
605
|
+
if up_version == 1 and up_name_crc == filename_crc:
|
|
606
|
+
up_unicode_name = data[5:].decode('utf-8')
|
|
607
|
+
if up_unicode_name:
|
|
608
|
+
self.filename = _sanitize_filename(up_unicode_name)
|
|
609
|
+
else:
|
|
610
|
+
import warnings
|
|
611
|
+
warnings.warn("Empty unicode path extra field (0x7075)", stacklevel=2)
|
|
612
|
+
except struct.error as e:
|
|
613
|
+
raise BadZipFile("Corrupt unicode path extra field (0x7075)") from e
|
|
614
|
+
except UnicodeDecodeError as e:
|
|
615
|
+
raise BadZipFile('Corrupt unicode path extra field (0x7075): invalid utf-8 bytes') from e
|
|
616
|
+
|
|
617
|
+
extra = extra[ln+4:]
|
|
618
|
+
|
|
619
|
+
@classmethod
|
|
620
|
+
def from_file(cls, filename, arcname=None, *, strict_timestamps=True):
|
|
621
|
+
"""Construct an appropriate ZipInfo for a file on the filesystem.
|
|
622
|
+
|
|
623
|
+
filename should be the path to a file or directory on the filesystem.
|
|
624
|
+
|
|
625
|
+
arcname is the name which it will have within the archive (by default,
|
|
626
|
+
this will be the same as filename, but without a drive letter and with
|
|
627
|
+
leading path separators removed).
|
|
628
|
+
"""
|
|
629
|
+
if isinstance(filename, os.PathLike):
|
|
630
|
+
filename = os.fspath(filename)
|
|
631
|
+
st = os.stat(filename)
|
|
632
|
+
isdir = stat.S_ISDIR(st.st_mode)
|
|
633
|
+
mtime = time.localtime(st.st_mtime)
|
|
634
|
+
date_time = mtime[0:6]
|
|
635
|
+
if not strict_timestamps and date_time[0] < 1980:
|
|
636
|
+
date_time = (1980, 1, 1, 0, 0, 0)
|
|
637
|
+
elif not strict_timestamps and date_time[0] > 2107:
|
|
638
|
+
date_time = (2107, 12, 31, 23, 59, 59)
|
|
639
|
+
# Create ZipInfo instance to store file information
|
|
640
|
+
if arcname is None:
|
|
641
|
+
arcname = filename
|
|
642
|
+
arcname = os.path.normpath(os.path.splitdrive(arcname)[1])
|
|
643
|
+
while arcname[0] in (os.sep, os.altsep):
|
|
644
|
+
arcname = arcname[1:]
|
|
645
|
+
if isdir:
|
|
646
|
+
arcname += '/'
|
|
647
|
+
zinfo = cls(arcname, date_time)
|
|
648
|
+
zinfo.external_attr = (st.st_mode & 0xFFFF) << 16 # Unix attributes
|
|
649
|
+
if isdir:
|
|
650
|
+
zinfo.file_size = 0
|
|
651
|
+
zinfo.external_attr |= 0x10 # MS-DOS directory flag
|
|
652
|
+
else:
|
|
653
|
+
zinfo.file_size = st.st_size
|
|
654
|
+
|
|
655
|
+
return zinfo
|
|
656
|
+
|
|
657
|
+
def _for_archive(self, archive):
|
|
658
|
+
"""Resolve suitable defaults from the archive.
|
|
659
|
+
|
|
660
|
+
Resolve the date_time, compression attributes, and external attributes
|
|
661
|
+
to suitable defaults as used by :method:`ZipFile.writestr`.
|
|
662
|
+
|
|
663
|
+
Return self.
|
|
664
|
+
"""
|
|
665
|
+
# gh-91279: Set the SOURCE_DATE_EPOCH to a specific timestamp
|
|
666
|
+
epoch = os.environ.get('SOURCE_DATE_EPOCH')
|
|
667
|
+
get_time = int(epoch) if epoch else time.time()
|
|
668
|
+
self.date_time = time.localtime(get_time)[:6]
|
|
669
|
+
|
|
670
|
+
self.compress_type = archive.compression
|
|
671
|
+
self.compress_level = archive.compresslevel
|
|
672
|
+
if self.filename.endswith('/'): # pragma: no cover
|
|
673
|
+
self.external_attr = 0o40775 << 16 # drwxrwxr-x
|
|
674
|
+
self.external_attr |= 0x10 # MS-DOS directory flag
|
|
675
|
+
else:
|
|
676
|
+
self.external_attr = 0o600 << 16 # ?rw-------
|
|
677
|
+
return self
|
|
678
|
+
|
|
679
|
+
def is_dir(self):
|
|
680
|
+
"""Return True if this archive member is a directory."""
|
|
681
|
+
if self.filename.endswith('/'):
|
|
682
|
+
return True
|
|
683
|
+
# The ZIP format specification requires to use forward slashes
|
|
684
|
+
# as the directory separator, but in practice some ZIP files
|
|
685
|
+
# created on Windows can use backward slashes. For compatibility
|
|
686
|
+
# with the extraction code which already handles this:
|
|
687
|
+
if os.path.altsep:
|
|
688
|
+
return self.filename.endswith((os.path.sep, os.path.altsep))
|
|
689
|
+
return False
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
# ZIP encryption uses the CRC32 one-byte primitive for scrambling some
|
|
693
|
+
# internal keys. We noticed that a direct implementation is faster than
|
|
694
|
+
# relying on binascii.crc32().
|
|
695
|
+
|
|
696
|
+
_crctable = None
|
|
697
|
+
def _gen_crc(crc):
|
|
698
|
+
for j in range(8):
|
|
699
|
+
if crc & 1:
|
|
700
|
+
crc = (crc >> 1) ^ 0xEDB88320
|
|
701
|
+
else:
|
|
702
|
+
crc >>= 1
|
|
703
|
+
return crc
|
|
704
|
+
|
|
705
|
+
# ZIP supports a password-based form of encryption. Even though known
|
|
706
|
+
# plaintext attacks have been found against it, it is still useful
|
|
707
|
+
# to be able to get data out of such a file.
|
|
708
|
+
#
|
|
709
|
+
# Usage:
|
|
710
|
+
# zd = _ZipDecrypter(mypwd)
|
|
711
|
+
# plain_bytes = zd(cypher_bytes)
|
|
712
|
+
|
|
713
|
+
def _ZipDecrypter(pwd):
|
|
714
|
+
key0 = 305419896
|
|
715
|
+
key1 = 591751049
|
|
716
|
+
key2 = 878082192
|
|
717
|
+
|
|
718
|
+
global _crctable
|
|
719
|
+
if _crctable is None:
|
|
720
|
+
_crctable = list(map(_gen_crc, range(256)))
|
|
721
|
+
crctable = _crctable
|
|
722
|
+
|
|
723
|
+
def crc32(ch, crc):
|
|
724
|
+
"""Compute the CRC32 primitive on one byte."""
|
|
725
|
+
return (crc >> 8) ^ crctable[(crc ^ ch) & 0xFF]
|
|
726
|
+
|
|
727
|
+
def update_keys(c):
|
|
728
|
+
nonlocal key0, key1, key2
|
|
729
|
+
key0 = crc32(c, key0)
|
|
730
|
+
key1 = (key1 + (key0 & 0xFF)) & 0xFFFFFFFF
|
|
731
|
+
key1 = (key1 * 134775813 + 1) & 0xFFFFFFFF
|
|
732
|
+
key2 = crc32(key1 >> 24, key2)
|
|
733
|
+
|
|
734
|
+
for p in pwd:
|
|
735
|
+
update_keys(p)
|
|
736
|
+
|
|
737
|
+
def decrypter(data):
|
|
738
|
+
"""Decrypt a bytes object."""
|
|
739
|
+
result = bytearray()
|
|
740
|
+
append = result.append
|
|
741
|
+
for c in data:
|
|
742
|
+
k = key2 | 2
|
|
743
|
+
c ^= ((k * (k^1)) >> 8) & 0xFF
|
|
744
|
+
update_keys(c)
|
|
745
|
+
append(c)
|
|
746
|
+
return bytes(result)
|
|
747
|
+
|
|
748
|
+
return decrypter
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
class LZMACompressor:
|
|
752
|
+
|
|
753
|
+
def __init__(self):
|
|
754
|
+
self._comp = None
|
|
755
|
+
|
|
756
|
+
def _init(self):
|
|
757
|
+
props = lzma._encode_filter_properties({'id': lzma.FILTER_LZMA1})
|
|
758
|
+
self._comp = lzma.LZMACompressor(lzma.FORMAT_RAW, filters=[
|
|
759
|
+
lzma._decode_filter_properties(lzma.FILTER_LZMA1, props)
|
|
760
|
+
])
|
|
761
|
+
return struct.pack('<BBH', 9, 4, len(props)) + props
|
|
762
|
+
|
|
763
|
+
def compress(self, data):
|
|
764
|
+
if self._comp is None:
|
|
765
|
+
return self._init() + self._comp.compress(data)
|
|
766
|
+
return self._comp.compress(data)
|
|
767
|
+
|
|
768
|
+
def flush(self):
|
|
769
|
+
if self._comp is None:
|
|
770
|
+
return self._init() + self._comp.flush()
|
|
771
|
+
return self._comp.flush()
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
class LZMADecompressor:
|
|
775
|
+
|
|
776
|
+
def __init__(self):
|
|
777
|
+
self._decomp = None
|
|
778
|
+
self._unconsumed = b''
|
|
779
|
+
self.eof = False
|
|
780
|
+
|
|
781
|
+
def decompress(self, data):
|
|
782
|
+
if self._decomp is None:
|
|
783
|
+
self._unconsumed += data
|
|
784
|
+
if len(self._unconsumed) <= 4:
|
|
785
|
+
return b''
|
|
786
|
+
psize, = struct.unpack('<H', self._unconsumed[2:4])
|
|
787
|
+
if len(self._unconsumed) <= 4 + psize:
|
|
788
|
+
return b''
|
|
789
|
+
|
|
790
|
+
self._decomp = lzma.LZMADecompressor(lzma.FORMAT_RAW, filters=[
|
|
791
|
+
lzma._decode_filter_properties(lzma.FILTER_LZMA1,
|
|
792
|
+
self._unconsumed[4:4 + psize])
|
|
793
|
+
])
|
|
794
|
+
data = self._unconsumed[4 + psize:]
|
|
795
|
+
del self._unconsumed
|
|
796
|
+
|
|
797
|
+
result = self._decomp.decompress(data)
|
|
798
|
+
self.eof = self._decomp.eof
|
|
799
|
+
return result
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
compressor_names = {
|
|
803
|
+
0: 'store',
|
|
804
|
+
1: 'shrink',
|
|
805
|
+
2: 'reduce',
|
|
806
|
+
3: 'reduce',
|
|
807
|
+
4: 'reduce',
|
|
808
|
+
5: 'reduce',
|
|
809
|
+
6: 'implode',
|
|
810
|
+
7: 'tokenize',
|
|
811
|
+
8: 'deflate',
|
|
812
|
+
9: 'deflate64',
|
|
813
|
+
10: 'implode',
|
|
814
|
+
12: 'bzip2',
|
|
815
|
+
14: 'lzma',
|
|
816
|
+
18: 'terse',
|
|
817
|
+
19: 'lz77',
|
|
818
|
+
93: 'zstd',
|
|
819
|
+
97: 'wavpack',
|
|
820
|
+
98: 'ppmd',
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
def _check_compression(compression):
|
|
824
|
+
if compression == ZIP_STORED:
|
|
825
|
+
pass
|
|
826
|
+
elif compression == ZIP_DEFLATED:
|
|
827
|
+
if not zlib:
|
|
828
|
+
raise RuntimeError(
|
|
829
|
+
"Compression requires the (missing) zlib module")
|
|
830
|
+
elif compression == ZIP_BZIP2:
|
|
831
|
+
if not bz2:
|
|
832
|
+
raise RuntimeError(
|
|
833
|
+
"Compression requires the (missing) bz2 module")
|
|
834
|
+
elif compression == ZIP_LZMA:
|
|
835
|
+
if not lzma:
|
|
836
|
+
raise RuntimeError(
|
|
837
|
+
"Compression requires the (missing) lzma module")
|
|
838
|
+
elif compression == ZIP_ZSTANDARD:
|
|
839
|
+
if not zstd:
|
|
840
|
+
raise RuntimeError(
|
|
841
|
+
"Compression requires the (missing) compression.zstd module")
|
|
842
|
+
else:
|
|
843
|
+
raise NotImplementedError("That compression method is not supported")
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
def _get_compressor(compress_type, compresslevel=None):
|
|
847
|
+
if compress_type == ZIP_DEFLATED:
|
|
848
|
+
if compresslevel is not None:
|
|
849
|
+
return zlib.compressobj(compresslevel, zlib.DEFLATED, -15)
|
|
850
|
+
return zlib.compressobj(zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -15)
|
|
851
|
+
elif compress_type == ZIP_BZIP2:
|
|
852
|
+
if compresslevel is not None:
|
|
853
|
+
return bz2.BZ2Compressor(compresslevel)
|
|
854
|
+
return bz2.BZ2Compressor()
|
|
855
|
+
# compresslevel is ignored for ZIP_LZMA
|
|
856
|
+
elif compress_type == ZIP_LZMA:
|
|
857
|
+
return LZMACompressor()
|
|
858
|
+
elif compress_type == ZIP_ZSTANDARD:
|
|
859
|
+
return zstd.ZstdCompressor(level=compresslevel)
|
|
860
|
+
else:
|
|
861
|
+
return None
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
def _get_decompressor(compress_type):
|
|
865
|
+
_check_compression(compress_type)
|
|
866
|
+
if compress_type == ZIP_STORED:
|
|
867
|
+
return None
|
|
868
|
+
elif compress_type == ZIP_DEFLATED:
|
|
869
|
+
return zlib.decompressobj(-15)
|
|
870
|
+
elif compress_type == ZIP_BZIP2:
|
|
871
|
+
return bz2.BZ2Decompressor()
|
|
872
|
+
elif compress_type == ZIP_LZMA:
|
|
873
|
+
return LZMADecompressor()
|
|
874
|
+
elif compress_type == ZIP_ZSTANDARD:
|
|
875
|
+
return zstd.ZstdDecompressor()
|
|
876
|
+
else:
|
|
877
|
+
descr = compressor_names.get(compress_type)
|
|
878
|
+
if descr:
|
|
879
|
+
raise NotImplementedError("compression type %d (%s)" % (compress_type, descr))
|
|
880
|
+
else:
|
|
881
|
+
raise NotImplementedError("compression type %d" % (compress_type,))
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
class _SharedFile:
|
|
885
|
+
def __init__(self, file, pos, close, lock, writing):
|
|
886
|
+
self._file = file
|
|
887
|
+
self._pos = pos
|
|
888
|
+
self._close = close
|
|
889
|
+
self._lock = lock
|
|
890
|
+
self._writing = writing
|
|
891
|
+
self.seekable = file.seekable
|
|
892
|
+
|
|
893
|
+
def tell(self):
|
|
894
|
+
return self._pos
|
|
895
|
+
|
|
896
|
+
def seek(self, offset, whence=0):
|
|
897
|
+
with self._lock:
|
|
898
|
+
if self._writing():
|
|
899
|
+
raise ValueError("Can't reposition in the ZIP file while "
|
|
900
|
+
"there is an open writing handle on it. "
|
|
901
|
+
"Close the writing handle before trying to read.")
|
|
902
|
+
if whence == os.SEEK_CUR:
|
|
903
|
+
self._file.seek(self._pos + offset)
|
|
904
|
+
else:
|
|
905
|
+
self._file.seek(offset, whence)
|
|
906
|
+
self._pos = self._file.tell()
|
|
907
|
+
return self._pos
|
|
908
|
+
|
|
909
|
+
def read(self, n=-1):
|
|
910
|
+
with self._lock:
|
|
911
|
+
if self._writing():
|
|
912
|
+
raise ValueError("Can't read from the ZIP file while there "
|
|
913
|
+
"is an open writing handle on it. "
|
|
914
|
+
"Close the writing handle before trying to read.")
|
|
915
|
+
self._file.seek(self._pos)
|
|
916
|
+
data = self._file.read(n)
|
|
917
|
+
self._pos = self._file.tell()
|
|
918
|
+
return data
|
|
919
|
+
|
|
920
|
+
def close(self):
|
|
921
|
+
if self._file is not None:
|
|
922
|
+
fileobj = self._file
|
|
923
|
+
self._file = None
|
|
924
|
+
self._close(fileobj)
|
|
925
|
+
|
|
926
|
+
# Provide the tell method for unseekable stream
|
|
927
|
+
class _Tellable:
|
|
928
|
+
def __init__(self, fp):
|
|
929
|
+
self.fp = fp
|
|
930
|
+
self.offset = 0
|
|
931
|
+
|
|
932
|
+
def write(self, data):
|
|
933
|
+
n = self.fp.write(data)
|
|
934
|
+
self.offset += n
|
|
935
|
+
return n
|
|
936
|
+
|
|
937
|
+
def tell(self):
|
|
938
|
+
return self.offset
|
|
939
|
+
|
|
940
|
+
def flush(self):
|
|
941
|
+
self.fp.flush()
|
|
942
|
+
|
|
943
|
+
def close(self):
|
|
944
|
+
self.fp.close()
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
class ZipExtFile(io.BufferedIOBase):
|
|
948
|
+
"""File-like object for reading an archive member.
|
|
949
|
+
Is returned by ZipFile.open().
|
|
950
|
+
"""
|
|
951
|
+
|
|
952
|
+
# Max size supported by decompressor.
|
|
953
|
+
MAX_N = 1 << 31 - 1
|
|
954
|
+
|
|
955
|
+
# Read from compressed files in 4k blocks.
|
|
956
|
+
MIN_READ_SIZE = 4096
|
|
957
|
+
|
|
958
|
+
# Chunk size to read during seek
|
|
959
|
+
MAX_SEEK_READ = 1 << 24
|
|
960
|
+
|
|
961
|
+
def __init__(self, fileobj, mode, zipinfo, pwd=None,
|
|
962
|
+
close_fileobj=False):
|
|
963
|
+
self._fileobj = fileobj
|
|
964
|
+
self._pwd = pwd
|
|
965
|
+
self._close_fileobj = close_fileobj
|
|
966
|
+
|
|
967
|
+
self._compress_type = zipinfo.compress_type
|
|
968
|
+
self._compress_left = zipinfo.compress_size
|
|
969
|
+
self._left = zipinfo.file_size
|
|
970
|
+
|
|
971
|
+
self._decompressor = _get_decompressor(self._compress_type)
|
|
972
|
+
|
|
973
|
+
self._eof = False
|
|
974
|
+
self._readbuffer = b''
|
|
975
|
+
self._offset = 0
|
|
976
|
+
|
|
977
|
+
self.newlines = None
|
|
978
|
+
|
|
979
|
+
self.mode = mode
|
|
980
|
+
self.name = zipinfo.filename
|
|
981
|
+
|
|
982
|
+
if hasattr(zipinfo, 'CRC'):
|
|
983
|
+
self._expected_crc = zipinfo.CRC
|
|
984
|
+
self._running_crc = crc32(b'')
|
|
985
|
+
else:
|
|
986
|
+
self._expected_crc = None
|
|
987
|
+
|
|
988
|
+
self._seekable = False
|
|
989
|
+
try:
|
|
990
|
+
if fileobj.seekable():
|
|
991
|
+
self._orig_compress_start = fileobj.tell()
|
|
992
|
+
self._orig_compress_size = zipinfo.compress_size
|
|
993
|
+
self._orig_file_size = zipinfo.file_size
|
|
994
|
+
self._orig_start_crc = self._running_crc
|
|
995
|
+
self._orig_crc = self._expected_crc
|
|
996
|
+
self._seekable = True
|
|
997
|
+
except AttributeError:
|
|
998
|
+
pass
|
|
999
|
+
|
|
1000
|
+
self._decrypter = None
|
|
1001
|
+
if pwd:
|
|
1002
|
+
if zipinfo.flag_bits & _MASK_USE_DATA_DESCRIPTOR:
|
|
1003
|
+
# compare against the file type from extended local headers
|
|
1004
|
+
check_byte = (zipinfo._raw_time >> 8) & 0xff
|
|
1005
|
+
else:
|
|
1006
|
+
# compare against the CRC otherwise
|
|
1007
|
+
check_byte = (zipinfo.CRC >> 24) & 0xff
|
|
1008
|
+
h = self._init_decrypter()
|
|
1009
|
+
if h != check_byte:
|
|
1010
|
+
raise RuntimeError("Bad password for file %r" % zipinfo.orig_filename)
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
def _init_decrypter(self):
|
|
1014
|
+
self._decrypter = _ZipDecrypter(self._pwd)
|
|
1015
|
+
# The first 12 bytes in the cypher stream is an encryption header
|
|
1016
|
+
# used to strengthen the algorithm. The first 11 bytes are
|
|
1017
|
+
# completely random, while the 12th contains the MSB of the CRC,
|
|
1018
|
+
# or the MSB of the file time depending on the header type
|
|
1019
|
+
# and is used to check the correctness of the password.
|
|
1020
|
+
header = self._fileobj.read(12)
|
|
1021
|
+
self._compress_left -= 12
|
|
1022
|
+
return self._decrypter(header)[11]
|
|
1023
|
+
|
|
1024
|
+
def __repr__(self):
|
|
1025
|
+
result = ['<%s.%s' % (self.__class__.__module__,
|
|
1026
|
+
self.__class__.__qualname__)]
|
|
1027
|
+
if not self.closed:
|
|
1028
|
+
result.append(' name=%r' % (self.name,))
|
|
1029
|
+
if self._compress_type != ZIP_STORED:
|
|
1030
|
+
result.append(' compress_type=%s' %
|
|
1031
|
+
compressor_names.get(self._compress_type,
|
|
1032
|
+
self._compress_type))
|
|
1033
|
+
else:
|
|
1034
|
+
result.append(' [closed]')
|
|
1035
|
+
result.append('>')
|
|
1036
|
+
return ''.join(result)
|
|
1037
|
+
|
|
1038
|
+
def readline(self, limit=-1):
|
|
1039
|
+
"""Read and return a line from the stream.
|
|
1040
|
+
|
|
1041
|
+
If limit is specified, at most limit bytes will be read.
|
|
1042
|
+
"""
|
|
1043
|
+
|
|
1044
|
+
if limit < 0:
|
|
1045
|
+
# Shortcut common case - newline found in buffer.
|
|
1046
|
+
i = self._readbuffer.find(b'\n', self._offset) + 1
|
|
1047
|
+
if i > 0:
|
|
1048
|
+
line = self._readbuffer[self._offset: i]
|
|
1049
|
+
self._offset = i
|
|
1050
|
+
return line
|
|
1051
|
+
|
|
1052
|
+
return io.BufferedIOBase.readline(self, limit)
|
|
1053
|
+
|
|
1054
|
+
def peek(self, n=1):
|
|
1055
|
+
"""Returns buffered bytes without advancing the position."""
|
|
1056
|
+
if n > len(self._readbuffer) - self._offset:
|
|
1057
|
+
chunk = self.read(n)
|
|
1058
|
+
if len(chunk) > self._offset:
|
|
1059
|
+
self._readbuffer = chunk + self._readbuffer[self._offset:]
|
|
1060
|
+
self._offset = 0
|
|
1061
|
+
else:
|
|
1062
|
+
self._offset -= len(chunk)
|
|
1063
|
+
|
|
1064
|
+
# Return up to 512 bytes to reduce allocation overhead for tight loops.
|
|
1065
|
+
return self._readbuffer[self._offset: self._offset + 512]
|
|
1066
|
+
|
|
1067
|
+
def readable(self):
|
|
1068
|
+
if self.closed:
|
|
1069
|
+
raise ValueError("I/O operation on closed file.")
|
|
1070
|
+
return True
|
|
1071
|
+
|
|
1072
|
+
def read(self, n=-1):
|
|
1073
|
+
"""Read and return up to n bytes.
|
|
1074
|
+
If the argument is omitted, None, or negative, data is read and returned until EOF is reached.
|
|
1075
|
+
"""
|
|
1076
|
+
if self.closed:
|
|
1077
|
+
raise ValueError("read from closed file.")
|
|
1078
|
+
if n is None or n < 0:
|
|
1079
|
+
buf = self._readbuffer[self._offset:]
|
|
1080
|
+
self._readbuffer = b''
|
|
1081
|
+
self._offset = 0
|
|
1082
|
+
while not self._eof:
|
|
1083
|
+
buf += self._read1(self.MAX_N)
|
|
1084
|
+
return buf
|
|
1085
|
+
|
|
1086
|
+
end = n + self._offset
|
|
1087
|
+
if end < len(self._readbuffer):
|
|
1088
|
+
buf = self._readbuffer[self._offset:end]
|
|
1089
|
+
self._offset = end
|
|
1090
|
+
return buf
|
|
1091
|
+
|
|
1092
|
+
n = end - len(self._readbuffer)
|
|
1093
|
+
buf = self._readbuffer[self._offset:]
|
|
1094
|
+
self._readbuffer = b''
|
|
1095
|
+
self._offset = 0
|
|
1096
|
+
while n > 0 and not self._eof:
|
|
1097
|
+
data = self._read1(n)
|
|
1098
|
+
if n < len(data):
|
|
1099
|
+
self._readbuffer = data
|
|
1100
|
+
self._offset = n
|
|
1101
|
+
buf += data[:n]
|
|
1102
|
+
break
|
|
1103
|
+
buf += data
|
|
1104
|
+
n -= len(data)
|
|
1105
|
+
return buf
|
|
1106
|
+
|
|
1107
|
+
def _update_crc(self, newdata):
|
|
1108
|
+
# Update the CRC using the given data.
|
|
1109
|
+
if self._expected_crc is None:
|
|
1110
|
+
# No need to compute the CRC if we don't have a reference value
|
|
1111
|
+
return
|
|
1112
|
+
self._running_crc = crc32(newdata, self._running_crc)
|
|
1113
|
+
# Check the CRC if we're at the end of the file
|
|
1114
|
+
if self._eof and self._running_crc != self._expected_crc:
|
|
1115
|
+
raise BadZipFile("Bad CRC-32 for file %r" % self.name)
|
|
1116
|
+
|
|
1117
|
+
def read1(self, n):
|
|
1118
|
+
"""Read up to n bytes with at most one read() system call."""
|
|
1119
|
+
|
|
1120
|
+
if n is None or n < 0:
|
|
1121
|
+
buf = self._readbuffer[self._offset:]
|
|
1122
|
+
self._readbuffer = b''
|
|
1123
|
+
self._offset = 0
|
|
1124
|
+
while not self._eof:
|
|
1125
|
+
data = self._read1(self.MAX_N)
|
|
1126
|
+
if data:
|
|
1127
|
+
buf += data
|
|
1128
|
+
break
|
|
1129
|
+
return buf
|
|
1130
|
+
|
|
1131
|
+
end = n + self._offset
|
|
1132
|
+
if end < len(self._readbuffer):
|
|
1133
|
+
buf = self._readbuffer[self._offset:end]
|
|
1134
|
+
self._offset = end
|
|
1135
|
+
return buf
|
|
1136
|
+
|
|
1137
|
+
n = end - len(self._readbuffer)
|
|
1138
|
+
buf = self._readbuffer[self._offset:]
|
|
1139
|
+
self._readbuffer = b''
|
|
1140
|
+
self._offset = 0
|
|
1141
|
+
if n > 0:
|
|
1142
|
+
while not self._eof:
|
|
1143
|
+
data = self._read1(n)
|
|
1144
|
+
if n < len(data):
|
|
1145
|
+
self._readbuffer = data
|
|
1146
|
+
self._offset = n
|
|
1147
|
+
buf += data[:n]
|
|
1148
|
+
break
|
|
1149
|
+
if data:
|
|
1150
|
+
buf += data
|
|
1151
|
+
break
|
|
1152
|
+
return buf
|
|
1153
|
+
|
|
1154
|
+
def _read1(self, n):
|
|
1155
|
+
# Read up to n compressed bytes with at most one read() system call,
|
|
1156
|
+
# decrypt and decompress them.
|
|
1157
|
+
if self._eof or n <= 0:
|
|
1158
|
+
return b''
|
|
1159
|
+
|
|
1160
|
+
# Read from file.
|
|
1161
|
+
if self._compress_type == ZIP_DEFLATED:
|
|
1162
|
+
## Handle unconsumed data.
|
|
1163
|
+
data = self._decompressor.unconsumed_tail
|
|
1164
|
+
if n > len(data):
|
|
1165
|
+
data += self._read2(n - len(data))
|
|
1166
|
+
else:
|
|
1167
|
+
data = self._read2(n)
|
|
1168
|
+
|
|
1169
|
+
if self._compress_type == ZIP_STORED:
|
|
1170
|
+
self._eof = self._compress_left <= 0
|
|
1171
|
+
elif self._compress_type == ZIP_DEFLATED:
|
|
1172
|
+
n = max(n, self.MIN_READ_SIZE)
|
|
1173
|
+
data = self._decompressor.decompress(data, n)
|
|
1174
|
+
self._eof = (self._decompressor.eof or
|
|
1175
|
+
self._compress_left <= 0 and
|
|
1176
|
+
not self._decompressor.unconsumed_tail)
|
|
1177
|
+
if self._eof:
|
|
1178
|
+
data += self._decompressor.flush()
|
|
1179
|
+
else:
|
|
1180
|
+
data = self._decompressor.decompress(data)
|
|
1181
|
+
self._eof = self._decompressor.eof or self._compress_left <= 0
|
|
1182
|
+
|
|
1183
|
+
data = data[:self._left]
|
|
1184
|
+
self._left -= len(data)
|
|
1185
|
+
if self._left <= 0:
|
|
1186
|
+
self._eof = True
|
|
1187
|
+
self._update_crc(data)
|
|
1188
|
+
return data
|
|
1189
|
+
|
|
1190
|
+
def _read2(self, n):
|
|
1191
|
+
if self._compress_left <= 0:
|
|
1192
|
+
return b''
|
|
1193
|
+
|
|
1194
|
+
n = max(n, self.MIN_READ_SIZE)
|
|
1195
|
+
n = min(n, self._compress_left)
|
|
1196
|
+
|
|
1197
|
+
data = self._fileobj.read(n)
|
|
1198
|
+
self._compress_left -= len(data)
|
|
1199
|
+
if not data:
|
|
1200
|
+
raise EOFError
|
|
1201
|
+
|
|
1202
|
+
if self._decrypter is not None:
|
|
1203
|
+
data = self._decrypter(data)
|
|
1204
|
+
return data
|
|
1205
|
+
|
|
1206
|
+
def close(self):
|
|
1207
|
+
try:
|
|
1208
|
+
if self._close_fileobj:
|
|
1209
|
+
self._fileobj.close()
|
|
1210
|
+
finally:
|
|
1211
|
+
super().close()
|
|
1212
|
+
|
|
1213
|
+
def seekable(self):
|
|
1214
|
+
if self.closed:
|
|
1215
|
+
raise ValueError("I/O operation on closed file.")
|
|
1216
|
+
return self._seekable
|
|
1217
|
+
|
|
1218
|
+
def seek(self, offset, whence=os.SEEK_SET):
|
|
1219
|
+
if self.closed:
|
|
1220
|
+
raise ValueError("seek on closed file.")
|
|
1221
|
+
if not self._seekable:
|
|
1222
|
+
raise io.UnsupportedOperation("underlying stream is not seekable")
|
|
1223
|
+
curr_pos = self.tell()
|
|
1224
|
+
if whence == os.SEEK_SET:
|
|
1225
|
+
new_pos = offset
|
|
1226
|
+
elif whence == os.SEEK_CUR:
|
|
1227
|
+
new_pos = curr_pos + offset
|
|
1228
|
+
elif whence == os.SEEK_END:
|
|
1229
|
+
new_pos = self._orig_file_size + offset
|
|
1230
|
+
else:
|
|
1231
|
+
raise ValueError("whence must be os.SEEK_SET (0), "
|
|
1232
|
+
"os.SEEK_CUR (1), or os.SEEK_END (2)")
|
|
1233
|
+
|
|
1234
|
+
if new_pos > self._orig_file_size:
|
|
1235
|
+
new_pos = self._orig_file_size
|
|
1236
|
+
|
|
1237
|
+
if new_pos < 0:
|
|
1238
|
+
new_pos = 0
|
|
1239
|
+
|
|
1240
|
+
read_offset = new_pos - curr_pos
|
|
1241
|
+
buff_offset = read_offset + self._offset
|
|
1242
|
+
|
|
1243
|
+
if buff_offset >= 0 and buff_offset < len(self._readbuffer):
|
|
1244
|
+
# Just move the _offset index if the new position is in the _readbuffer
|
|
1245
|
+
self._offset = buff_offset
|
|
1246
|
+
read_offset = 0
|
|
1247
|
+
# Fast seek uncompressed unencrypted file
|
|
1248
|
+
elif self._compress_type == ZIP_STORED and self._decrypter is None and read_offset != 0:
|
|
1249
|
+
# disable CRC checking after first seeking - it would be invalid
|
|
1250
|
+
self._expected_crc = None
|
|
1251
|
+
# seek actual file taking already buffered data into account
|
|
1252
|
+
read_offset -= len(self._readbuffer) - self._offset
|
|
1253
|
+
self._fileobj.seek(read_offset, os.SEEK_CUR)
|
|
1254
|
+
self._left -= read_offset
|
|
1255
|
+
self._compress_left -= read_offset
|
|
1256
|
+
self._eof = self._left <= 0
|
|
1257
|
+
read_offset = 0
|
|
1258
|
+
# flush read buffer
|
|
1259
|
+
self._readbuffer = b''
|
|
1260
|
+
self._offset = 0
|
|
1261
|
+
elif read_offset < 0:
|
|
1262
|
+
# Position is before the current position. Reset the ZipExtFile
|
|
1263
|
+
self._fileobj.seek(self._orig_compress_start)
|
|
1264
|
+
self._running_crc = self._orig_start_crc
|
|
1265
|
+
self._expected_crc = self._orig_crc
|
|
1266
|
+
self._compress_left = self._orig_compress_size
|
|
1267
|
+
self._left = self._orig_file_size
|
|
1268
|
+
self._readbuffer = b''
|
|
1269
|
+
self._offset = 0
|
|
1270
|
+
self._decompressor = _get_decompressor(self._compress_type)
|
|
1271
|
+
self._eof = False
|
|
1272
|
+
read_offset = new_pos
|
|
1273
|
+
if self._decrypter is not None:
|
|
1274
|
+
self._init_decrypter()
|
|
1275
|
+
|
|
1276
|
+
while read_offset > 0:
|
|
1277
|
+
read_len = min(self.MAX_SEEK_READ, read_offset)
|
|
1278
|
+
self.read(read_len)
|
|
1279
|
+
read_offset -= read_len
|
|
1280
|
+
|
|
1281
|
+
return self.tell()
|
|
1282
|
+
|
|
1283
|
+
def tell(self):
|
|
1284
|
+
if self.closed:
|
|
1285
|
+
raise ValueError("tell on closed file.")
|
|
1286
|
+
if not self._seekable:
|
|
1287
|
+
raise io.UnsupportedOperation("underlying stream is not seekable")
|
|
1288
|
+
filepos = self._orig_file_size - self._left - len(self._readbuffer) + self._offset
|
|
1289
|
+
return filepos
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
class _ZipWriteFile(io.BufferedIOBase):
|
|
1293
|
+
def __init__(self, zf, zinfo, zip64):
|
|
1294
|
+
self._zinfo = zinfo
|
|
1295
|
+
self._zip64 = zip64
|
|
1296
|
+
self._zipfile = zf
|
|
1297
|
+
self._compressor = _get_compressor(zinfo.compress_type,
|
|
1298
|
+
zinfo.compress_level)
|
|
1299
|
+
self._file_size = 0
|
|
1300
|
+
self._compress_size = 0
|
|
1301
|
+
self._crc = 0
|
|
1302
|
+
|
|
1303
|
+
@property
|
|
1304
|
+
def _fileobj(self):
|
|
1305
|
+
return self._zipfile.fp
|
|
1306
|
+
|
|
1307
|
+
@property
|
|
1308
|
+
def name(self):
|
|
1309
|
+
return self._zinfo.filename
|
|
1310
|
+
|
|
1311
|
+
@property
|
|
1312
|
+
def mode(self):
|
|
1313
|
+
return 'wb'
|
|
1314
|
+
|
|
1315
|
+
def writable(self):
|
|
1316
|
+
return True
|
|
1317
|
+
|
|
1318
|
+
def write(self, data):
|
|
1319
|
+
if self.closed:
|
|
1320
|
+
raise ValueError('I/O operation on closed file.')
|
|
1321
|
+
|
|
1322
|
+
# Accept any data that supports the buffer protocol
|
|
1323
|
+
if isinstance(data, (bytes, bytearray)):
|
|
1324
|
+
nbytes = len(data)
|
|
1325
|
+
else:
|
|
1326
|
+
data = memoryview(data)
|
|
1327
|
+
nbytes = data.nbytes
|
|
1328
|
+
self._file_size += nbytes
|
|
1329
|
+
|
|
1330
|
+
self._crc = crc32(data, self._crc)
|
|
1331
|
+
if self._compressor:
|
|
1332
|
+
data = self._compressor.compress(data)
|
|
1333
|
+
self._compress_size += len(data)
|
|
1334
|
+
self._fileobj.write(data)
|
|
1335
|
+
return nbytes
|
|
1336
|
+
|
|
1337
|
+
def close(self):
|
|
1338
|
+
if self.closed:
|
|
1339
|
+
return
|
|
1340
|
+
try:
|
|
1341
|
+
super().close()
|
|
1342
|
+
# Flush any data from the compressor, and update header info
|
|
1343
|
+
if self._compressor:
|
|
1344
|
+
buf = self._compressor.flush()
|
|
1345
|
+
self._compress_size += len(buf)
|
|
1346
|
+
self._fileobj.write(buf)
|
|
1347
|
+
self._zinfo.compress_size = self._compress_size
|
|
1348
|
+
else:
|
|
1349
|
+
self._zinfo.compress_size = self._file_size
|
|
1350
|
+
self._zinfo.CRC = self._crc
|
|
1351
|
+
self._zinfo.file_size = self._file_size
|
|
1352
|
+
|
|
1353
|
+
if not self._zip64:
|
|
1354
|
+
if self._file_size > ZIP64_LIMIT:
|
|
1355
|
+
raise RuntimeError("File size too large, try using force_zip64")
|
|
1356
|
+
if self._compress_size > ZIP64_LIMIT:
|
|
1357
|
+
raise RuntimeError("Compressed size too large, try using force_zip64")
|
|
1358
|
+
|
|
1359
|
+
# Write updated header info
|
|
1360
|
+
if self._zinfo.flag_bits & _MASK_USE_DATA_DESCRIPTOR:
|
|
1361
|
+
# Write CRC and file sizes after the file data
|
|
1362
|
+
fmt = '<LLQQ' if self._zip64 else '<LLLL'
|
|
1363
|
+
self._fileobj.write(struct.pack(fmt, _DD_SIGNATURE, self._zinfo.CRC,
|
|
1364
|
+
self._zinfo.compress_size, self._zinfo.file_size))
|
|
1365
|
+
self._zipfile.start_dir = self._fileobj.tell()
|
|
1366
|
+
else:
|
|
1367
|
+
# Seek backwards and write file header (which will now include
|
|
1368
|
+
# correct CRC and file sizes)
|
|
1369
|
+
|
|
1370
|
+
# Preserve current position in file
|
|
1371
|
+
self._zipfile.start_dir = self._fileobj.tell()
|
|
1372
|
+
self._fileobj.seek(self._zinfo.header_offset)
|
|
1373
|
+
self._fileobj.write(self._zinfo.FileHeader(self._zip64))
|
|
1374
|
+
self._fileobj.seek(self._zipfile.start_dir)
|
|
1375
|
+
|
|
1376
|
+
# Successfully written: Add file to our caches
|
|
1377
|
+
self._zipfile.filelist.append(self._zinfo)
|
|
1378
|
+
self._zipfile.NameToInfo[self._zinfo.filename] = self._zinfo
|
|
1379
|
+
finally:
|
|
1380
|
+
self._zipfile._writing = False
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
class ZipFile:
|
|
1385
|
+
""" Class with methods to open, read, write, close, list zip files.
|
|
1386
|
+
|
|
1387
|
+
z = ZipFile(file, mode="r", compression=ZIP_STORED, allowZip64=True,
|
|
1388
|
+
compresslevel=None)
|
|
1389
|
+
|
|
1390
|
+
file: Either the path to the file, or a file-like object.
|
|
1391
|
+
If it is a path, the file will be opened and closed by ZipFile.
|
|
1392
|
+
mode: The mode can be either read 'r', write 'w', exclusive create 'x',
|
|
1393
|
+
or append 'a'.
|
|
1394
|
+
compression: ZIP_STORED (no compression), ZIP_DEFLATED (requires zlib),
|
|
1395
|
+
ZIP_BZIP2 (requires bz2), ZIP_LZMA (requires lzma), or
|
|
1396
|
+
ZIP_ZSTANDARD (requires compression.zstd).
|
|
1397
|
+
allowZip64: if True ZipFile will create files with ZIP64 extensions when
|
|
1398
|
+
needed, otherwise it will raise an exception when this would
|
|
1399
|
+
be necessary.
|
|
1400
|
+
compresslevel: None (default for the given compression type) or an integer
|
|
1401
|
+
specifying the level to pass to the compressor.
|
|
1402
|
+
When using ZIP_STORED or ZIP_LZMA this keyword has no effect.
|
|
1403
|
+
When using ZIP_DEFLATED integers 0 through 9 are accepted.
|
|
1404
|
+
When using ZIP_BZIP2 integers 1 through 9 are accepted.
|
|
1405
|
+
When using ZIP_ZSTANDARD integers -7 though 22 are common,
|
|
1406
|
+
see the CompressionParameter enum in compression.zstd for
|
|
1407
|
+
details.
|
|
1408
|
+
|
|
1409
|
+
"""
|
|
1410
|
+
|
|
1411
|
+
fp = None # Set here since __del__ checks it
|
|
1412
|
+
_windows_illegal_name_trans_table = None
|
|
1413
|
+
|
|
1414
|
+
def __init__(self, file, mode="r", compression=ZIP_STORED, allowZip64=True,
|
|
1415
|
+
compresslevel=None, *, strict_timestamps=True, metadata_encoding=None):
|
|
1416
|
+
"""Open the ZIP file with mode read 'r', write 'w', exclusive create 'x',
|
|
1417
|
+
or append 'a'."""
|
|
1418
|
+
if mode not in ('r', 'w', 'x', 'a'):
|
|
1419
|
+
raise ValueError("ZipFile requires mode 'r', 'w', 'x', or 'a'")
|
|
1420
|
+
|
|
1421
|
+
_check_compression(compression)
|
|
1422
|
+
|
|
1423
|
+
self._allowZip64 = allowZip64
|
|
1424
|
+
self._didModify = False
|
|
1425
|
+
self.debug = 0 # Level of printing: 0 through 3
|
|
1426
|
+
self.NameToInfo = {} # Find file info given name
|
|
1427
|
+
self.filelist = [] # List of ZipInfo instances for archive
|
|
1428
|
+
self.compression = compression # Method of compression
|
|
1429
|
+
self.compresslevel = compresslevel
|
|
1430
|
+
self.mode = mode
|
|
1431
|
+
self.pwd = None
|
|
1432
|
+
self._comment = b''
|
|
1433
|
+
self._strict_timestamps = strict_timestamps
|
|
1434
|
+
self.metadata_encoding = metadata_encoding
|
|
1435
|
+
|
|
1436
|
+
# Check that we don't try to write with nonconforming codecs
|
|
1437
|
+
if self.metadata_encoding and mode != 'r':
|
|
1438
|
+
raise ValueError(
|
|
1439
|
+
"metadata_encoding is only supported for reading files")
|
|
1440
|
+
|
|
1441
|
+
# Check if we were passed a file-like object
|
|
1442
|
+
if isinstance(file, os.PathLike):
|
|
1443
|
+
file = os.fspath(file)
|
|
1444
|
+
if isinstance(file, str):
|
|
1445
|
+
# No, it's a filename
|
|
1446
|
+
self._filePassed = 0
|
|
1447
|
+
self.filename = file
|
|
1448
|
+
modeDict = {'r' : 'rb', 'w': 'w+b', 'x': 'x+b', 'a' : 'r+b',
|
|
1449
|
+
'r+b': 'w+b', 'w+b': 'wb', 'x+b': 'xb'}
|
|
1450
|
+
filemode = modeDict[mode]
|
|
1451
|
+
while True:
|
|
1452
|
+
try:
|
|
1453
|
+
self.fp = io.open(file, filemode)
|
|
1454
|
+
except OSError:
|
|
1455
|
+
if filemode in modeDict:
|
|
1456
|
+
filemode = modeDict[filemode]
|
|
1457
|
+
continue
|
|
1458
|
+
raise
|
|
1459
|
+
break
|
|
1460
|
+
else:
|
|
1461
|
+
self._filePassed = 1
|
|
1462
|
+
self.fp = file
|
|
1463
|
+
self.filename = getattr(file, 'name', None)
|
|
1464
|
+
self._fileRefCnt = 1
|
|
1465
|
+
self._lock = threading.RLock()
|
|
1466
|
+
self._seekable = True
|
|
1467
|
+
self._writing = False
|
|
1468
|
+
|
|
1469
|
+
try:
|
|
1470
|
+
if mode == 'r':
|
|
1471
|
+
self._RealGetContents()
|
|
1472
|
+
elif mode in ('w', 'x'):
|
|
1473
|
+
# set the modified flag so central directory gets written
|
|
1474
|
+
# even if no files are added to the archive
|
|
1475
|
+
self._didModify = True
|
|
1476
|
+
try:
|
|
1477
|
+
self.start_dir = self.fp.tell()
|
|
1478
|
+
except (AttributeError, OSError):
|
|
1479
|
+
self.fp = _Tellable(self.fp)
|
|
1480
|
+
self.start_dir = 0
|
|
1481
|
+
self._seekable = False
|
|
1482
|
+
else:
|
|
1483
|
+
# Some file-like objects can provide tell() but not seek()
|
|
1484
|
+
try:
|
|
1485
|
+
self.fp.seek(self.start_dir)
|
|
1486
|
+
except (AttributeError, OSError):
|
|
1487
|
+
self._seekable = False
|
|
1488
|
+
elif mode == 'a':
|
|
1489
|
+
try:
|
|
1490
|
+
# See if file is a zip file
|
|
1491
|
+
self._RealGetContents()
|
|
1492
|
+
# seek to start of directory and overwrite
|
|
1493
|
+
self.fp.seek(self.start_dir)
|
|
1494
|
+
except BadZipFile:
|
|
1495
|
+
# file is not a zip file, just append
|
|
1496
|
+
self.fp.seek(0, 2)
|
|
1497
|
+
|
|
1498
|
+
# set the modified flag so central directory gets written
|
|
1499
|
+
# even if no files are added to the archive
|
|
1500
|
+
self._didModify = True
|
|
1501
|
+
self.start_dir = self.fp.tell()
|
|
1502
|
+
else:
|
|
1503
|
+
raise ValueError("Mode must be 'r', 'w', 'x', or 'a'")
|
|
1504
|
+
except:
|
|
1505
|
+
fp = self.fp
|
|
1506
|
+
self.fp = None
|
|
1507
|
+
self._fpclose(fp)
|
|
1508
|
+
raise
|
|
1509
|
+
|
|
1510
|
+
def __enter__(self):
|
|
1511
|
+
return self
|
|
1512
|
+
|
|
1513
|
+
def __exit__(self, type, value, traceback):
|
|
1514
|
+
self.close()
|
|
1515
|
+
|
|
1516
|
+
def __repr__(self):
|
|
1517
|
+
result = ['<%s.%s' % (self.__class__.__module__,
|
|
1518
|
+
self.__class__.__qualname__)]
|
|
1519
|
+
if self.fp is not None:
|
|
1520
|
+
if self._filePassed:
|
|
1521
|
+
result.append(' file=%r' % self.fp)
|
|
1522
|
+
elif self.filename is not None:
|
|
1523
|
+
result.append(' filename=%r' % self.filename)
|
|
1524
|
+
result.append(' mode=%r' % self.mode)
|
|
1525
|
+
else:
|
|
1526
|
+
result.append(' [closed]')
|
|
1527
|
+
result.append('>')
|
|
1528
|
+
return ''.join(result)
|
|
1529
|
+
|
|
1530
|
+
def _RealGetContents(self):
|
|
1531
|
+
"""Read in the table of contents for the ZIP file."""
|
|
1532
|
+
fp = self.fp
|
|
1533
|
+
try:
|
|
1534
|
+
endrec = _EndRecData(fp)
|
|
1535
|
+
except OSError:
|
|
1536
|
+
raise BadZipFile("File is not a zip file")
|
|
1537
|
+
if not endrec:
|
|
1538
|
+
raise BadZipFile("File is not a zip file")
|
|
1539
|
+
if self.debug > 1:
|
|
1540
|
+
print(endrec)
|
|
1541
|
+
self._comment = endrec[_ECD_COMMENT] # archive comment
|
|
1542
|
+
|
|
1543
|
+
offset_cd, concat = _handle_prepended_data(endrec, self.debug)
|
|
1544
|
+
|
|
1545
|
+
# self.start_dir: Position of start of central directory
|
|
1546
|
+
self.start_dir = offset_cd + concat
|
|
1547
|
+
|
|
1548
|
+
if self.start_dir < 0:
|
|
1549
|
+
raise BadZipFile("Bad offset for central directory")
|
|
1550
|
+
fp.seek(self.start_dir, 0)
|
|
1551
|
+
size_cd = endrec[_ECD_SIZE]
|
|
1552
|
+
data = fp.read(size_cd)
|
|
1553
|
+
fp = io.BytesIO(data)
|
|
1554
|
+
total = 0
|
|
1555
|
+
while total < size_cd:
|
|
1556
|
+
centdir = fp.read(sizeCentralDir)
|
|
1557
|
+
if len(centdir) != sizeCentralDir:
|
|
1558
|
+
raise BadZipFile("Truncated central directory")
|
|
1559
|
+
centdir = struct.unpack(structCentralDir, centdir)
|
|
1560
|
+
if centdir[_CD_SIGNATURE] != stringCentralDir:
|
|
1561
|
+
raise BadZipFile("Bad magic number for central directory")
|
|
1562
|
+
if self.debug > 2:
|
|
1563
|
+
print(centdir)
|
|
1564
|
+
filename = fp.read(centdir[_CD_FILENAME_LENGTH])
|
|
1565
|
+
orig_filename_crc = crc32(filename)
|
|
1566
|
+
flags = centdir[_CD_FLAG_BITS]
|
|
1567
|
+
if flags & _MASK_UTF_FILENAME:
|
|
1568
|
+
# UTF-8 file names extension
|
|
1569
|
+
filename = filename.decode('utf-8')
|
|
1570
|
+
else:
|
|
1571
|
+
# Historical ZIP filename encoding
|
|
1572
|
+
filename = filename.decode(self.metadata_encoding or 'cp437')
|
|
1573
|
+
# Create ZipInfo instance to store file information
|
|
1574
|
+
x = ZipInfo(filename)
|
|
1575
|
+
x.extra = fp.read(centdir[_CD_EXTRA_FIELD_LENGTH])
|
|
1576
|
+
x.comment = fp.read(centdir[_CD_COMMENT_LENGTH])
|
|
1577
|
+
x.header_offset = centdir[_CD_LOCAL_HEADER_OFFSET]
|
|
1578
|
+
(x.create_version, x.create_system, x.extract_version, x.reserved,
|
|
1579
|
+
x.flag_bits, x.compress_type, t, d,
|
|
1580
|
+
x.CRC, x.compress_size, x.file_size) = centdir[1:12]
|
|
1581
|
+
if x.extract_version > MAX_EXTRACT_VERSION:
|
|
1582
|
+
raise NotImplementedError("zip file version %.1f" %
|
|
1583
|
+
(x.extract_version / 10))
|
|
1584
|
+
x.volume, x.internal_attr, x.external_attr = centdir[15:18]
|
|
1585
|
+
# Convert date/time code to (year, month, day, hour, min, sec)
|
|
1586
|
+
x._raw_time = t
|
|
1587
|
+
x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F,
|
|
1588
|
+
t>>11, (t>>5)&0x3F, (t&0x1F) * 2 )
|
|
1589
|
+
x._decodeExtra(orig_filename_crc)
|
|
1590
|
+
x.header_offset = x.header_offset + concat
|
|
1591
|
+
self.filelist.append(x)
|
|
1592
|
+
self.NameToInfo[x.filename] = x
|
|
1593
|
+
|
|
1594
|
+
# update total bytes read from central directory
|
|
1595
|
+
total = (total + sizeCentralDir + centdir[_CD_FILENAME_LENGTH]
|
|
1596
|
+
+ centdir[_CD_EXTRA_FIELD_LENGTH]
|
|
1597
|
+
+ centdir[_CD_COMMENT_LENGTH])
|
|
1598
|
+
|
|
1599
|
+
if self.debug > 2:
|
|
1600
|
+
print("total", total)
|
|
1601
|
+
|
|
1602
|
+
end_offset = self.start_dir
|
|
1603
|
+
for zinfo in reversed(sorted(self.filelist,
|
|
1604
|
+
key=lambda zinfo: zinfo.header_offset)):
|
|
1605
|
+
zinfo._end_offset = end_offset
|
|
1606
|
+
end_offset = zinfo.header_offset
|
|
1607
|
+
|
|
1608
|
+
def namelist(self):
|
|
1609
|
+
"""Return a list of file names in the archive."""
|
|
1610
|
+
return [data.filename for data in self.filelist]
|
|
1611
|
+
|
|
1612
|
+
def infolist(self):
|
|
1613
|
+
"""Return a list of class ZipInfo instances for files in the
|
|
1614
|
+
archive."""
|
|
1615
|
+
return self.filelist
|
|
1616
|
+
|
|
1617
|
+
def printdir(self, file=None):
|
|
1618
|
+
"""Print a table of contents for the zip file."""
|
|
1619
|
+
print("%-46s %19s %12s" % ("File Name", "Modified ", "Size"),
|
|
1620
|
+
file=file)
|
|
1621
|
+
for zinfo in self.filelist:
|
|
1622
|
+
date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo.date_time[:6]
|
|
1623
|
+
print("%-46s %s %12d" % (zinfo.filename, date, zinfo.file_size),
|
|
1624
|
+
file=file)
|
|
1625
|
+
|
|
1626
|
+
def testzip(self):
|
|
1627
|
+
"""Read all the files and check the CRC.
|
|
1628
|
+
|
|
1629
|
+
Return None if all files could be read successfully, or the name
|
|
1630
|
+
of the offending file otherwise."""
|
|
1631
|
+
chunk_size = 2 ** 20
|
|
1632
|
+
for zinfo in self.filelist:
|
|
1633
|
+
try:
|
|
1634
|
+
# Read by chunks, to avoid an OverflowError or a
|
|
1635
|
+
# MemoryError with very large embedded files.
|
|
1636
|
+
with self.open(zinfo.filename, "r") as f:
|
|
1637
|
+
while f.read(chunk_size): # Check CRC-32
|
|
1638
|
+
pass
|
|
1639
|
+
except BadZipFile:
|
|
1640
|
+
return zinfo.filename
|
|
1641
|
+
|
|
1642
|
+
def getinfo(self, name):
|
|
1643
|
+
"""Return the instance of ZipInfo given 'name'."""
|
|
1644
|
+
info = self.NameToInfo.get(name)
|
|
1645
|
+
if info is None:
|
|
1646
|
+
raise KeyError(
|
|
1647
|
+
'There is no item named %r in the archive' % name)
|
|
1648
|
+
|
|
1649
|
+
return info
|
|
1650
|
+
|
|
1651
|
+
def setpassword(self, pwd):
|
|
1652
|
+
"""Set default password for encrypted files."""
|
|
1653
|
+
if pwd and not isinstance(pwd, bytes):
|
|
1654
|
+
raise TypeError("pwd: expected bytes, got %s" % type(pwd).__name__)
|
|
1655
|
+
if pwd:
|
|
1656
|
+
self.pwd = pwd
|
|
1657
|
+
else:
|
|
1658
|
+
self.pwd = None
|
|
1659
|
+
|
|
1660
|
+
@property
|
|
1661
|
+
def comment(self):
|
|
1662
|
+
"""The comment text associated with the ZIP file."""
|
|
1663
|
+
return self._comment
|
|
1664
|
+
|
|
1665
|
+
@comment.setter
|
|
1666
|
+
def comment(self, comment):
|
|
1667
|
+
if not isinstance(comment, bytes):
|
|
1668
|
+
raise TypeError("comment: expected bytes, got %s" % type(comment).__name__)
|
|
1669
|
+
# check for valid comment length
|
|
1670
|
+
if len(comment) > ZIP_MAX_COMMENT:
|
|
1671
|
+
import warnings
|
|
1672
|
+
warnings.warn('Archive comment is too long; truncating to %d bytes'
|
|
1673
|
+
% ZIP_MAX_COMMENT, stacklevel=2)
|
|
1674
|
+
comment = comment[:ZIP_MAX_COMMENT]
|
|
1675
|
+
self._comment = comment
|
|
1676
|
+
self._didModify = True
|
|
1677
|
+
|
|
1678
|
+
def read(self, name, pwd=None):
|
|
1679
|
+
"""Return file bytes for name. 'pwd' is the password to decrypt
|
|
1680
|
+
encrypted files."""
|
|
1681
|
+
with self.open(name, "r", pwd) as fp:
|
|
1682
|
+
return fp.read()
|
|
1683
|
+
|
|
1684
|
+
def open(self, name, mode="r", pwd=None, *, force_zip64=False):
|
|
1685
|
+
"""Return file-like object for 'name'.
|
|
1686
|
+
|
|
1687
|
+
name is a string for the file name within the ZIP file, or a ZipInfo
|
|
1688
|
+
object.
|
|
1689
|
+
|
|
1690
|
+
mode should be 'r' to read a file already in the ZIP file, or 'w' to
|
|
1691
|
+
write to a file newly added to the archive.
|
|
1692
|
+
|
|
1693
|
+
pwd is the password to decrypt files (only used for reading).
|
|
1694
|
+
|
|
1695
|
+
When writing, if the file size is not known in advance but may exceed
|
|
1696
|
+
2 GiB, pass force_zip64 to use the ZIP64 format, which can handle large
|
|
1697
|
+
files. If the size is known in advance, it is best to pass a ZipInfo
|
|
1698
|
+
instance for name, with zinfo.file_size set.
|
|
1699
|
+
"""
|
|
1700
|
+
if mode not in {"r", "w"}:
|
|
1701
|
+
raise ValueError('open() requires mode "r" or "w"')
|
|
1702
|
+
if pwd and (mode == "w"):
|
|
1703
|
+
raise ValueError("pwd is only supported for reading files")
|
|
1704
|
+
if not self.fp:
|
|
1705
|
+
raise ValueError(
|
|
1706
|
+
"Attempt to use ZIP archive that was already closed")
|
|
1707
|
+
|
|
1708
|
+
# Make sure we have an info object
|
|
1709
|
+
if isinstance(name, ZipInfo):
|
|
1710
|
+
# 'name' is already an info object
|
|
1711
|
+
zinfo = name
|
|
1712
|
+
elif mode == 'w':
|
|
1713
|
+
zinfo = ZipInfo(name)
|
|
1714
|
+
zinfo.compress_type = self.compression
|
|
1715
|
+
zinfo.compress_level = self.compresslevel
|
|
1716
|
+
else:
|
|
1717
|
+
# Get info object for name
|
|
1718
|
+
zinfo = self.getinfo(name)
|
|
1719
|
+
|
|
1720
|
+
if mode == 'w':
|
|
1721
|
+
return self._open_to_write(zinfo, force_zip64=force_zip64)
|
|
1722
|
+
|
|
1723
|
+
if self._writing:
|
|
1724
|
+
raise ValueError("Can't read from the ZIP file while there "
|
|
1725
|
+
"is an open writing handle on it. "
|
|
1726
|
+
"Close the writing handle before trying to read.")
|
|
1727
|
+
|
|
1728
|
+
# Open for reading:
|
|
1729
|
+
self._fileRefCnt += 1
|
|
1730
|
+
zef_file = _SharedFile(self.fp, zinfo.header_offset,
|
|
1731
|
+
self._fpclose, self._lock, lambda: self._writing)
|
|
1732
|
+
try:
|
|
1733
|
+
# Skip the file header:
|
|
1734
|
+
fheader = zef_file.read(sizeFileHeader)
|
|
1735
|
+
if len(fheader) != sizeFileHeader:
|
|
1736
|
+
raise BadZipFile("Truncated file header")
|
|
1737
|
+
fheader = struct.unpack(structFileHeader, fheader)
|
|
1738
|
+
if fheader[_FH_SIGNATURE] != stringFileHeader:
|
|
1739
|
+
raise BadZipFile("Bad magic number for file header")
|
|
1740
|
+
|
|
1741
|
+
fname = zef_file.read(fheader[_FH_FILENAME_LENGTH])
|
|
1742
|
+
if fheader[_FH_EXTRA_FIELD_LENGTH]:
|
|
1743
|
+
zef_file.seek(fheader[_FH_EXTRA_FIELD_LENGTH], whence=1)
|
|
1744
|
+
|
|
1745
|
+
if zinfo.flag_bits & _MASK_COMPRESSED_PATCH:
|
|
1746
|
+
# Zip 2.7: compressed patched data
|
|
1747
|
+
raise NotImplementedError("compressed patched data (flag bit 5)")
|
|
1748
|
+
|
|
1749
|
+
if zinfo.flag_bits & _MASK_STRONG_ENCRYPTION:
|
|
1750
|
+
# strong encryption
|
|
1751
|
+
raise NotImplementedError("strong encryption (flag bit 6)")
|
|
1752
|
+
|
|
1753
|
+
if fheader[_FH_GENERAL_PURPOSE_FLAG_BITS] & _MASK_UTF_FILENAME:
|
|
1754
|
+
# UTF-8 filename
|
|
1755
|
+
fname_str = fname.decode("utf-8")
|
|
1756
|
+
else:
|
|
1757
|
+
fname_str = fname.decode(self.metadata_encoding or "cp437")
|
|
1758
|
+
|
|
1759
|
+
if fname_str != zinfo.orig_filename:
|
|
1760
|
+
raise BadZipFile(
|
|
1761
|
+
'File name in directory %r and header %r differ.'
|
|
1762
|
+
% (zinfo.orig_filename, fname))
|
|
1763
|
+
|
|
1764
|
+
if (zinfo._end_offset is not None and
|
|
1765
|
+
zef_file.tell() + zinfo.compress_size > zinfo._end_offset):
|
|
1766
|
+
if zinfo._end_offset == zinfo.header_offset:
|
|
1767
|
+
import warnings
|
|
1768
|
+
warnings.warn(
|
|
1769
|
+
f"Overlapped entries: {zinfo.orig_filename!r} "
|
|
1770
|
+
f"(possible zip bomb)",
|
|
1771
|
+
skip_file_prefixes=(os.path.dirname(__file__),))
|
|
1772
|
+
else:
|
|
1773
|
+
raise BadZipFile(
|
|
1774
|
+
f"Overlapped entries: {zinfo.orig_filename!r} "
|
|
1775
|
+
f"(possible zip bomb)")
|
|
1776
|
+
|
|
1777
|
+
# check for encrypted flag & handle password
|
|
1778
|
+
is_encrypted = zinfo.flag_bits & _MASK_ENCRYPTED
|
|
1779
|
+
if is_encrypted:
|
|
1780
|
+
if not pwd:
|
|
1781
|
+
pwd = self.pwd
|
|
1782
|
+
if pwd and not isinstance(pwd, bytes):
|
|
1783
|
+
raise TypeError("pwd: expected bytes, got %s" % type(pwd).__name__)
|
|
1784
|
+
if not pwd:
|
|
1785
|
+
raise RuntimeError("File %r is encrypted, password "
|
|
1786
|
+
"required for extraction" % name)
|
|
1787
|
+
else:
|
|
1788
|
+
pwd = None
|
|
1789
|
+
|
|
1790
|
+
return ZipExtFile(zef_file, mode + 'b', zinfo, pwd, True)
|
|
1791
|
+
except:
|
|
1792
|
+
zef_file.close()
|
|
1793
|
+
raise
|
|
1794
|
+
|
|
1795
|
+
def _open_to_write(self, zinfo, force_zip64=False):
|
|
1796
|
+
if force_zip64 and not self._allowZip64:
|
|
1797
|
+
raise ValueError(
|
|
1798
|
+
"force_zip64 is True, but allowZip64 was False when opening "
|
|
1799
|
+
"the ZIP file."
|
|
1800
|
+
)
|
|
1801
|
+
if self._writing:
|
|
1802
|
+
raise ValueError("Can't write to the ZIP file while there is "
|
|
1803
|
+
"another write handle open on it. "
|
|
1804
|
+
"Close the first handle before opening another.")
|
|
1805
|
+
|
|
1806
|
+
# Size and CRC are overwritten with correct data after processing the file
|
|
1807
|
+
zinfo.compress_size = 0
|
|
1808
|
+
zinfo.CRC = 0
|
|
1809
|
+
|
|
1810
|
+
zinfo.flag_bits = 0x00
|
|
1811
|
+
if zinfo.compress_type == ZIP_LZMA:
|
|
1812
|
+
# Compressed data includes an end-of-stream (EOS) marker
|
|
1813
|
+
zinfo.flag_bits |= _MASK_COMPRESS_OPTION_1
|
|
1814
|
+
if not self._seekable:
|
|
1815
|
+
zinfo.flag_bits |= _MASK_USE_DATA_DESCRIPTOR
|
|
1816
|
+
|
|
1817
|
+
if not zinfo.external_attr:
|
|
1818
|
+
zinfo.external_attr = 0o600 << 16 # permissions: ?rw-------
|
|
1819
|
+
|
|
1820
|
+
# Compressed size can be larger than uncompressed size
|
|
1821
|
+
zip64 = force_zip64 or (zinfo.file_size * 1.05 > ZIP64_LIMIT)
|
|
1822
|
+
if not self._allowZip64 and zip64:
|
|
1823
|
+
raise LargeZipFile("Filesize would require ZIP64 extensions")
|
|
1824
|
+
|
|
1825
|
+
if self._seekable:
|
|
1826
|
+
self.fp.seek(self.start_dir)
|
|
1827
|
+
zinfo.header_offset = self.fp.tell()
|
|
1828
|
+
|
|
1829
|
+
self._writecheck(zinfo)
|
|
1830
|
+
self._didModify = True
|
|
1831
|
+
|
|
1832
|
+
self.fp.write(zinfo.FileHeader(zip64))
|
|
1833
|
+
|
|
1834
|
+
self._writing = True
|
|
1835
|
+
return _ZipWriteFile(self, zinfo, zip64)
|
|
1836
|
+
|
|
1837
|
+
def extract(self, member, path=None, pwd=None):
|
|
1838
|
+
"""Extract a member from the archive to the current working directory,
|
|
1839
|
+
using its full name. Its file information is extracted as accurately
|
|
1840
|
+
as possible. 'member' may be a filename or a ZipInfo object. You can
|
|
1841
|
+
specify a different directory using 'path'. You can specify the
|
|
1842
|
+
password to decrypt the file using 'pwd'.
|
|
1843
|
+
"""
|
|
1844
|
+
if path is None:
|
|
1845
|
+
path = os.getcwd()
|
|
1846
|
+
else:
|
|
1847
|
+
path = os.fspath(path)
|
|
1848
|
+
|
|
1849
|
+
return self._extract_member(member, path, pwd)
|
|
1850
|
+
|
|
1851
|
+
def extractall(self, path=None, members=None, pwd=None):
|
|
1852
|
+
"""Extract all members from the archive to the current working
|
|
1853
|
+
directory. 'path' specifies a different directory to extract to.
|
|
1854
|
+
'members' is optional and must be a subset of the list returned
|
|
1855
|
+
by namelist(). You can specify the password to decrypt all files
|
|
1856
|
+
using 'pwd'.
|
|
1857
|
+
"""
|
|
1858
|
+
if members is None:
|
|
1859
|
+
members = self.namelist()
|
|
1860
|
+
|
|
1861
|
+
if path is None:
|
|
1862
|
+
path = os.getcwd()
|
|
1863
|
+
else:
|
|
1864
|
+
path = os.fspath(path)
|
|
1865
|
+
|
|
1866
|
+
for zipinfo in members:
|
|
1867
|
+
self._extract_member(zipinfo, path, pwd)
|
|
1868
|
+
|
|
1869
|
+
@classmethod
|
|
1870
|
+
def _sanitize_windows_name(cls, arcname, pathsep):
|
|
1871
|
+
"""Replace bad characters and remove trailing dots from parts."""
|
|
1872
|
+
table = cls._windows_illegal_name_trans_table
|
|
1873
|
+
if not table:
|
|
1874
|
+
illegal = ':<>|"?*'
|
|
1875
|
+
table = str.maketrans(illegal, '_' * len(illegal))
|
|
1876
|
+
cls._windows_illegal_name_trans_table = table
|
|
1877
|
+
arcname = arcname.translate(table)
|
|
1878
|
+
# remove trailing dots and spaces
|
|
1879
|
+
arcname = (x.rstrip(' .') for x in arcname.split(pathsep))
|
|
1880
|
+
# rejoin, removing empty parts.
|
|
1881
|
+
arcname = pathsep.join(x for x in arcname if x)
|
|
1882
|
+
return arcname
|
|
1883
|
+
|
|
1884
|
+
def _extract_member(self, member, targetpath, pwd):
|
|
1885
|
+
"""Extract the ZipInfo object 'member' to a physical
|
|
1886
|
+
file on the path targetpath.
|
|
1887
|
+
"""
|
|
1888
|
+
if not isinstance(member, ZipInfo):
|
|
1889
|
+
member = self.getinfo(member)
|
|
1890
|
+
|
|
1891
|
+
# build the destination pathname, replacing
|
|
1892
|
+
# forward slashes to platform specific separators.
|
|
1893
|
+
arcname = member.filename.replace('/', os.path.sep)
|
|
1894
|
+
|
|
1895
|
+
if os.path.altsep:
|
|
1896
|
+
arcname = arcname.replace(os.path.altsep, os.path.sep)
|
|
1897
|
+
# interpret absolute pathname as relative, remove drive letter or
|
|
1898
|
+
# UNC path, redundant separators, "." and ".." components.
|
|
1899
|
+
arcname = os.path.splitdrive(arcname)[1]
|
|
1900
|
+
invalid_path_parts = ('', os.path.curdir, os.path.pardir)
|
|
1901
|
+
arcname = os.path.sep.join(x for x in arcname.split(os.path.sep)
|
|
1902
|
+
if x not in invalid_path_parts)
|
|
1903
|
+
if os.path.sep == '\\':
|
|
1904
|
+
# filter illegal characters on Windows
|
|
1905
|
+
arcname = self._sanitize_windows_name(arcname, os.path.sep)
|
|
1906
|
+
|
|
1907
|
+
if not arcname and not member.is_dir():
|
|
1908
|
+
raise ValueError("Empty filename.")
|
|
1909
|
+
|
|
1910
|
+
targetpath = os.path.join(targetpath, arcname)
|
|
1911
|
+
targetpath = os.path.normpath(targetpath)
|
|
1912
|
+
|
|
1913
|
+
# Create all upper directories if necessary.
|
|
1914
|
+
upperdirs = os.path.dirname(targetpath)
|
|
1915
|
+
if upperdirs and not os.path.exists(upperdirs):
|
|
1916
|
+
os.makedirs(upperdirs, exist_ok=True)
|
|
1917
|
+
|
|
1918
|
+
if member.is_dir():
|
|
1919
|
+
if not os.path.isdir(targetpath):
|
|
1920
|
+
try:
|
|
1921
|
+
os.mkdir(targetpath)
|
|
1922
|
+
except FileExistsError:
|
|
1923
|
+
if not os.path.isdir(targetpath):
|
|
1924
|
+
raise
|
|
1925
|
+
return targetpath
|
|
1926
|
+
|
|
1927
|
+
with self.open(member, pwd=pwd) as source, \
|
|
1928
|
+
open(targetpath, "wb") as target:
|
|
1929
|
+
shutil.copyfileobj(source, target)
|
|
1930
|
+
|
|
1931
|
+
return targetpath
|
|
1932
|
+
|
|
1933
|
+
def _writecheck(self, zinfo):
|
|
1934
|
+
"""Check for errors before writing a file to the archive."""
|
|
1935
|
+
if zinfo.filename in self.NameToInfo:
|
|
1936
|
+
import warnings
|
|
1937
|
+
warnings.warn('Duplicate name: %r' % zinfo.filename, stacklevel=3)
|
|
1938
|
+
if self.mode not in ('w', 'x', 'a'):
|
|
1939
|
+
raise ValueError("write() requires mode 'w', 'x', or 'a'")
|
|
1940
|
+
if not self.fp:
|
|
1941
|
+
raise ValueError(
|
|
1942
|
+
"Attempt to write ZIP archive that was already closed")
|
|
1943
|
+
_check_compression(zinfo.compress_type)
|
|
1944
|
+
if not self._allowZip64:
|
|
1945
|
+
requires_zip64 = None
|
|
1946
|
+
if len(self.filelist) >= ZIP_FILECOUNT_LIMIT:
|
|
1947
|
+
requires_zip64 = "Files count"
|
|
1948
|
+
elif zinfo.file_size > ZIP64_LIMIT:
|
|
1949
|
+
requires_zip64 = "Filesize"
|
|
1950
|
+
elif zinfo.header_offset > ZIP64_LIMIT:
|
|
1951
|
+
requires_zip64 = "Zipfile size"
|
|
1952
|
+
if requires_zip64:
|
|
1953
|
+
raise LargeZipFile(requires_zip64 +
|
|
1954
|
+
" would require ZIP64 extensions")
|
|
1955
|
+
|
|
1956
|
+
def write(self, filename, arcname=None,
|
|
1957
|
+
compress_type=None, compresslevel=None):
|
|
1958
|
+
"""Put the bytes from filename into the archive under the name
|
|
1959
|
+
arcname."""
|
|
1960
|
+
if not self.fp:
|
|
1961
|
+
raise ValueError(
|
|
1962
|
+
"Attempt to write to ZIP archive that was already closed")
|
|
1963
|
+
if self._writing:
|
|
1964
|
+
raise ValueError(
|
|
1965
|
+
"Can't write to ZIP archive while an open writing handle exists"
|
|
1966
|
+
)
|
|
1967
|
+
|
|
1968
|
+
zinfo = ZipInfo.from_file(filename, arcname,
|
|
1969
|
+
strict_timestamps=self._strict_timestamps)
|
|
1970
|
+
|
|
1971
|
+
if zinfo.is_dir():
|
|
1972
|
+
zinfo.compress_size = 0
|
|
1973
|
+
zinfo.CRC = 0
|
|
1974
|
+
self.mkdir(zinfo)
|
|
1975
|
+
else:
|
|
1976
|
+
if compress_type is not None:
|
|
1977
|
+
zinfo.compress_type = compress_type
|
|
1978
|
+
else:
|
|
1979
|
+
zinfo.compress_type = self.compression
|
|
1980
|
+
|
|
1981
|
+
if compresslevel is not None:
|
|
1982
|
+
zinfo.compress_level = compresslevel
|
|
1983
|
+
else:
|
|
1984
|
+
zinfo.compress_level = self.compresslevel
|
|
1985
|
+
|
|
1986
|
+
with open(filename, "rb") as src, self.open(zinfo, 'w') as dest:
|
|
1987
|
+
shutil.copyfileobj(src, dest, 1024*8)
|
|
1988
|
+
|
|
1989
|
+
def writestr(self, zinfo_or_arcname, data,
|
|
1990
|
+
compress_type=None, compresslevel=None):
|
|
1991
|
+
"""Write a file into the archive. The contents is 'data', which
|
|
1992
|
+
may be either a 'str' or a 'bytes' instance; if it is a 'str',
|
|
1993
|
+
it is encoded as UTF-8 first.
|
|
1994
|
+
'zinfo_or_arcname' is either a ZipInfo instance or
|
|
1995
|
+
the name of the file in the archive."""
|
|
1996
|
+
if isinstance(data, str):
|
|
1997
|
+
data = data.encode("utf-8")
|
|
1998
|
+
if isinstance(zinfo_or_arcname, ZipInfo):
|
|
1999
|
+
zinfo = zinfo_or_arcname
|
|
2000
|
+
else:
|
|
2001
|
+
zinfo = ZipInfo(zinfo_or_arcname)._for_archive(self)
|
|
2002
|
+
|
|
2003
|
+
if not self.fp:
|
|
2004
|
+
raise ValueError(
|
|
2005
|
+
"Attempt to write to ZIP archive that was already closed")
|
|
2006
|
+
if self._writing:
|
|
2007
|
+
raise ValueError(
|
|
2008
|
+
"Can't write to ZIP archive while an open writing handle exists."
|
|
2009
|
+
)
|
|
2010
|
+
|
|
2011
|
+
if compress_type is not None:
|
|
2012
|
+
zinfo.compress_type = compress_type
|
|
2013
|
+
|
|
2014
|
+
if compresslevel is not None:
|
|
2015
|
+
zinfo.compress_level = compresslevel
|
|
2016
|
+
|
|
2017
|
+
zinfo.file_size = len(data) # Uncompressed size
|
|
2018
|
+
with self._lock:
|
|
2019
|
+
with self.open(zinfo, mode='w') as dest:
|
|
2020
|
+
dest.write(data)
|
|
2021
|
+
|
|
2022
|
+
def mkdir(self, zinfo_or_directory_name, mode=511):
|
|
2023
|
+
"""Creates a directory inside the zip archive."""
|
|
2024
|
+
if isinstance(zinfo_or_directory_name, ZipInfo):
|
|
2025
|
+
zinfo = zinfo_or_directory_name
|
|
2026
|
+
if not zinfo.is_dir():
|
|
2027
|
+
raise ValueError("The given ZipInfo does not describe a directory")
|
|
2028
|
+
elif isinstance(zinfo_or_directory_name, str):
|
|
2029
|
+
directory_name = zinfo_or_directory_name
|
|
2030
|
+
if not directory_name.endswith("/"):
|
|
2031
|
+
directory_name += "/"
|
|
2032
|
+
zinfo = ZipInfo(directory_name)
|
|
2033
|
+
zinfo.compress_size = 0
|
|
2034
|
+
zinfo.CRC = 0
|
|
2035
|
+
zinfo.external_attr = ((0o40000 | mode) & 0xFFFF) << 16
|
|
2036
|
+
zinfo.file_size = 0
|
|
2037
|
+
zinfo.external_attr |= 0x10
|
|
2038
|
+
else:
|
|
2039
|
+
raise TypeError("Expected type str or ZipInfo")
|
|
2040
|
+
|
|
2041
|
+
with self._lock:
|
|
2042
|
+
if self._seekable:
|
|
2043
|
+
self.fp.seek(self.start_dir)
|
|
2044
|
+
zinfo.header_offset = self.fp.tell() # Start of header bytes
|
|
2045
|
+
if zinfo.compress_type == ZIP_LZMA:
|
|
2046
|
+
# Compressed data includes an end-of-stream (EOS) marker
|
|
2047
|
+
zinfo.flag_bits |= _MASK_COMPRESS_OPTION_1
|
|
2048
|
+
|
|
2049
|
+
self._writecheck(zinfo)
|
|
2050
|
+
self._didModify = True
|
|
2051
|
+
|
|
2052
|
+
self.filelist.append(zinfo)
|
|
2053
|
+
self.NameToInfo[zinfo.filename] = zinfo
|
|
2054
|
+
self.fp.write(zinfo.FileHeader(False))
|
|
2055
|
+
self.start_dir = self.fp.tell()
|
|
2056
|
+
|
|
2057
|
+
def __del__(self):
|
|
2058
|
+
"""Call the "close()" method in case the user forgot."""
|
|
2059
|
+
self.close()
|
|
2060
|
+
|
|
2061
|
+
def close(self):
|
|
2062
|
+
"""Close the file, and for mode 'w', 'x' and 'a' write the ending
|
|
2063
|
+
records."""
|
|
2064
|
+
if self.fp is None:
|
|
2065
|
+
return
|
|
2066
|
+
|
|
2067
|
+
if self._writing:
|
|
2068
|
+
raise ValueError("Can't close the ZIP file while there is "
|
|
2069
|
+
"an open writing handle on it. "
|
|
2070
|
+
"Close the writing handle before closing the zip.")
|
|
2071
|
+
|
|
2072
|
+
try:
|
|
2073
|
+
if self.mode in ('w', 'x', 'a') and self._didModify: # write ending records
|
|
2074
|
+
with self._lock:
|
|
2075
|
+
if self._seekable:
|
|
2076
|
+
self.fp.seek(self.start_dir)
|
|
2077
|
+
self._write_end_record()
|
|
2078
|
+
finally:
|
|
2079
|
+
fp = self.fp
|
|
2080
|
+
self.fp = None
|
|
2081
|
+
self._fpclose(fp)
|
|
2082
|
+
|
|
2083
|
+
def _write_end_record(self):
|
|
2084
|
+
for zinfo in self.filelist: # write central directory
|
|
2085
|
+
dt = zinfo.date_time
|
|
2086
|
+
dosdate = (dt[0] - 1980) << 9 | dt[1] << 5 | dt[2]
|
|
2087
|
+
dostime = dt[3] << 11 | dt[4] << 5 | (dt[5] // 2)
|
|
2088
|
+
extra = []
|
|
2089
|
+
if zinfo.file_size > ZIP64_LIMIT \
|
|
2090
|
+
or zinfo.compress_size > ZIP64_LIMIT:
|
|
2091
|
+
extra.append(zinfo.file_size)
|
|
2092
|
+
extra.append(zinfo.compress_size)
|
|
2093
|
+
file_size = 0xffffffff
|
|
2094
|
+
compress_size = 0xffffffff
|
|
2095
|
+
else:
|
|
2096
|
+
file_size = zinfo.file_size
|
|
2097
|
+
compress_size = zinfo.compress_size
|
|
2098
|
+
|
|
2099
|
+
if zinfo.header_offset > ZIP64_LIMIT:
|
|
2100
|
+
extra.append(zinfo.header_offset)
|
|
2101
|
+
header_offset = 0xffffffff
|
|
2102
|
+
else:
|
|
2103
|
+
header_offset = zinfo.header_offset
|
|
2104
|
+
|
|
2105
|
+
extra_data = zinfo.extra
|
|
2106
|
+
min_version = 0
|
|
2107
|
+
if extra:
|
|
2108
|
+
# Append a ZIP64 field to the extra's
|
|
2109
|
+
extra_data = _Extra.strip(extra_data, (1,))
|
|
2110
|
+
extra_data = struct.pack(
|
|
2111
|
+
'<HH' + 'Q'*len(extra),
|
|
2112
|
+
1, 8*len(extra), *extra) + extra_data
|
|
2113
|
+
|
|
2114
|
+
min_version = ZIP64_VERSION
|
|
2115
|
+
|
|
2116
|
+
if zinfo.compress_type == ZIP_BZIP2:
|
|
2117
|
+
min_version = max(BZIP2_VERSION, min_version)
|
|
2118
|
+
elif zinfo.compress_type == ZIP_LZMA:
|
|
2119
|
+
min_version = max(LZMA_VERSION, min_version)
|
|
2120
|
+
elif zinfo.compress_type == ZIP_ZSTANDARD:
|
|
2121
|
+
min_version = max(ZSTANDARD_VERSION, min_version)
|
|
2122
|
+
|
|
2123
|
+
extract_version = max(min_version, zinfo.extract_version)
|
|
2124
|
+
create_version = max(min_version, zinfo.create_version)
|
|
2125
|
+
filename, flag_bits = zinfo._encodeFilenameFlags()
|
|
2126
|
+
centdir = struct.pack(structCentralDir,
|
|
2127
|
+
stringCentralDir, create_version,
|
|
2128
|
+
zinfo.create_system, extract_version, zinfo.reserved,
|
|
2129
|
+
flag_bits, zinfo.compress_type, dostime, dosdate,
|
|
2130
|
+
zinfo.CRC, compress_size, file_size,
|
|
2131
|
+
len(filename), len(extra_data), len(zinfo.comment),
|
|
2132
|
+
0, zinfo.internal_attr, zinfo.external_attr,
|
|
2133
|
+
header_offset)
|
|
2134
|
+
self.fp.write(centdir)
|
|
2135
|
+
self.fp.write(filename)
|
|
2136
|
+
self.fp.write(extra_data)
|
|
2137
|
+
self.fp.write(zinfo.comment)
|
|
2138
|
+
|
|
2139
|
+
pos2 = self.fp.tell()
|
|
2140
|
+
# Write end-of-zip-archive record
|
|
2141
|
+
centDirCount = len(self.filelist)
|
|
2142
|
+
centDirSize = pos2 - self.start_dir
|
|
2143
|
+
centDirOffset = self.start_dir
|
|
2144
|
+
requires_zip64 = None
|
|
2145
|
+
if centDirCount > ZIP_FILECOUNT_LIMIT:
|
|
2146
|
+
requires_zip64 = "Files count"
|
|
2147
|
+
elif centDirOffset > ZIP64_LIMIT:
|
|
2148
|
+
requires_zip64 = "Central directory offset"
|
|
2149
|
+
elif centDirSize > ZIP64_LIMIT:
|
|
2150
|
+
requires_zip64 = "Central directory size"
|
|
2151
|
+
if requires_zip64:
|
|
2152
|
+
# Need to write the ZIP64 end-of-archive records
|
|
2153
|
+
if not self._allowZip64:
|
|
2154
|
+
raise LargeZipFile(requires_zip64 +
|
|
2155
|
+
" would require ZIP64 extensions")
|
|
2156
|
+
zip64endrec = struct.pack(
|
|
2157
|
+
structEndArchive64, stringEndArchive64,
|
|
2158
|
+
sizeEndCentDir64 - 12, 45, 45, 0, 0, centDirCount, centDirCount,
|
|
2159
|
+
centDirSize, centDirOffset)
|
|
2160
|
+
self.fp.write(zip64endrec)
|
|
2161
|
+
|
|
2162
|
+
zip64locrec = struct.pack(
|
|
2163
|
+
structEndArchive64Locator,
|
|
2164
|
+
stringEndArchive64Locator, 0, pos2, 1)
|
|
2165
|
+
self.fp.write(zip64locrec)
|
|
2166
|
+
centDirCount = min(centDirCount, 0xFFFF)
|
|
2167
|
+
centDirSize = min(centDirSize, 0xFFFFFFFF)
|
|
2168
|
+
centDirOffset = min(centDirOffset, 0xFFFFFFFF)
|
|
2169
|
+
|
|
2170
|
+
endrec = struct.pack(structEndArchive, stringEndArchive,
|
|
2171
|
+
0, 0, centDirCount, centDirCount,
|
|
2172
|
+
centDirSize, centDirOffset, len(self._comment))
|
|
2173
|
+
self.fp.write(endrec)
|
|
2174
|
+
self.fp.write(self._comment)
|
|
2175
|
+
if self.mode == "a":
|
|
2176
|
+
self.fp.truncate()
|
|
2177
|
+
self.fp.flush()
|
|
2178
|
+
|
|
2179
|
+
def _fpclose(self, fp):
|
|
2180
|
+
assert self._fileRefCnt > 0
|
|
2181
|
+
self._fileRefCnt -= 1
|
|
2182
|
+
if not self._fileRefCnt and not self._filePassed:
|
|
2183
|
+
fp.close()
|
|
2184
|
+
|
|
2185
|
+
|
|
2186
|
+
class PyZipFile(ZipFile):
|
|
2187
|
+
"""Class to create ZIP archives with Python library files and packages."""
|
|
2188
|
+
|
|
2189
|
+
def __init__(self, file, mode="r", compression=ZIP_STORED,
|
|
2190
|
+
allowZip64=True, optimize=-1):
|
|
2191
|
+
ZipFile.__init__(self, file, mode=mode, compression=compression,
|
|
2192
|
+
allowZip64=allowZip64)
|
|
2193
|
+
self._optimize = optimize
|
|
2194
|
+
|
|
2195
|
+
def writepy(self, pathname, basename="", filterfunc=None):
|
|
2196
|
+
"""Add all files from "pathname" to the ZIP archive.
|
|
2197
|
+
|
|
2198
|
+
If pathname is a package directory, search the directory and
|
|
2199
|
+
all package subdirectories recursively for all *.py and enter
|
|
2200
|
+
the modules into the archive. If pathname is a plain
|
|
2201
|
+
directory, listdir *.py and enter all modules. Else, pathname
|
|
2202
|
+
must be a Python *.py file and the module will be put into the
|
|
2203
|
+
archive. Added modules are always module.pyc.
|
|
2204
|
+
This method will compile the module.py into module.pyc if
|
|
2205
|
+
necessary.
|
|
2206
|
+
If filterfunc(pathname) is given, it is called with every argument.
|
|
2207
|
+
When it is False, the file or directory is skipped.
|
|
2208
|
+
"""
|
|
2209
|
+
pathname = os.fspath(pathname)
|
|
2210
|
+
if filterfunc and not filterfunc(pathname):
|
|
2211
|
+
if self.debug:
|
|
2212
|
+
label = 'path' if os.path.isdir(pathname) else 'file'
|
|
2213
|
+
print('%s %r skipped by filterfunc' % (label, pathname))
|
|
2214
|
+
return
|
|
2215
|
+
dir, name = os.path.split(pathname)
|
|
2216
|
+
if os.path.isdir(pathname):
|
|
2217
|
+
initname = os.path.join(pathname, "__init__.py")
|
|
2218
|
+
if os.path.isfile(initname):
|
|
2219
|
+
# This is a package directory, add it
|
|
2220
|
+
if basename:
|
|
2221
|
+
basename = "%s/%s" % (basename, name)
|
|
2222
|
+
else:
|
|
2223
|
+
basename = name
|
|
2224
|
+
if self.debug:
|
|
2225
|
+
print("Adding package in", pathname, "as", basename)
|
|
2226
|
+
fname, arcname = self._get_codename(initname[0:-3], basename)
|
|
2227
|
+
if self.debug:
|
|
2228
|
+
print("Adding", arcname)
|
|
2229
|
+
self.write(fname, arcname)
|
|
2230
|
+
dirlist = sorted(os.listdir(pathname))
|
|
2231
|
+
dirlist.remove("__init__.py")
|
|
2232
|
+
# Add all *.py files and package subdirectories
|
|
2233
|
+
for filename in dirlist:
|
|
2234
|
+
path = os.path.join(pathname, filename)
|
|
2235
|
+
root, ext = os.path.splitext(filename)
|
|
2236
|
+
if os.path.isdir(path):
|
|
2237
|
+
if os.path.isfile(os.path.join(path, "__init__.py")):
|
|
2238
|
+
# This is a package directory, add it
|
|
2239
|
+
self.writepy(path, basename,
|
|
2240
|
+
filterfunc=filterfunc) # Recursive call
|
|
2241
|
+
elif ext == ".py":
|
|
2242
|
+
if filterfunc and not filterfunc(path):
|
|
2243
|
+
if self.debug:
|
|
2244
|
+
print('file %r skipped by filterfunc' % path)
|
|
2245
|
+
continue
|
|
2246
|
+
fname, arcname = self._get_codename(path[0:-3],
|
|
2247
|
+
basename)
|
|
2248
|
+
if self.debug:
|
|
2249
|
+
print("Adding", arcname)
|
|
2250
|
+
self.write(fname, arcname)
|
|
2251
|
+
else:
|
|
2252
|
+
# This is NOT a package directory, add its files at top level
|
|
2253
|
+
if self.debug:
|
|
2254
|
+
print("Adding files from directory", pathname)
|
|
2255
|
+
for filename in sorted(os.listdir(pathname)):
|
|
2256
|
+
path = os.path.join(pathname, filename)
|
|
2257
|
+
root, ext = os.path.splitext(filename)
|
|
2258
|
+
if ext == ".py":
|
|
2259
|
+
if filterfunc and not filterfunc(path):
|
|
2260
|
+
if self.debug:
|
|
2261
|
+
print('file %r skipped by filterfunc' % path)
|
|
2262
|
+
continue
|
|
2263
|
+
fname, arcname = self._get_codename(path[0:-3],
|
|
2264
|
+
basename)
|
|
2265
|
+
if self.debug:
|
|
2266
|
+
print("Adding", arcname)
|
|
2267
|
+
self.write(fname, arcname)
|
|
2268
|
+
else:
|
|
2269
|
+
if pathname[-3:] != ".py":
|
|
2270
|
+
raise RuntimeError(
|
|
2271
|
+
'Files added with writepy() must end with ".py"')
|
|
2272
|
+
fname, arcname = self._get_codename(pathname[0:-3], basename)
|
|
2273
|
+
if self.debug:
|
|
2274
|
+
print("Adding file", arcname)
|
|
2275
|
+
self.write(fname, arcname)
|
|
2276
|
+
|
|
2277
|
+
def _get_codename(self, pathname, basename):
|
|
2278
|
+
"""Return (filename, archivename) for the path.
|
|
2279
|
+
|
|
2280
|
+
Given a module name path, return the correct file path and
|
|
2281
|
+
archive name, compiling if necessary. For example, given
|
|
2282
|
+
/python/lib/string, return (/python/lib/string.pyc, string).
|
|
2283
|
+
"""
|
|
2284
|
+
def _compile(file, optimize=-1):
|
|
2285
|
+
import py_compile
|
|
2286
|
+
if self.debug:
|
|
2287
|
+
print("Compiling", file)
|
|
2288
|
+
try:
|
|
2289
|
+
py_compile.compile(file, doraise=True, optimize=optimize)
|
|
2290
|
+
except py_compile.PyCompileError as err:
|
|
2291
|
+
print(err.msg)
|
|
2292
|
+
return False
|
|
2293
|
+
return True
|
|
2294
|
+
|
|
2295
|
+
file_py = pathname + ".py"
|
|
2296
|
+
file_pyc = pathname + ".pyc"
|
|
2297
|
+
pycache_opt0 = importlib.util.cache_from_source(file_py, optimization='')
|
|
2298
|
+
pycache_opt1 = importlib.util.cache_from_source(file_py, optimization=1)
|
|
2299
|
+
pycache_opt2 = importlib.util.cache_from_source(file_py, optimization=2)
|
|
2300
|
+
if self._optimize == -1:
|
|
2301
|
+
# legacy mode: use whatever file is present
|
|
2302
|
+
if (os.path.isfile(file_pyc) and
|
|
2303
|
+
os.stat(file_pyc).st_mtime >= os.stat(file_py).st_mtime):
|
|
2304
|
+
# Use .pyc file.
|
|
2305
|
+
arcname = fname = file_pyc
|
|
2306
|
+
elif (os.path.isfile(pycache_opt0) and
|
|
2307
|
+
os.stat(pycache_opt0).st_mtime >= os.stat(file_py).st_mtime):
|
|
2308
|
+
# Use the __pycache__/*.pyc file, but write it to the legacy pyc
|
|
2309
|
+
# file name in the archive.
|
|
2310
|
+
fname = pycache_opt0
|
|
2311
|
+
arcname = file_pyc
|
|
2312
|
+
elif (os.path.isfile(pycache_opt1) and
|
|
2313
|
+
os.stat(pycache_opt1).st_mtime >= os.stat(file_py).st_mtime):
|
|
2314
|
+
# Use the __pycache__/*.pyc file, but write it to the legacy pyc
|
|
2315
|
+
# file name in the archive.
|
|
2316
|
+
fname = pycache_opt1
|
|
2317
|
+
arcname = file_pyc
|
|
2318
|
+
elif (os.path.isfile(pycache_opt2) and
|
|
2319
|
+
os.stat(pycache_opt2).st_mtime >= os.stat(file_py).st_mtime):
|
|
2320
|
+
# Use the __pycache__/*.pyc file, but write it to the legacy pyc
|
|
2321
|
+
# file name in the archive.
|
|
2322
|
+
fname = pycache_opt2
|
|
2323
|
+
arcname = file_pyc
|
|
2324
|
+
else:
|
|
2325
|
+
# Compile py into PEP 3147 pyc file.
|
|
2326
|
+
if _compile(file_py):
|
|
2327
|
+
if sys.flags.optimize == 0:
|
|
2328
|
+
fname = pycache_opt0
|
|
2329
|
+
elif sys.flags.optimize == 1:
|
|
2330
|
+
fname = pycache_opt1
|
|
2331
|
+
else:
|
|
2332
|
+
fname = pycache_opt2
|
|
2333
|
+
arcname = file_pyc
|
|
2334
|
+
else:
|
|
2335
|
+
fname = arcname = file_py
|
|
2336
|
+
else:
|
|
2337
|
+
# new mode: use given optimization level
|
|
2338
|
+
if self._optimize == 0:
|
|
2339
|
+
fname = pycache_opt0
|
|
2340
|
+
arcname = file_pyc
|
|
2341
|
+
else:
|
|
2342
|
+
arcname = file_pyc
|
|
2343
|
+
if self._optimize == 1:
|
|
2344
|
+
fname = pycache_opt1
|
|
2345
|
+
elif self._optimize == 2:
|
|
2346
|
+
fname = pycache_opt2
|
|
2347
|
+
else:
|
|
2348
|
+
msg = "invalid value for 'optimize': {!r}".format(self._optimize)
|
|
2349
|
+
raise ValueError(msg)
|
|
2350
|
+
if not (os.path.isfile(fname) and
|
|
2351
|
+
os.stat(fname).st_mtime >= os.stat(file_py).st_mtime):
|
|
2352
|
+
if not _compile(file_py, optimize=self._optimize):
|
|
2353
|
+
fname = arcname = file_py
|
|
2354
|
+
archivename = os.path.split(arcname)[1]
|
|
2355
|
+
if basename:
|
|
2356
|
+
archivename = "%s/%s" % (basename, archivename)
|
|
2357
|
+
return (fname, archivename)
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
def main(args=None):
|
|
2361
|
+
import argparse
|
|
2362
|
+
|
|
2363
|
+
description = 'A simple command-line interface for zipfile module.'
|
|
2364
|
+
parser = argparse.ArgumentParser(description=description, color=True)
|
|
2365
|
+
group = parser.add_mutually_exclusive_group(required=True)
|
|
2366
|
+
group.add_argument('-l', '--list', metavar='<zipfile>',
|
|
2367
|
+
help='Show listing of a zipfile')
|
|
2368
|
+
group.add_argument('-e', '--extract', nargs=2,
|
|
2369
|
+
metavar=('<zipfile>', '<output_dir>'),
|
|
2370
|
+
help='Extract zipfile into target dir')
|
|
2371
|
+
group.add_argument('-c', '--create', nargs='+',
|
|
2372
|
+
metavar=('<name>', '<file>'),
|
|
2373
|
+
help='Create zipfile from sources')
|
|
2374
|
+
group.add_argument('-t', '--test', metavar='<zipfile>',
|
|
2375
|
+
help='Test if a zipfile is valid')
|
|
2376
|
+
parser.add_argument('--metadata-encoding', metavar='<encoding>',
|
|
2377
|
+
help='Specify encoding of member names for -l, -e and -t')
|
|
2378
|
+
args = parser.parse_args(args)
|
|
2379
|
+
|
|
2380
|
+
encoding = args.metadata_encoding
|
|
2381
|
+
|
|
2382
|
+
if args.test is not None:
|
|
2383
|
+
src = args.test
|
|
2384
|
+
with ZipFile(src, 'r', metadata_encoding=encoding) as zf:
|
|
2385
|
+
badfile = zf.testzip()
|
|
2386
|
+
if badfile:
|
|
2387
|
+
print("The following enclosed file is corrupted: {!r}".format(badfile))
|
|
2388
|
+
print("Done testing")
|
|
2389
|
+
|
|
2390
|
+
elif args.list is not None:
|
|
2391
|
+
src = args.list
|
|
2392
|
+
with ZipFile(src, 'r', metadata_encoding=encoding) as zf:
|
|
2393
|
+
zf.printdir()
|
|
2394
|
+
|
|
2395
|
+
elif args.extract is not None:
|
|
2396
|
+
src, curdir = args.extract
|
|
2397
|
+
with ZipFile(src, 'r', metadata_encoding=encoding) as zf:
|
|
2398
|
+
zf.extractall(curdir)
|
|
2399
|
+
|
|
2400
|
+
elif args.create is not None:
|
|
2401
|
+
if encoding:
|
|
2402
|
+
print("Non-conforming encodings not supported with -c.",
|
|
2403
|
+
file=sys.stderr)
|
|
2404
|
+
sys.exit(1)
|
|
2405
|
+
|
|
2406
|
+
zip_name = args.create.pop(0)
|
|
2407
|
+
files = args.create
|
|
2408
|
+
|
|
2409
|
+
def addToZip(zf, path, zippath):
|
|
2410
|
+
if os.path.isfile(path):
|
|
2411
|
+
zf.write(path, zippath, ZIP_DEFLATED)
|
|
2412
|
+
elif os.path.isdir(path):
|
|
2413
|
+
if zippath:
|
|
2414
|
+
zf.write(path, zippath)
|
|
2415
|
+
for nm in sorted(os.listdir(path)):
|
|
2416
|
+
addToZip(zf,
|
|
2417
|
+
os.path.join(path, nm), os.path.join(zippath, nm))
|
|
2418
|
+
# else: ignore
|
|
2419
|
+
|
|
2420
|
+
with ZipFile(zip_name, 'w') as zf:
|
|
2421
|
+
for path in files:
|
|
2422
|
+
zippath = os.path.basename(path)
|
|
2423
|
+
if not zippath:
|
|
2424
|
+
zippath = os.path.basename(os.path.dirname(path))
|
|
2425
|
+
if zippath in ('', os.curdir, os.pardir):
|
|
2426
|
+
zippath = ''
|
|
2427
|
+
addToZip(zf, path, zippath)
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
from ._path import ( # noqa: E402
|
|
2431
|
+
Path,
|
|
2432
|
+
|
|
2433
|
+
# used privately for tests
|
|
2434
|
+
CompleteDirs, # noqa: F401
|
|
2435
|
+
)
|