@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,2167 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import builtins as bltns
|
|
3
|
+
from types import MappingProxyType, DynamicClassAttribute
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
'EnumType', 'EnumMeta', 'EnumDict',
|
|
8
|
+
'Enum', 'IntEnum', 'StrEnum', 'Flag', 'IntFlag', 'ReprEnum',
|
|
9
|
+
'auto', 'unique', 'property', 'verify', 'member', 'nonmember',
|
|
10
|
+
'FlagBoundary', 'STRICT', 'CONFORM', 'EJECT', 'KEEP',
|
|
11
|
+
'global_flag_repr', 'global_enum_repr', 'global_str', 'global_enum',
|
|
12
|
+
'EnumCheck', 'CONTINUOUS', 'NAMED_FLAGS', 'UNIQUE',
|
|
13
|
+
'pickle_by_global_name', 'pickle_by_enum_name',
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# Dummy value for Enum and Flag as there are explicit checks for them
|
|
18
|
+
# before they have been created.
|
|
19
|
+
# This is also why there are checks in EnumType like `if Enum is not None`
|
|
20
|
+
Enum = Flag = EJECT = _stdlib_enums = ReprEnum = None
|
|
21
|
+
|
|
22
|
+
class nonmember(object):
|
|
23
|
+
"""
|
|
24
|
+
Protects item from becoming an Enum member during class creation.
|
|
25
|
+
"""
|
|
26
|
+
def __init__(self, value):
|
|
27
|
+
self.value = value
|
|
28
|
+
|
|
29
|
+
class member(object):
|
|
30
|
+
"""
|
|
31
|
+
Forces item to become an Enum member during class creation.
|
|
32
|
+
"""
|
|
33
|
+
def __init__(self, value):
|
|
34
|
+
self.value = value
|
|
35
|
+
|
|
36
|
+
def _is_descriptor(obj):
|
|
37
|
+
"""
|
|
38
|
+
Returns True if obj is a descriptor, False otherwise.
|
|
39
|
+
"""
|
|
40
|
+
return (
|
|
41
|
+
hasattr(obj, '__get__') or
|
|
42
|
+
hasattr(obj, '__set__') or
|
|
43
|
+
hasattr(obj, '__delete__')
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
def _is_dunder(name):
|
|
47
|
+
"""
|
|
48
|
+
Returns True if a __dunder__ name, False otherwise.
|
|
49
|
+
"""
|
|
50
|
+
return (
|
|
51
|
+
len(name) > 4 and
|
|
52
|
+
name[:2] == name[-2:] == '__' and
|
|
53
|
+
name[2] != '_' and
|
|
54
|
+
name[-3] != '_'
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
def _is_sunder(name):
|
|
58
|
+
"""
|
|
59
|
+
Returns True if a _sunder_ name, False otherwise.
|
|
60
|
+
"""
|
|
61
|
+
return (
|
|
62
|
+
len(name) > 2 and
|
|
63
|
+
name[0] == name[-1] == '_' and
|
|
64
|
+
name[1] != '_' and
|
|
65
|
+
name[-2] != '_'
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
def _is_internal_class(cls_name, obj):
|
|
69
|
+
# do not use `re` as `re` imports `enum`
|
|
70
|
+
if not isinstance(obj, type):
|
|
71
|
+
return False
|
|
72
|
+
qualname = getattr(obj, '__qualname__', '')
|
|
73
|
+
s_pattern = cls_name + '.' + getattr(obj, '__name__', '')
|
|
74
|
+
e_pattern = '.' + s_pattern
|
|
75
|
+
return qualname == s_pattern or qualname.endswith(e_pattern)
|
|
76
|
+
|
|
77
|
+
def _is_private(cls_name, name):
|
|
78
|
+
# do not use `re` as `re` imports `enum`
|
|
79
|
+
pattern = '_%s__' % (cls_name, )
|
|
80
|
+
pat_len = len(pattern)
|
|
81
|
+
if (
|
|
82
|
+
len(name) > pat_len
|
|
83
|
+
and name.startswith(pattern)
|
|
84
|
+
and (name[-1] != '_' or name[-2] != '_')
|
|
85
|
+
):
|
|
86
|
+
return True
|
|
87
|
+
else:
|
|
88
|
+
return False
|
|
89
|
+
|
|
90
|
+
def _is_single_bit(num):
|
|
91
|
+
"""
|
|
92
|
+
True if only one bit set in num (should be an int)
|
|
93
|
+
"""
|
|
94
|
+
if num == 0:
|
|
95
|
+
return False
|
|
96
|
+
num &= num - 1
|
|
97
|
+
return num == 0
|
|
98
|
+
|
|
99
|
+
def _make_class_unpicklable(obj):
|
|
100
|
+
"""
|
|
101
|
+
Make the given obj un-picklable.
|
|
102
|
+
|
|
103
|
+
obj should be either a dictionary, or an Enum
|
|
104
|
+
"""
|
|
105
|
+
def _break_on_call_reduce(self, proto):
|
|
106
|
+
raise TypeError('%r cannot be pickled' % self)
|
|
107
|
+
if isinstance(obj, dict):
|
|
108
|
+
obj['__reduce_ex__'] = _break_on_call_reduce
|
|
109
|
+
obj['__module__'] = '<unknown>'
|
|
110
|
+
else:
|
|
111
|
+
setattr(obj, '__reduce_ex__', _break_on_call_reduce)
|
|
112
|
+
setattr(obj, '__module__', '<unknown>')
|
|
113
|
+
|
|
114
|
+
def _iter_bits_lsb(num):
|
|
115
|
+
# num must be a positive integer
|
|
116
|
+
original = num
|
|
117
|
+
if isinstance(num, Enum):
|
|
118
|
+
num = num.value
|
|
119
|
+
if num < 0:
|
|
120
|
+
raise ValueError('%r is not a positive integer' % original)
|
|
121
|
+
while num:
|
|
122
|
+
b = num & (~num + 1)
|
|
123
|
+
yield b
|
|
124
|
+
num ^= b
|
|
125
|
+
|
|
126
|
+
def show_flag_values(value):
|
|
127
|
+
return list(_iter_bits_lsb(value))
|
|
128
|
+
|
|
129
|
+
def bin(num, max_bits=None):
|
|
130
|
+
"""
|
|
131
|
+
Like built-in bin(), except negative values are represented in
|
|
132
|
+
twos-compliment, and the leading bit always indicates sign
|
|
133
|
+
(0=positive, 1=negative).
|
|
134
|
+
|
|
135
|
+
>>> bin(10)
|
|
136
|
+
'0b0 1010'
|
|
137
|
+
>>> bin(~10) # ~10 is -11
|
|
138
|
+
'0b1 0101'
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
ceiling = 2 ** (num).bit_length()
|
|
142
|
+
if num >= 0:
|
|
143
|
+
s = bltns.bin(num + ceiling).replace('1', '0', 1)
|
|
144
|
+
else:
|
|
145
|
+
s = bltns.bin(~num ^ (ceiling - 1) + ceiling)
|
|
146
|
+
sign = s[:3]
|
|
147
|
+
digits = s[3:]
|
|
148
|
+
if max_bits is not None:
|
|
149
|
+
if len(digits) < max_bits:
|
|
150
|
+
digits = (sign[-1] * max_bits + digits)[-max_bits:]
|
|
151
|
+
return "%s %s" % (sign, digits)
|
|
152
|
+
|
|
153
|
+
class _not_given:
|
|
154
|
+
def __repr__(self):
|
|
155
|
+
return('<not given>')
|
|
156
|
+
_not_given = _not_given()
|
|
157
|
+
|
|
158
|
+
class _auto_null:
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
return '_auto_null'
|
|
161
|
+
_auto_null = _auto_null()
|
|
162
|
+
|
|
163
|
+
class auto:
|
|
164
|
+
"""
|
|
165
|
+
Instances are replaced with an appropriate value in Enum class suites.
|
|
166
|
+
"""
|
|
167
|
+
def __init__(self, value=_auto_null):
|
|
168
|
+
self.value = value
|
|
169
|
+
|
|
170
|
+
def __repr__(self):
|
|
171
|
+
return "auto(%r)" % self.value
|
|
172
|
+
|
|
173
|
+
class property(DynamicClassAttribute):
|
|
174
|
+
"""
|
|
175
|
+
This is a descriptor, used to define attributes that act differently
|
|
176
|
+
when accessed through an enum member and through an enum class.
|
|
177
|
+
Instance access is the same as property(), but access to an attribute
|
|
178
|
+
through the enum class will instead look in the class' _member_map_ for
|
|
179
|
+
a corresponding enum member.
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
member = None
|
|
183
|
+
_attr_type = None
|
|
184
|
+
_cls_type = None
|
|
185
|
+
|
|
186
|
+
def __get__(self, instance, ownerclass=None):
|
|
187
|
+
if instance is None:
|
|
188
|
+
if self.member is not None:
|
|
189
|
+
return self.member
|
|
190
|
+
else:
|
|
191
|
+
raise AttributeError(
|
|
192
|
+
'%r has no attribute %r' % (ownerclass, self.name)
|
|
193
|
+
)
|
|
194
|
+
if self.fget is not None:
|
|
195
|
+
# use previous enum.property
|
|
196
|
+
return self.fget(instance)
|
|
197
|
+
elif self._attr_type == 'attr':
|
|
198
|
+
# look up previous attribute
|
|
199
|
+
return getattr(self._cls_type, self.name)
|
|
200
|
+
elif self._attr_type == 'desc':
|
|
201
|
+
# use previous descriptor
|
|
202
|
+
return getattr(instance._value_, self.name)
|
|
203
|
+
# look for a member by this name.
|
|
204
|
+
try:
|
|
205
|
+
return ownerclass._member_map_[self.name]
|
|
206
|
+
except KeyError:
|
|
207
|
+
raise AttributeError(
|
|
208
|
+
'%r has no attribute %r' % (ownerclass, self.name)
|
|
209
|
+
) from None
|
|
210
|
+
|
|
211
|
+
def __set__(self, instance, value):
|
|
212
|
+
if self.fset is not None:
|
|
213
|
+
return self.fset(instance, value)
|
|
214
|
+
raise AttributeError(
|
|
215
|
+
"<enum %r> cannot set attribute %r" % (self.clsname, self.name)
|
|
216
|
+
)
|
|
217
|
+
|
|
218
|
+
def __delete__(self, instance):
|
|
219
|
+
if self.fdel is not None:
|
|
220
|
+
return self.fdel(instance)
|
|
221
|
+
raise AttributeError(
|
|
222
|
+
"<enum %r> cannot delete attribute %r" % (self.clsname, self.name)
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
def __set_name__(self, ownerclass, name):
|
|
226
|
+
self.name = name
|
|
227
|
+
self.clsname = ownerclass.__name__
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
class _proto_member:
|
|
231
|
+
"""
|
|
232
|
+
intermediate step for enum members between class execution and final creation
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
def __init__(self, value):
|
|
236
|
+
self.value = value
|
|
237
|
+
|
|
238
|
+
def __set_name__(self, enum_class, member_name):
|
|
239
|
+
"""
|
|
240
|
+
convert each quasi-member into an instance of the new enum class
|
|
241
|
+
"""
|
|
242
|
+
# first step: remove ourself from enum_class
|
|
243
|
+
delattr(enum_class, member_name)
|
|
244
|
+
# second step: create member based on enum_class
|
|
245
|
+
value = self.value
|
|
246
|
+
if not isinstance(value, tuple):
|
|
247
|
+
args = (value, )
|
|
248
|
+
else:
|
|
249
|
+
args = value
|
|
250
|
+
if enum_class._member_type_ is tuple: # special case for tuple enums
|
|
251
|
+
args = (args, ) # wrap it one more time
|
|
252
|
+
if not enum_class._use_args_:
|
|
253
|
+
enum_member = enum_class._new_member_(enum_class)
|
|
254
|
+
else:
|
|
255
|
+
enum_member = enum_class._new_member_(enum_class, *args)
|
|
256
|
+
if not hasattr(enum_member, '_value_'):
|
|
257
|
+
if enum_class._member_type_ is object:
|
|
258
|
+
enum_member._value_ = value
|
|
259
|
+
else:
|
|
260
|
+
try:
|
|
261
|
+
enum_member._value_ = enum_class._member_type_(*args)
|
|
262
|
+
except Exception as exc:
|
|
263
|
+
new_exc = TypeError(
|
|
264
|
+
'_value_ not set in __new__, unable to create it'
|
|
265
|
+
)
|
|
266
|
+
new_exc.__cause__ = exc
|
|
267
|
+
raise new_exc
|
|
268
|
+
value = enum_member._value_
|
|
269
|
+
enum_member._name_ = member_name
|
|
270
|
+
enum_member.__objclass__ = enum_class
|
|
271
|
+
enum_member.__init__(*args)
|
|
272
|
+
enum_member._sort_order_ = len(enum_class._member_names_)
|
|
273
|
+
|
|
274
|
+
if Flag is not None and issubclass(enum_class, Flag):
|
|
275
|
+
if isinstance(value, int):
|
|
276
|
+
enum_class._flag_mask_ |= value
|
|
277
|
+
if _is_single_bit(value):
|
|
278
|
+
enum_class._singles_mask_ |= value
|
|
279
|
+
enum_class._all_bits_ = 2 ** ((enum_class._flag_mask_).bit_length()) - 1
|
|
280
|
+
|
|
281
|
+
# If another member with the same value was already defined, the
|
|
282
|
+
# new member becomes an alias to the existing one.
|
|
283
|
+
try:
|
|
284
|
+
try:
|
|
285
|
+
# try to do a fast lookup to avoid the quadratic loop
|
|
286
|
+
enum_member = enum_class._value2member_map_[value]
|
|
287
|
+
except TypeError:
|
|
288
|
+
for name, canonical_member in enum_class._member_map_.items():
|
|
289
|
+
if canonical_member._value_ == value:
|
|
290
|
+
enum_member = canonical_member
|
|
291
|
+
break
|
|
292
|
+
else:
|
|
293
|
+
raise KeyError
|
|
294
|
+
except KeyError:
|
|
295
|
+
# this could still be an alias if the value is multi-bit and the
|
|
296
|
+
# class is a flag class
|
|
297
|
+
if (
|
|
298
|
+
Flag is None
|
|
299
|
+
or not issubclass(enum_class, Flag)
|
|
300
|
+
):
|
|
301
|
+
# no other instances found, record this member in _member_names_
|
|
302
|
+
enum_class._member_names_.append(member_name)
|
|
303
|
+
elif (
|
|
304
|
+
Flag is not None
|
|
305
|
+
and issubclass(enum_class, Flag)
|
|
306
|
+
and isinstance(value, int)
|
|
307
|
+
and _is_single_bit(value)
|
|
308
|
+
):
|
|
309
|
+
# no other instances found, record this member in _member_names_
|
|
310
|
+
enum_class._member_names_.append(member_name)
|
|
311
|
+
|
|
312
|
+
enum_class._add_member_(member_name, enum_member)
|
|
313
|
+
try:
|
|
314
|
+
# This may fail if value is not hashable. We can't add the value
|
|
315
|
+
# to the map, and by-value lookups for this value will be
|
|
316
|
+
# linear.
|
|
317
|
+
enum_class._value2member_map_.setdefault(value, enum_member)
|
|
318
|
+
if value not in enum_class._hashable_values_:
|
|
319
|
+
enum_class._hashable_values_.append(value)
|
|
320
|
+
except TypeError:
|
|
321
|
+
# keep track of the value in a list so containment checks are quick
|
|
322
|
+
enum_class._unhashable_values_.append(value)
|
|
323
|
+
enum_class._unhashable_values_map_.setdefault(member_name, []).append(value)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
class EnumDict(dict):
|
|
327
|
+
"""
|
|
328
|
+
Track enum member order and ensure member names are not reused.
|
|
329
|
+
|
|
330
|
+
EnumType will use the names found in self._member_names as the
|
|
331
|
+
enumeration member names.
|
|
332
|
+
"""
|
|
333
|
+
def __init__(self, cls_name=None):
|
|
334
|
+
super().__init__()
|
|
335
|
+
self._member_names = {} # use a dict -- faster look-up than a list, and keeps insertion order since 3.7
|
|
336
|
+
self._last_values = []
|
|
337
|
+
self._ignore = []
|
|
338
|
+
self._auto_called = False
|
|
339
|
+
self._cls_name = cls_name
|
|
340
|
+
|
|
341
|
+
def __setitem__(self, key, value):
|
|
342
|
+
"""
|
|
343
|
+
Changes anything not dundered or not a descriptor.
|
|
344
|
+
|
|
345
|
+
If an enum member name is used twice, an error is raised; duplicate
|
|
346
|
+
values are not checked for.
|
|
347
|
+
|
|
348
|
+
Single underscore (sunder) names are reserved.
|
|
349
|
+
"""
|
|
350
|
+
if self._cls_name is not None and _is_private(self._cls_name, key):
|
|
351
|
+
# do nothing, name will be a normal attribute
|
|
352
|
+
pass
|
|
353
|
+
elif _is_sunder(key):
|
|
354
|
+
if key not in (
|
|
355
|
+
'_order_',
|
|
356
|
+
'_generate_next_value_', '_numeric_repr_', '_missing_', '_ignore_',
|
|
357
|
+
'_iter_member_', '_iter_member_by_value_', '_iter_member_by_def_',
|
|
358
|
+
'_add_alias_', '_add_value_alias_',
|
|
359
|
+
# While not in use internally, those are common for pretty
|
|
360
|
+
# printing and thus excluded from Enum's reservation of
|
|
361
|
+
# _sunder_ names
|
|
362
|
+
) and not key.startswith('_repr_'):
|
|
363
|
+
raise ValueError(
|
|
364
|
+
'_sunder_ names, such as %r, are reserved for future Enum use'
|
|
365
|
+
% (key, )
|
|
366
|
+
)
|
|
367
|
+
if key == '_generate_next_value_':
|
|
368
|
+
# check if members already defined as auto()
|
|
369
|
+
if self._auto_called:
|
|
370
|
+
raise TypeError("_generate_next_value_ must be defined before members")
|
|
371
|
+
_gnv = value.__func__ if isinstance(value, staticmethod) else value
|
|
372
|
+
setattr(self, '_generate_next_value', _gnv)
|
|
373
|
+
elif key == '_ignore_':
|
|
374
|
+
if isinstance(value, str):
|
|
375
|
+
value = value.replace(',',' ').split()
|
|
376
|
+
else:
|
|
377
|
+
value = list(value)
|
|
378
|
+
self._ignore = value
|
|
379
|
+
already = set(value) & set(self._member_names)
|
|
380
|
+
if already:
|
|
381
|
+
raise ValueError(
|
|
382
|
+
'_ignore_ cannot specify already set names: %r'
|
|
383
|
+
% (already, )
|
|
384
|
+
)
|
|
385
|
+
elif _is_dunder(key):
|
|
386
|
+
if key == '__order__':
|
|
387
|
+
key = '_order_'
|
|
388
|
+
elif key in self._member_names:
|
|
389
|
+
# descriptor overwriting an enum?
|
|
390
|
+
raise TypeError('%r already defined as %r' % (key, self[key]))
|
|
391
|
+
elif key in self._ignore:
|
|
392
|
+
pass
|
|
393
|
+
elif isinstance(value, nonmember):
|
|
394
|
+
# unwrap value here; it won't be processed by the below `else`
|
|
395
|
+
value = value.value
|
|
396
|
+
elif _is_descriptor(value):
|
|
397
|
+
pass
|
|
398
|
+
elif self._cls_name is not None and _is_internal_class(self._cls_name, value):
|
|
399
|
+
# do nothing, name will be a normal attribute
|
|
400
|
+
pass
|
|
401
|
+
else:
|
|
402
|
+
if key in self:
|
|
403
|
+
# enum overwriting a descriptor?
|
|
404
|
+
raise TypeError('%r already defined as %r' % (key, self[key]))
|
|
405
|
+
elif isinstance(value, member):
|
|
406
|
+
# unwrap value here -- it will become a member
|
|
407
|
+
value = value.value
|
|
408
|
+
non_auto_store = True
|
|
409
|
+
single = False
|
|
410
|
+
if isinstance(value, auto):
|
|
411
|
+
single = True
|
|
412
|
+
value = (value, )
|
|
413
|
+
if isinstance(value, tuple) and any(isinstance(v, auto) for v in value):
|
|
414
|
+
# insist on an actual tuple, no subclasses, in keeping with only supporting
|
|
415
|
+
# top-level auto() usage (not contained in any other data structure)
|
|
416
|
+
auto_valued = []
|
|
417
|
+
t = type(value)
|
|
418
|
+
for v in value:
|
|
419
|
+
if isinstance(v, auto):
|
|
420
|
+
non_auto_store = False
|
|
421
|
+
if v.value == _auto_null:
|
|
422
|
+
v.value = self._generate_next_value(
|
|
423
|
+
key, 1, len(self._member_names), self._last_values[:],
|
|
424
|
+
)
|
|
425
|
+
self._auto_called = True
|
|
426
|
+
v = v.value
|
|
427
|
+
self._last_values.append(v)
|
|
428
|
+
auto_valued.append(v)
|
|
429
|
+
if single:
|
|
430
|
+
value = auto_valued[0]
|
|
431
|
+
else:
|
|
432
|
+
try:
|
|
433
|
+
# accepts iterable as multiple arguments?
|
|
434
|
+
value = t(auto_valued)
|
|
435
|
+
except TypeError:
|
|
436
|
+
# then pass them in singly
|
|
437
|
+
value = t(*auto_valued)
|
|
438
|
+
self._member_names[key] = None
|
|
439
|
+
if non_auto_store:
|
|
440
|
+
self._last_values.append(value)
|
|
441
|
+
super().__setitem__(key, value)
|
|
442
|
+
|
|
443
|
+
@property
|
|
444
|
+
def member_names(self):
|
|
445
|
+
return list(self._member_names)
|
|
446
|
+
|
|
447
|
+
def update(self, members, **more_members):
|
|
448
|
+
try:
|
|
449
|
+
for name in members.keys():
|
|
450
|
+
self[name] = members[name]
|
|
451
|
+
except AttributeError:
|
|
452
|
+
for name, value in members:
|
|
453
|
+
self[name] = value
|
|
454
|
+
for name, value in more_members.items():
|
|
455
|
+
self[name] = value
|
|
456
|
+
|
|
457
|
+
_EnumDict = EnumDict # keep private name for backwards compatibility
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
class EnumType(type):
|
|
461
|
+
"""
|
|
462
|
+
Metaclass for Enum
|
|
463
|
+
"""
|
|
464
|
+
|
|
465
|
+
@classmethod
|
|
466
|
+
def __prepare__(metacls, cls, bases, **kwds):
|
|
467
|
+
# check that previous enum members do not exist
|
|
468
|
+
metacls._check_for_existing_members_(cls, bases)
|
|
469
|
+
# create the namespace dict
|
|
470
|
+
enum_dict = EnumDict(cls)
|
|
471
|
+
# inherit previous flags and _generate_next_value_ function
|
|
472
|
+
member_type, first_enum = metacls._get_mixins_(cls, bases)
|
|
473
|
+
if first_enum is not None:
|
|
474
|
+
enum_dict['_generate_next_value_'] = getattr(
|
|
475
|
+
first_enum, '_generate_next_value_', None,
|
|
476
|
+
)
|
|
477
|
+
return enum_dict
|
|
478
|
+
|
|
479
|
+
def __new__(metacls, cls, bases, classdict, *, boundary=None, _simple=False, **kwds):
|
|
480
|
+
# an Enum class is final once enumeration items have been defined; it
|
|
481
|
+
# cannot be mixed with other types (int, float, etc.) if it has an
|
|
482
|
+
# inherited __new__ unless a new __new__ is defined (or the resulting
|
|
483
|
+
# class will fail).
|
|
484
|
+
#
|
|
485
|
+
if _simple:
|
|
486
|
+
return super().__new__(metacls, cls, bases, classdict, **kwds)
|
|
487
|
+
#
|
|
488
|
+
# remove any keys listed in _ignore_
|
|
489
|
+
classdict.setdefault('_ignore_', []).append('_ignore_')
|
|
490
|
+
ignore = classdict['_ignore_']
|
|
491
|
+
for key in ignore:
|
|
492
|
+
classdict.pop(key, None)
|
|
493
|
+
#
|
|
494
|
+
# grab member names
|
|
495
|
+
member_names = classdict._member_names
|
|
496
|
+
#
|
|
497
|
+
# check for illegal enum names (any others?)
|
|
498
|
+
invalid_names = set(member_names) & {'mro', ''}
|
|
499
|
+
if invalid_names:
|
|
500
|
+
raise ValueError('invalid enum member name(s) %s' % (
|
|
501
|
+
','.join(repr(n) for n in invalid_names)
|
|
502
|
+
))
|
|
503
|
+
#
|
|
504
|
+
# adjust the sunders
|
|
505
|
+
_order_ = classdict.pop('_order_', None)
|
|
506
|
+
_gnv = classdict.get('_generate_next_value_')
|
|
507
|
+
if _gnv is not None and type(_gnv) is not staticmethod:
|
|
508
|
+
_gnv = staticmethod(_gnv)
|
|
509
|
+
# convert to normal dict
|
|
510
|
+
classdict = dict(classdict.items())
|
|
511
|
+
if _gnv is not None:
|
|
512
|
+
classdict['_generate_next_value_'] = _gnv
|
|
513
|
+
#
|
|
514
|
+
# data type of member and the controlling Enum class
|
|
515
|
+
member_type, first_enum = metacls._get_mixins_(cls, bases)
|
|
516
|
+
__new__, save_new, use_args = metacls._find_new_(
|
|
517
|
+
classdict, member_type, first_enum,
|
|
518
|
+
)
|
|
519
|
+
classdict['_new_member_'] = __new__
|
|
520
|
+
classdict['_use_args_'] = use_args
|
|
521
|
+
#
|
|
522
|
+
# convert future enum members into temporary _proto_members
|
|
523
|
+
for name in member_names:
|
|
524
|
+
value = classdict[name]
|
|
525
|
+
classdict[name] = _proto_member(value)
|
|
526
|
+
#
|
|
527
|
+
# house-keeping structures
|
|
528
|
+
classdict['_member_names_'] = []
|
|
529
|
+
classdict['_member_map_'] = {}
|
|
530
|
+
classdict['_value2member_map_'] = {}
|
|
531
|
+
classdict['_hashable_values_'] = [] # for comparing with non-hashable types
|
|
532
|
+
classdict['_unhashable_values_'] = [] # e.g. frozenset() with set()
|
|
533
|
+
classdict['_unhashable_values_map_'] = {}
|
|
534
|
+
classdict['_member_type_'] = member_type
|
|
535
|
+
# now set the __repr__ for the value
|
|
536
|
+
classdict['_value_repr_'] = metacls._find_data_repr_(cls, bases)
|
|
537
|
+
#
|
|
538
|
+
# Flag structures (will be removed if final class is not a Flag
|
|
539
|
+
classdict['_boundary_'] = (
|
|
540
|
+
boundary
|
|
541
|
+
or getattr(first_enum, '_boundary_', None)
|
|
542
|
+
)
|
|
543
|
+
classdict['_flag_mask_'] = 0
|
|
544
|
+
classdict['_singles_mask_'] = 0
|
|
545
|
+
classdict['_all_bits_'] = 0
|
|
546
|
+
classdict['_inverted_'] = None
|
|
547
|
+
try:
|
|
548
|
+
classdict['_%s__in_progress' % cls] = True
|
|
549
|
+
enum_class = super().__new__(metacls, cls, bases, classdict, **kwds)
|
|
550
|
+
classdict['_%s__in_progress' % cls] = False
|
|
551
|
+
delattr(enum_class, '_%s__in_progress' % cls)
|
|
552
|
+
except Exception as e:
|
|
553
|
+
# since 3.12 the note "Error calling __set_name__ on '_proto_member' instance ..."
|
|
554
|
+
# is tacked on to the error instead of raising a RuntimeError, so discard it
|
|
555
|
+
if hasattr(e, '__notes__'):
|
|
556
|
+
del e.__notes__
|
|
557
|
+
raise
|
|
558
|
+
# update classdict with any changes made by __init_subclass__
|
|
559
|
+
classdict.update(enum_class.__dict__)
|
|
560
|
+
#
|
|
561
|
+
# double check that repr and friends are not the mixin's or various
|
|
562
|
+
# things break (such as pickle)
|
|
563
|
+
# however, if the method is defined in the Enum itself, don't replace
|
|
564
|
+
# it
|
|
565
|
+
#
|
|
566
|
+
# Also, special handling for ReprEnum
|
|
567
|
+
if ReprEnum is not None and ReprEnum in bases:
|
|
568
|
+
if member_type is object:
|
|
569
|
+
raise TypeError(
|
|
570
|
+
'ReprEnum subclasses must be mixed with a data type (i.e.'
|
|
571
|
+
' int, str, float, etc.)'
|
|
572
|
+
)
|
|
573
|
+
if '__format__' not in classdict:
|
|
574
|
+
enum_class.__format__ = member_type.__format__
|
|
575
|
+
classdict['__format__'] = enum_class.__format__
|
|
576
|
+
if '__str__' not in classdict:
|
|
577
|
+
method = member_type.__str__
|
|
578
|
+
if method is object.__str__:
|
|
579
|
+
# if member_type does not define __str__, object.__str__ will use
|
|
580
|
+
# its __repr__ instead, so we'll also use its __repr__
|
|
581
|
+
method = member_type.__repr__
|
|
582
|
+
enum_class.__str__ = method
|
|
583
|
+
classdict['__str__'] = enum_class.__str__
|
|
584
|
+
for name in ('__repr__', '__str__', '__format__', '__reduce_ex__'):
|
|
585
|
+
if name not in classdict:
|
|
586
|
+
# check for mixin overrides before replacing
|
|
587
|
+
enum_method = getattr(first_enum, name)
|
|
588
|
+
found_method = getattr(enum_class, name)
|
|
589
|
+
object_method = getattr(object, name)
|
|
590
|
+
data_type_method = getattr(member_type, name)
|
|
591
|
+
if found_method in (data_type_method, object_method):
|
|
592
|
+
setattr(enum_class, name, enum_method)
|
|
593
|
+
#
|
|
594
|
+
# for Flag, add __or__, __and__, __xor__, and __invert__
|
|
595
|
+
if Flag is not None and issubclass(enum_class, Flag):
|
|
596
|
+
for name in (
|
|
597
|
+
'__or__', '__and__', '__xor__',
|
|
598
|
+
'__ror__', '__rand__', '__rxor__',
|
|
599
|
+
'__invert__'
|
|
600
|
+
):
|
|
601
|
+
if name not in classdict:
|
|
602
|
+
enum_method = getattr(Flag, name)
|
|
603
|
+
setattr(enum_class, name, enum_method)
|
|
604
|
+
classdict[name] = enum_method
|
|
605
|
+
#
|
|
606
|
+
# replace any other __new__ with our own (as long as Enum is not None,
|
|
607
|
+
# anyway) -- again, this is to support pickle
|
|
608
|
+
if Enum is not None:
|
|
609
|
+
# if the user defined their own __new__, save it before it gets
|
|
610
|
+
# clobbered in case they subclass later
|
|
611
|
+
if save_new:
|
|
612
|
+
enum_class.__new_member__ = __new__
|
|
613
|
+
enum_class.__new__ = Enum.__new__
|
|
614
|
+
#
|
|
615
|
+
# py3 support for definition order (helps keep py2/py3 code in sync)
|
|
616
|
+
#
|
|
617
|
+
# _order_ checking is spread out into three/four steps
|
|
618
|
+
# - if enum_class is a Flag:
|
|
619
|
+
# - remove any non-single-bit flags from _order_
|
|
620
|
+
# - remove any aliases from _order_
|
|
621
|
+
# - check that _order_ and _member_names_ match
|
|
622
|
+
#
|
|
623
|
+
# step 1: ensure we have a list
|
|
624
|
+
if _order_ is not None:
|
|
625
|
+
if isinstance(_order_, str):
|
|
626
|
+
_order_ = _order_.replace(',', ' ').split()
|
|
627
|
+
#
|
|
628
|
+
# remove Flag structures if final class is not a Flag
|
|
629
|
+
if (
|
|
630
|
+
Flag is None and cls != 'Flag'
|
|
631
|
+
or Flag is not None and not issubclass(enum_class, Flag)
|
|
632
|
+
):
|
|
633
|
+
delattr(enum_class, '_boundary_')
|
|
634
|
+
delattr(enum_class, '_flag_mask_')
|
|
635
|
+
delattr(enum_class, '_singles_mask_')
|
|
636
|
+
delattr(enum_class, '_all_bits_')
|
|
637
|
+
delattr(enum_class, '_inverted_')
|
|
638
|
+
elif Flag is not None and issubclass(enum_class, Flag):
|
|
639
|
+
# set correct __iter__
|
|
640
|
+
member_list = [m._value_ for m in enum_class]
|
|
641
|
+
if member_list != sorted(member_list):
|
|
642
|
+
enum_class._iter_member_ = enum_class._iter_member_by_def_
|
|
643
|
+
if _order_:
|
|
644
|
+
# _order_ step 2: remove any items from _order_ that are not single-bit
|
|
645
|
+
_order_ = [
|
|
646
|
+
o
|
|
647
|
+
for o in _order_
|
|
648
|
+
if o not in enum_class._member_map_ or _is_single_bit(enum_class[o]._value_)
|
|
649
|
+
]
|
|
650
|
+
#
|
|
651
|
+
if _order_:
|
|
652
|
+
# _order_ step 3: remove aliases from _order_
|
|
653
|
+
_order_ = [
|
|
654
|
+
o
|
|
655
|
+
for o in _order_
|
|
656
|
+
if (
|
|
657
|
+
o not in enum_class._member_map_
|
|
658
|
+
or
|
|
659
|
+
(o in enum_class._member_map_ and o in enum_class._member_names_)
|
|
660
|
+
)]
|
|
661
|
+
# _order_ step 4: verify that _order_ and _member_names_ match
|
|
662
|
+
if _order_ != enum_class._member_names_:
|
|
663
|
+
raise TypeError(
|
|
664
|
+
'member order does not match _order_:\n %r\n %r'
|
|
665
|
+
% (enum_class._member_names_, _order_)
|
|
666
|
+
)
|
|
667
|
+
#
|
|
668
|
+
return enum_class
|
|
669
|
+
|
|
670
|
+
def __bool__(cls):
|
|
671
|
+
"""
|
|
672
|
+
classes/types should always be True.
|
|
673
|
+
"""
|
|
674
|
+
return True
|
|
675
|
+
|
|
676
|
+
def __call__(cls, value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None):
|
|
677
|
+
"""
|
|
678
|
+
Either returns an existing member, or creates a new enum class.
|
|
679
|
+
|
|
680
|
+
This method is used both when an enum class is given a value to match
|
|
681
|
+
to an enumeration member (i.e. Color(3)) and for the functional API
|
|
682
|
+
(i.e. Color = Enum('Color', names='RED GREEN BLUE')).
|
|
683
|
+
|
|
684
|
+
The value lookup branch is chosen if the enum is final.
|
|
685
|
+
|
|
686
|
+
When used for the functional API:
|
|
687
|
+
|
|
688
|
+
`value` will be the name of the new class.
|
|
689
|
+
|
|
690
|
+
`names` should be either a string of white-space/comma delimited names
|
|
691
|
+
(values will start at `start`), or an iterator/mapping of name, value pairs.
|
|
692
|
+
|
|
693
|
+
`module` should be set to the module this class is being created in;
|
|
694
|
+
if it is not set, an attempt to find that module will be made, but if
|
|
695
|
+
it fails the class will not be picklable.
|
|
696
|
+
|
|
697
|
+
`qualname` should be set to the actual location this class can be found
|
|
698
|
+
at in its module; by default it is set to the global scope. If this is
|
|
699
|
+
not correct, unpickling will fail in some circumstances.
|
|
700
|
+
|
|
701
|
+
`type`, if set, will be mixed in as the first base class.
|
|
702
|
+
"""
|
|
703
|
+
if cls._member_map_:
|
|
704
|
+
# simple value lookup if members exist
|
|
705
|
+
if names is not _not_given:
|
|
706
|
+
value = (value, names) + values
|
|
707
|
+
return cls.__new__(cls, value)
|
|
708
|
+
# otherwise, functional API: we're creating a new Enum type
|
|
709
|
+
if names is _not_given and type is None:
|
|
710
|
+
# no body? no data-type? possibly wrong usage
|
|
711
|
+
raise TypeError(
|
|
712
|
+
f"{cls} has no members; specify `names=()` if you meant to create a new, empty, enum"
|
|
713
|
+
)
|
|
714
|
+
return cls._create_(
|
|
715
|
+
class_name=value,
|
|
716
|
+
names=None if names is _not_given else names,
|
|
717
|
+
module=module,
|
|
718
|
+
qualname=qualname,
|
|
719
|
+
type=type,
|
|
720
|
+
start=start,
|
|
721
|
+
boundary=boundary,
|
|
722
|
+
)
|
|
723
|
+
|
|
724
|
+
def __contains__(cls, value):
|
|
725
|
+
"""Return True if `value` is in `cls`.
|
|
726
|
+
|
|
727
|
+
`value` is in `cls` if:
|
|
728
|
+
1) `value` is a member of `cls`, or
|
|
729
|
+
2) `value` is the value of one of the `cls`'s members.
|
|
730
|
+
3) `value` is a pseudo-member (flags)
|
|
731
|
+
"""
|
|
732
|
+
if isinstance(value, cls):
|
|
733
|
+
return True
|
|
734
|
+
if issubclass(cls, Flag):
|
|
735
|
+
try:
|
|
736
|
+
result = cls._missing_(value)
|
|
737
|
+
return isinstance(result, cls)
|
|
738
|
+
except ValueError:
|
|
739
|
+
pass
|
|
740
|
+
return (
|
|
741
|
+
value in cls._unhashable_values_ # both structures are lists
|
|
742
|
+
or value in cls._hashable_values_
|
|
743
|
+
)
|
|
744
|
+
|
|
745
|
+
def __delattr__(cls, attr):
|
|
746
|
+
# nicer error message when someone tries to delete an attribute
|
|
747
|
+
# (see issue19025).
|
|
748
|
+
if attr in cls._member_map_:
|
|
749
|
+
raise AttributeError("%r cannot delete member %r." % (cls.__name__, attr))
|
|
750
|
+
super().__delattr__(attr)
|
|
751
|
+
|
|
752
|
+
def __dir__(cls):
|
|
753
|
+
interesting = set([
|
|
754
|
+
'__class__', '__contains__', '__doc__', '__getitem__',
|
|
755
|
+
'__iter__', '__len__', '__members__', '__module__',
|
|
756
|
+
'__name__', '__qualname__',
|
|
757
|
+
]
|
|
758
|
+
+ cls._member_names_
|
|
759
|
+
)
|
|
760
|
+
if cls._new_member_ is not object.__new__:
|
|
761
|
+
interesting.add('__new__')
|
|
762
|
+
if cls.__init_subclass__ is not object.__init_subclass__:
|
|
763
|
+
interesting.add('__init_subclass__')
|
|
764
|
+
if cls._member_type_ is object:
|
|
765
|
+
return sorted(interesting)
|
|
766
|
+
else:
|
|
767
|
+
# return whatever mixed-in data type has
|
|
768
|
+
return sorted(set(dir(cls._member_type_)) | interesting)
|
|
769
|
+
|
|
770
|
+
def __getitem__(cls, name):
|
|
771
|
+
"""
|
|
772
|
+
Return the member matching `name`.
|
|
773
|
+
"""
|
|
774
|
+
return cls._member_map_[name]
|
|
775
|
+
|
|
776
|
+
def __iter__(cls):
|
|
777
|
+
"""
|
|
778
|
+
Return members in definition order.
|
|
779
|
+
"""
|
|
780
|
+
return (cls._member_map_[name] for name in cls._member_names_)
|
|
781
|
+
|
|
782
|
+
def __len__(cls):
|
|
783
|
+
"""
|
|
784
|
+
Return the number of members (no aliases)
|
|
785
|
+
"""
|
|
786
|
+
return len(cls._member_names_)
|
|
787
|
+
|
|
788
|
+
@bltns.property
|
|
789
|
+
def __members__(cls):
|
|
790
|
+
"""
|
|
791
|
+
Returns a mapping of member name->value.
|
|
792
|
+
|
|
793
|
+
This mapping lists all enum members, including aliases. Note that this
|
|
794
|
+
is a read-only view of the internal mapping.
|
|
795
|
+
"""
|
|
796
|
+
return MappingProxyType(cls._member_map_)
|
|
797
|
+
|
|
798
|
+
def __repr__(cls):
|
|
799
|
+
if Flag is not None and issubclass(cls, Flag):
|
|
800
|
+
return "<flag %r>" % cls.__name__
|
|
801
|
+
else:
|
|
802
|
+
return "<enum %r>" % cls.__name__
|
|
803
|
+
|
|
804
|
+
def __reversed__(cls):
|
|
805
|
+
"""
|
|
806
|
+
Return members in reverse definition order.
|
|
807
|
+
"""
|
|
808
|
+
return (cls._member_map_[name] for name in reversed(cls._member_names_))
|
|
809
|
+
|
|
810
|
+
def __setattr__(cls, name, value):
|
|
811
|
+
"""
|
|
812
|
+
Block attempts to reassign Enum members.
|
|
813
|
+
|
|
814
|
+
A simple assignment to the class namespace only changes one of the
|
|
815
|
+
several possible ways to get an Enum member from the Enum class,
|
|
816
|
+
resulting in an inconsistent Enumeration.
|
|
817
|
+
"""
|
|
818
|
+
member_map = cls.__dict__.get('_member_map_', {})
|
|
819
|
+
if name in member_map:
|
|
820
|
+
raise AttributeError('cannot reassign member %r' % (name, ))
|
|
821
|
+
super().__setattr__(name, value)
|
|
822
|
+
|
|
823
|
+
def _create_(cls, class_name, names, *, module=None, qualname=None, type=None, start=1, boundary=None):
|
|
824
|
+
"""
|
|
825
|
+
Convenience method to create a new Enum class.
|
|
826
|
+
|
|
827
|
+
`names` can be:
|
|
828
|
+
|
|
829
|
+
* A string containing member names, separated either with spaces or
|
|
830
|
+
commas. Values are incremented by 1 from `start`.
|
|
831
|
+
* An iterable of member names. Values are incremented by 1 from `start`.
|
|
832
|
+
* An iterable of (member name, value) pairs.
|
|
833
|
+
* A mapping of member name -> value pairs.
|
|
834
|
+
"""
|
|
835
|
+
metacls = cls.__class__
|
|
836
|
+
bases = (cls, ) if type is None else (type, cls)
|
|
837
|
+
_, first_enum = cls._get_mixins_(class_name, bases)
|
|
838
|
+
classdict = metacls.__prepare__(class_name, bases)
|
|
839
|
+
|
|
840
|
+
# special processing needed for names?
|
|
841
|
+
if isinstance(names, str):
|
|
842
|
+
names = names.replace(',', ' ').split()
|
|
843
|
+
if isinstance(names, (tuple, list)) and names and isinstance(names[0], str):
|
|
844
|
+
original_names, names = names, []
|
|
845
|
+
last_values = []
|
|
846
|
+
for count, name in enumerate(original_names):
|
|
847
|
+
value = first_enum._generate_next_value_(name, start, count, last_values[:])
|
|
848
|
+
last_values.append(value)
|
|
849
|
+
names.append((name, value))
|
|
850
|
+
if names is None:
|
|
851
|
+
names = ()
|
|
852
|
+
|
|
853
|
+
# Here, names is either an iterable of (name, value) or a mapping.
|
|
854
|
+
for item in names:
|
|
855
|
+
if isinstance(item, str):
|
|
856
|
+
member_name, member_value = item, names[item]
|
|
857
|
+
else:
|
|
858
|
+
member_name, member_value = item
|
|
859
|
+
classdict[member_name] = member_value
|
|
860
|
+
|
|
861
|
+
if module is None:
|
|
862
|
+
try:
|
|
863
|
+
module = sys._getframemodulename(2)
|
|
864
|
+
except AttributeError:
|
|
865
|
+
# Fall back on _getframe if _getframemodulename is missing
|
|
866
|
+
try:
|
|
867
|
+
module = sys._getframe(2).f_globals['__name__']
|
|
868
|
+
except (AttributeError, ValueError, KeyError):
|
|
869
|
+
pass
|
|
870
|
+
if module is None:
|
|
871
|
+
_make_class_unpicklable(classdict)
|
|
872
|
+
else:
|
|
873
|
+
classdict['__module__'] = module
|
|
874
|
+
if qualname is not None:
|
|
875
|
+
classdict['__qualname__'] = qualname
|
|
876
|
+
|
|
877
|
+
return metacls.__new__(metacls, class_name, bases, classdict, boundary=boundary)
|
|
878
|
+
|
|
879
|
+
def _convert_(cls, name, module, filter, source=None, *, boundary=None, as_global=False):
|
|
880
|
+
"""
|
|
881
|
+
Create a new Enum subclass that replaces a collection of global constants
|
|
882
|
+
"""
|
|
883
|
+
# convert all constants from source (or module) that pass filter() to
|
|
884
|
+
# a new Enum called name, and export the enum and its members back to
|
|
885
|
+
# module;
|
|
886
|
+
# also, replace the __reduce_ex__ method so unpickling works in
|
|
887
|
+
# previous Python versions
|
|
888
|
+
module_globals = sys.modules[module].__dict__
|
|
889
|
+
if source:
|
|
890
|
+
source = source.__dict__
|
|
891
|
+
else:
|
|
892
|
+
source = module_globals
|
|
893
|
+
# _value2member_map_ is populated in the same order every time
|
|
894
|
+
# for a consistent reverse mapping of number to name when there
|
|
895
|
+
# are multiple names for the same number.
|
|
896
|
+
members = [
|
|
897
|
+
(name, value)
|
|
898
|
+
for name, value in source.items()
|
|
899
|
+
if filter(name)]
|
|
900
|
+
try:
|
|
901
|
+
# sort by value
|
|
902
|
+
members.sort(key=lambda t: (t[1], t[0]))
|
|
903
|
+
except TypeError:
|
|
904
|
+
# unless some values aren't comparable, in which case sort by name
|
|
905
|
+
members.sort(key=lambda t: t[0])
|
|
906
|
+
body = {t[0]: t[1] for t in members}
|
|
907
|
+
body['__module__'] = module
|
|
908
|
+
tmp_cls = type(name, (object, ), body)
|
|
909
|
+
cls = _simple_enum(etype=cls, boundary=boundary or KEEP)(tmp_cls)
|
|
910
|
+
if as_global:
|
|
911
|
+
global_enum(cls)
|
|
912
|
+
else:
|
|
913
|
+
sys.modules[cls.__module__].__dict__.update(cls.__members__)
|
|
914
|
+
module_globals[name] = cls
|
|
915
|
+
return cls
|
|
916
|
+
|
|
917
|
+
@classmethod
|
|
918
|
+
def _check_for_existing_members_(mcls, class_name, bases):
|
|
919
|
+
for chain in bases:
|
|
920
|
+
for base in chain.__mro__:
|
|
921
|
+
if isinstance(base, EnumType) and base._member_names_:
|
|
922
|
+
raise TypeError(
|
|
923
|
+
"<enum %r> cannot extend %r"
|
|
924
|
+
% (class_name, base)
|
|
925
|
+
)
|
|
926
|
+
|
|
927
|
+
@classmethod
|
|
928
|
+
def _get_mixins_(mcls, class_name, bases):
|
|
929
|
+
"""
|
|
930
|
+
Returns the type for creating enum members, and the first inherited
|
|
931
|
+
enum class.
|
|
932
|
+
|
|
933
|
+
bases: the tuple of bases that was given to __new__
|
|
934
|
+
"""
|
|
935
|
+
if not bases:
|
|
936
|
+
return object, Enum
|
|
937
|
+
# ensure final parent class is an Enum derivative, find any concrete
|
|
938
|
+
# data type, and check that Enum has no members
|
|
939
|
+
first_enum = bases[-1]
|
|
940
|
+
if not isinstance(first_enum, EnumType):
|
|
941
|
+
raise TypeError("new enumerations should be created as "
|
|
942
|
+
"`EnumName([mixin_type, ...] [data_type,] enum_type)`")
|
|
943
|
+
member_type = mcls._find_data_type_(class_name, bases) or object
|
|
944
|
+
return member_type, first_enum
|
|
945
|
+
|
|
946
|
+
@classmethod
|
|
947
|
+
def _find_data_repr_(mcls, class_name, bases):
|
|
948
|
+
for chain in bases:
|
|
949
|
+
for base in chain.__mro__:
|
|
950
|
+
if base is object:
|
|
951
|
+
continue
|
|
952
|
+
elif isinstance(base, EnumType):
|
|
953
|
+
# if we hit an Enum, use it's _value_repr_
|
|
954
|
+
return base._value_repr_
|
|
955
|
+
elif '__repr__' in base.__dict__:
|
|
956
|
+
# this is our data repr
|
|
957
|
+
# double-check if a dataclass with a default __repr__
|
|
958
|
+
if (
|
|
959
|
+
'__dataclass_fields__' in base.__dict__
|
|
960
|
+
and '__dataclass_params__' in base.__dict__
|
|
961
|
+
and base.__dict__['__dataclass_params__'].repr
|
|
962
|
+
):
|
|
963
|
+
return _dataclass_repr
|
|
964
|
+
else:
|
|
965
|
+
return base.__dict__['__repr__']
|
|
966
|
+
return None
|
|
967
|
+
|
|
968
|
+
@classmethod
|
|
969
|
+
def _find_data_type_(mcls, class_name, bases):
|
|
970
|
+
# a datatype has a __new__ method, or a __dataclass_fields__ attribute
|
|
971
|
+
data_types = set()
|
|
972
|
+
base_chain = set()
|
|
973
|
+
for chain in bases:
|
|
974
|
+
candidate = None
|
|
975
|
+
for base in chain.__mro__:
|
|
976
|
+
base_chain.add(base)
|
|
977
|
+
if base is object:
|
|
978
|
+
continue
|
|
979
|
+
elif isinstance(base, EnumType):
|
|
980
|
+
if base._member_type_ is not object:
|
|
981
|
+
data_types.add(base._member_type_)
|
|
982
|
+
break
|
|
983
|
+
elif '__new__' in base.__dict__ or '__dataclass_fields__' in base.__dict__:
|
|
984
|
+
data_types.add(candidate or base)
|
|
985
|
+
break
|
|
986
|
+
else:
|
|
987
|
+
candidate = candidate or base
|
|
988
|
+
if len(data_types) > 1:
|
|
989
|
+
raise TypeError('too many data types for %r: %r' % (class_name, data_types))
|
|
990
|
+
elif data_types:
|
|
991
|
+
return data_types.pop()
|
|
992
|
+
else:
|
|
993
|
+
return None
|
|
994
|
+
|
|
995
|
+
@classmethod
|
|
996
|
+
def _find_new_(mcls, classdict, member_type, first_enum):
|
|
997
|
+
"""
|
|
998
|
+
Returns the __new__ to be used for creating the enum members.
|
|
999
|
+
|
|
1000
|
+
classdict: the class dictionary given to __new__
|
|
1001
|
+
member_type: the data type whose __new__ will be used by default
|
|
1002
|
+
first_enum: enumeration to check for an overriding __new__
|
|
1003
|
+
"""
|
|
1004
|
+
# now find the correct __new__, checking to see of one was defined
|
|
1005
|
+
# by the user; also check earlier enum classes in case a __new__ was
|
|
1006
|
+
# saved as __new_member__
|
|
1007
|
+
__new__ = classdict.get('__new__', None)
|
|
1008
|
+
|
|
1009
|
+
# should __new__ be saved as __new_member__ later?
|
|
1010
|
+
save_new = first_enum is not None and __new__ is not None
|
|
1011
|
+
|
|
1012
|
+
if __new__ is None:
|
|
1013
|
+
# check all possibles for __new_member__ before falling back to
|
|
1014
|
+
# __new__
|
|
1015
|
+
for method in ('__new_member__', '__new__'):
|
|
1016
|
+
for possible in (member_type, first_enum):
|
|
1017
|
+
target = getattr(possible, method, None)
|
|
1018
|
+
if target not in {
|
|
1019
|
+
None,
|
|
1020
|
+
None.__new__,
|
|
1021
|
+
object.__new__,
|
|
1022
|
+
Enum.__new__,
|
|
1023
|
+
}:
|
|
1024
|
+
__new__ = target
|
|
1025
|
+
break
|
|
1026
|
+
if __new__ is not None:
|
|
1027
|
+
break
|
|
1028
|
+
else:
|
|
1029
|
+
__new__ = object.__new__
|
|
1030
|
+
|
|
1031
|
+
# if a non-object.__new__ is used then whatever value/tuple was
|
|
1032
|
+
# assigned to the enum member name will be passed to __new__ and to the
|
|
1033
|
+
# new enum member's __init__
|
|
1034
|
+
if first_enum is None or __new__ in (Enum.__new__, object.__new__):
|
|
1035
|
+
use_args = False
|
|
1036
|
+
else:
|
|
1037
|
+
use_args = True
|
|
1038
|
+
return __new__, save_new, use_args
|
|
1039
|
+
|
|
1040
|
+
def _add_member_(cls, name, member):
|
|
1041
|
+
# _value_ structures are not updated
|
|
1042
|
+
if name in cls._member_map_:
|
|
1043
|
+
if cls._member_map_[name] is not member:
|
|
1044
|
+
raise NameError('%r is already bound: %r' % (name, cls._member_map_[name]))
|
|
1045
|
+
return
|
|
1046
|
+
#
|
|
1047
|
+
# if necessary, get redirect in place and then add it to _member_map_
|
|
1048
|
+
found_descriptor = None
|
|
1049
|
+
descriptor_type = None
|
|
1050
|
+
class_type = None
|
|
1051
|
+
for base in cls.__mro__[1:]:
|
|
1052
|
+
attr = base.__dict__.get(name)
|
|
1053
|
+
if attr is not None:
|
|
1054
|
+
if isinstance(attr, (property, DynamicClassAttribute)):
|
|
1055
|
+
found_descriptor = attr
|
|
1056
|
+
class_type = base
|
|
1057
|
+
descriptor_type = 'enum'
|
|
1058
|
+
break
|
|
1059
|
+
elif _is_descriptor(attr):
|
|
1060
|
+
found_descriptor = attr
|
|
1061
|
+
descriptor_type = descriptor_type or 'desc'
|
|
1062
|
+
class_type = class_type or base
|
|
1063
|
+
continue
|
|
1064
|
+
else:
|
|
1065
|
+
descriptor_type = 'attr'
|
|
1066
|
+
class_type = base
|
|
1067
|
+
if found_descriptor:
|
|
1068
|
+
redirect = property()
|
|
1069
|
+
redirect.member = member
|
|
1070
|
+
redirect.__set_name__(cls, name)
|
|
1071
|
+
if descriptor_type in ('enum', 'desc'):
|
|
1072
|
+
# earlier descriptor found; copy fget, fset, fdel to this one.
|
|
1073
|
+
redirect.fget = getattr(found_descriptor, 'fget', None)
|
|
1074
|
+
redirect._get = getattr(found_descriptor, '__get__', None)
|
|
1075
|
+
redirect.fset = getattr(found_descriptor, 'fset', None)
|
|
1076
|
+
redirect._set = getattr(found_descriptor, '__set__', None)
|
|
1077
|
+
redirect.fdel = getattr(found_descriptor, 'fdel', None)
|
|
1078
|
+
redirect._del = getattr(found_descriptor, '__delete__', None)
|
|
1079
|
+
redirect._attr_type = descriptor_type
|
|
1080
|
+
redirect._cls_type = class_type
|
|
1081
|
+
setattr(cls, name, redirect)
|
|
1082
|
+
else:
|
|
1083
|
+
setattr(cls, name, member)
|
|
1084
|
+
# now add to _member_map_ (even aliases)
|
|
1085
|
+
cls._member_map_[name] = member
|
|
1086
|
+
|
|
1087
|
+
@property
|
|
1088
|
+
def __signature__(cls):
|
|
1089
|
+
from inspect import Parameter, Signature
|
|
1090
|
+
if cls._member_names_:
|
|
1091
|
+
return Signature([Parameter('values', Parameter.VAR_POSITIONAL)])
|
|
1092
|
+
else:
|
|
1093
|
+
return Signature([Parameter('new_class_name', Parameter.POSITIONAL_ONLY),
|
|
1094
|
+
Parameter('names', Parameter.POSITIONAL_OR_KEYWORD),
|
|
1095
|
+
Parameter('module', Parameter.KEYWORD_ONLY, default=None),
|
|
1096
|
+
Parameter('qualname', Parameter.KEYWORD_ONLY, default=None),
|
|
1097
|
+
Parameter('type', Parameter.KEYWORD_ONLY, default=None),
|
|
1098
|
+
Parameter('start', Parameter.KEYWORD_ONLY, default=1),
|
|
1099
|
+
Parameter('boundary', Parameter.KEYWORD_ONLY, default=None)])
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
EnumMeta = EnumType # keep EnumMeta name for backwards compatibility
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
class Enum(metaclass=EnumType):
|
|
1106
|
+
"""
|
|
1107
|
+
Create a collection of name/value pairs.
|
|
1108
|
+
|
|
1109
|
+
Example enumeration:
|
|
1110
|
+
|
|
1111
|
+
>>> class Color(Enum):
|
|
1112
|
+
... RED = 1
|
|
1113
|
+
... BLUE = 2
|
|
1114
|
+
... GREEN = 3
|
|
1115
|
+
|
|
1116
|
+
Access them by:
|
|
1117
|
+
|
|
1118
|
+
- attribute access:
|
|
1119
|
+
|
|
1120
|
+
>>> Color.RED
|
|
1121
|
+
<Color.RED: 1>
|
|
1122
|
+
|
|
1123
|
+
- value lookup:
|
|
1124
|
+
|
|
1125
|
+
>>> Color(1)
|
|
1126
|
+
<Color.RED: 1>
|
|
1127
|
+
|
|
1128
|
+
- name lookup:
|
|
1129
|
+
|
|
1130
|
+
>>> Color['RED']
|
|
1131
|
+
<Color.RED: 1>
|
|
1132
|
+
|
|
1133
|
+
Enumerations can be iterated over, and know how many members they have:
|
|
1134
|
+
|
|
1135
|
+
>>> len(Color)
|
|
1136
|
+
3
|
|
1137
|
+
|
|
1138
|
+
>>> list(Color)
|
|
1139
|
+
[<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
|
|
1140
|
+
|
|
1141
|
+
Methods can be added to enumerations, and members can have their own
|
|
1142
|
+
attributes -- see the documentation for details.
|
|
1143
|
+
"""
|
|
1144
|
+
|
|
1145
|
+
def __new__(cls, value):
|
|
1146
|
+
# all enum instances are actually created during class construction
|
|
1147
|
+
# without calling this method; this method is called by the metaclass'
|
|
1148
|
+
# __call__ (i.e. Color(3) ), and by pickle
|
|
1149
|
+
if type(value) is cls:
|
|
1150
|
+
# For lookups like Color(Color.RED)
|
|
1151
|
+
return value
|
|
1152
|
+
# by-value search for a matching enum member
|
|
1153
|
+
# see if it's in the reverse mapping (for hashable values)
|
|
1154
|
+
try:
|
|
1155
|
+
return cls._value2member_map_[value]
|
|
1156
|
+
except KeyError:
|
|
1157
|
+
# Not found, no need to do long O(n) search
|
|
1158
|
+
pass
|
|
1159
|
+
except TypeError:
|
|
1160
|
+
# not there, now do long search -- O(n) behavior
|
|
1161
|
+
for name, unhashable_values in cls._unhashable_values_map_.items():
|
|
1162
|
+
if value in unhashable_values:
|
|
1163
|
+
return cls[name]
|
|
1164
|
+
for name, member in cls._member_map_.items():
|
|
1165
|
+
if value == member._value_:
|
|
1166
|
+
return cls[name]
|
|
1167
|
+
# still not found -- verify that members exist, in-case somebody got here mistakenly
|
|
1168
|
+
# (such as via super when trying to override __new__)
|
|
1169
|
+
if not cls._member_map_:
|
|
1170
|
+
if getattr(cls, '_%s__in_progress' % cls.__name__, False):
|
|
1171
|
+
raise TypeError('do not use `super().__new__; call the appropriate __new__ directly') from None
|
|
1172
|
+
raise TypeError("%r has no members defined" % cls)
|
|
1173
|
+
#
|
|
1174
|
+
# still not found -- try _missing_ hook
|
|
1175
|
+
try:
|
|
1176
|
+
exc = None
|
|
1177
|
+
result = cls._missing_(value)
|
|
1178
|
+
except Exception as e:
|
|
1179
|
+
exc = e
|
|
1180
|
+
result = None
|
|
1181
|
+
try:
|
|
1182
|
+
if isinstance(result, cls):
|
|
1183
|
+
return result
|
|
1184
|
+
elif (
|
|
1185
|
+
Flag is not None and issubclass(cls, Flag)
|
|
1186
|
+
and cls._boundary_ is EJECT and isinstance(result, int)
|
|
1187
|
+
):
|
|
1188
|
+
return result
|
|
1189
|
+
else:
|
|
1190
|
+
ve_exc = ValueError("%r is not a valid %s" % (value, cls.__qualname__))
|
|
1191
|
+
if result is None and exc is None:
|
|
1192
|
+
raise ve_exc
|
|
1193
|
+
elif exc is None:
|
|
1194
|
+
exc = TypeError(
|
|
1195
|
+
'error in %s._missing_: returned %r instead of None or a valid member'
|
|
1196
|
+
% (cls.__name__, result)
|
|
1197
|
+
)
|
|
1198
|
+
if not isinstance(exc, ValueError):
|
|
1199
|
+
exc.__context__ = ve_exc
|
|
1200
|
+
raise exc
|
|
1201
|
+
finally:
|
|
1202
|
+
# ensure all variables that could hold an exception are destroyed
|
|
1203
|
+
exc = None
|
|
1204
|
+
ve_exc = None
|
|
1205
|
+
|
|
1206
|
+
def _add_alias_(self, name):
|
|
1207
|
+
self.__class__._add_member_(name, self)
|
|
1208
|
+
|
|
1209
|
+
def _add_value_alias_(self, value):
|
|
1210
|
+
cls = self.__class__
|
|
1211
|
+
try:
|
|
1212
|
+
if value in cls._value2member_map_:
|
|
1213
|
+
if cls._value2member_map_[value] is not self:
|
|
1214
|
+
raise ValueError('%r is already bound: %r' % (value, cls._value2member_map_[value]))
|
|
1215
|
+
return
|
|
1216
|
+
except TypeError:
|
|
1217
|
+
# unhashable value, do long search
|
|
1218
|
+
for m in cls._member_map_.values():
|
|
1219
|
+
if m._value_ == value:
|
|
1220
|
+
if m is not self:
|
|
1221
|
+
raise ValueError('%r is already bound: %r' % (value, cls._value2member_map_[value]))
|
|
1222
|
+
return
|
|
1223
|
+
try:
|
|
1224
|
+
# This may fail if value is not hashable. We can't add the value
|
|
1225
|
+
# to the map, and by-value lookups for this value will be
|
|
1226
|
+
# linear.
|
|
1227
|
+
cls._value2member_map_.setdefault(value, self)
|
|
1228
|
+
cls._hashable_values_.append(value)
|
|
1229
|
+
except TypeError:
|
|
1230
|
+
# keep track of the value in a list so containment checks are quick
|
|
1231
|
+
cls._unhashable_values_.append(value)
|
|
1232
|
+
cls._unhashable_values_map_.setdefault(self.name, []).append(value)
|
|
1233
|
+
|
|
1234
|
+
@staticmethod
|
|
1235
|
+
def _generate_next_value_(name, start, count, last_values):
|
|
1236
|
+
"""
|
|
1237
|
+
Generate the next value when not given.
|
|
1238
|
+
|
|
1239
|
+
name: the name of the member
|
|
1240
|
+
start: the initial start value or None
|
|
1241
|
+
count: the number of existing members
|
|
1242
|
+
last_values: the list of values assigned
|
|
1243
|
+
"""
|
|
1244
|
+
if not last_values:
|
|
1245
|
+
return start
|
|
1246
|
+
try:
|
|
1247
|
+
last_value = sorted(last_values).pop()
|
|
1248
|
+
except TypeError:
|
|
1249
|
+
raise TypeError('unable to sort non-numeric values') from None
|
|
1250
|
+
try:
|
|
1251
|
+
return last_value + 1
|
|
1252
|
+
except TypeError:
|
|
1253
|
+
raise TypeError('unable to increment %r' % (last_value, )) from None
|
|
1254
|
+
|
|
1255
|
+
@classmethod
|
|
1256
|
+
def _missing_(cls, value):
|
|
1257
|
+
return None
|
|
1258
|
+
|
|
1259
|
+
def __repr__(self):
|
|
1260
|
+
v_repr = self.__class__._value_repr_ or repr
|
|
1261
|
+
return "<%s.%s: %s>" % (self.__class__.__name__, self._name_, v_repr(self._value_))
|
|
1262
|
+
|
|
1263
|
+
def __str__(self):
|
|
1264
|
+
return "%s.%s" % (self.__class__.__name__, self._name_, )
|
|
1265
|
+
|
|
1266
|
+
def __dir__(self):
|
|
1267
|
+
"""
|
|
1268
|
+
Returns public methods and other interesting attributes.
|
|
1269
|
+
"""
|
|
1270
|
+
interesting = set()
|
|
1271
|
+
if self.__class__._member_type_ is not object:
|
|
1272
|
+
interesting = set(object.__dir__(self))
|
|
1273
|
+
for name in getattr(self, '__dict__', []):
|
|
1274
|
+
if name[0] != '_' and name not in self._member_map_:
|
|
1275
|
+
interesting.add(name)
|
|
1276
|
+
for cls in self.__class__.mro():
|
|
1277
|
+
for name, obj in cls.__dict__.items():
|
|
1278
|
+
if name[0] == '_':
|
|
1279
|
+
continue
|
|
1280
|
+
if isinstance(obj, property):
|
|
1281
|
+
# that's an enum.property
|
|
1282
|
+
if obj.fget is not None or name not in self._member_map_:
|
|
1283
|
+
interesting.add(name)
|
|
1284
|
+
else:
|
|
1285
|
+
# in case it was added by `dir(self)`
|
|
1286
|
+
interesting.discard(name)
|
|
1287
|
+
elif name not in self._member_map_:
|
|
1288
|
+
interesting.add(name)
|
|
1289
|
+
names = sorted(
|
|
1290
|
+
set(['__class__', '__doc__', '__eq__', '__hash__', '__module__'])
|
|
1291
|
+
| interesting
|
|
1292
|
+
)
|
|
1293
|
+
return names
|
|
1294
|
+
|
|
1295
|
+
def __format__(self, format_spec):
|
|
1296
|
+
return str.__format__(str(self), format_spec)
|
|
1297
|
+
|
|
1298
|
+
def __hash__(self):
|
|
1299
|
+
return hash(self._name_)
|
|
1300
|
+
|
|
1301
|
+
def __reduce_ex__(self, proto):
|
|
1302
|
+
return self.__class__, (self._value_, )
|
|
1303
|
+
|
|
1304
|
+
def __deepcopy__(self,memo):
|
|
1305
|
+
return self
|
|
1306
|
+
|
|
1307
|
+
def __copy__(self):
|
|
1308
|
+
return self
|
|
1309
|
+
|
|
1310
|
+
# enum.property is used to provide access to the `name` and
|
|
1311
|
+
# `value` attributes of enum members while keeping some measure of
|
|
1312
|
+
# protection from modification, while still allowing for an enumeration
|
|
1313
|
+
# to have members named `name` and `value`. This works because each
|
|
1314
|
+
# instance of enum.property saves its companion member, which it returns
|
|
1315
|
+
# on class lookup; on instance lookup it either executes a provided function
|
|
1316
|
+
# or raises an AttributeError.
|
|
1317
|
+
|
|
1318
|
+
@property
|
|
1319
|
+
def name(self):
|
|
1320
|
+
"""The name of the Enum member."""
|
|
1321
|
+
return self._name_
|
|
1322
|
+
|
|
1323
|
+
@property
|
|
1324
|
+
def value(self):
|
|
1325
|
+
"""The value of the Enum member."""
|
|
1326
|
+
return self._value_
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
class ReprEnum(Enum):
|
|
1330
|
+
"""
|
|
1331
|
+
Only changes the repr(), leaving str() and format() to the mixed-in type.
|
|
1332
|
+
"""
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
class IntEnum(int, ReprEnum):
|
|
1336
|
+
"""
|
|
1337
|
+
Enum where members are also (and must be) ints
|
|
1338
|
+
"""
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
class StrEnum(str, ReprEnum):
|
|
1342
|
+
"""
|
|
1343
|
+
Enum where members are also (and must be) strings
|
|
1344
|
+
"""
|
|
1345
|
+
|
|
1346
|
+
def __new__(cls, *values):
|
|
1347
|
+
"values must already be of type `str`"
|
|
1348
|
+
if len(values) > 3:
|
|
1349
|
+
raise TypeError('too many arguments for str(): %r' % (values, ))
|
|
1350
|
+
if len(values) == 1:
|
|
1351
|
+
# it must be a string
|
|
1352
|
+
if not isinstance(values[0], str):
|
|
1353
|
+
raise TypeError('%r is not a string' % (values[0], ))
|
|
1354
|
+
if len(values) >= 2:
|
|
1355
|
+
# check that encoding argument is a string
|
|
1356
|
+
if not isinstance(values[1], str):
|
|
1357
|
+
raise TypeError('encoding must be a string, not %r' % (values[1], ))
|
|
1358
|
+
if len(values) == 3:
|
|
1359
|
+
# check that errors argument is a string
|
|
1360
|
+
if not isinstance(values[2], str):
|
|
1361
|
+
raise TypeError('errors must be a string, not %r' % (values[2]))
|
|
1362
|
+
value = str(*values)
|
|
1363
|
+
member = str.__new__(cls, value)
|
|
1364
|
+
member._value_ = value
|
|
1365
|
+
return member
|
|
1366
|
+
|
|
1367
|
+
@staticmethod
|
|
1368
|
+
def _generate_next_value_(name, start, count, last_values):
|
|
1369
|
+
"""
|
|
1370
|
+
Return the lower-cased version of the member name.
|
|
1371
|
+
"""
|
|
1372
|
+
return name.lower()
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
def pickle_by_global_name(self, proto):
|
|
1376
|
+
# should not be used with Flag-type enums
|
|
1377
|
+
return self.name
|
|
1378
|
+
_reduce_ex_by_global_name = pickle_by_global_name
|
|
1379
|
+
|
|
1380
|
+
def pickle_by_enum_name(self, proto):
|
|
1381
|
+
# should not be used with Flag-type enums
|
|
1382
|
+
return getattr, (self.__class__, self._name_)
|
|
1383
|
+
|
|
1384
|
+
class FlagBoundary(StrEnum):
|
|
1385
|
+
"""
|
|
1386
|
+
control how out of range values are handled
|
|
1387
|
+
"strict" -> error is raised [default for Flag]
|
|
1388
|
+
"conform" -> extra bits are discarded
|
|
1389
|
+
"eject" -> lose flag status
|
|
1390
|
+
"keep" -> keep flag status and all bits [default for IntFlag]
|
|
1391
|
+
"""
|
|
1392
|
+
STRICT = auto()
|
|
1393
|
+
CONFORM = auto()
|
|
1394
|
+
EJECT = auto()
|
|
1395
|
+
KEEP = auto()
|
|
1396
|
+
STRICT, CONFORM, EJECT, KEEP = FlagBoundary
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
class Flag(Enum, boundary=STRICT):
|
|
1400
|
+
"""
|
|
1401
|
+
Support for flags
|
|
1402
|
+
"""
|
|
1403
|
+
|
|
1404
|
+
_numeric_repr_ = repr
|
|
1405
|
+
|
|
1406
|
+
@staticmethod
|
|
1407
|
+
def _generate_next_value_(name, start, count, last_values):
|
|
1408
|
+
"""
|
|
1409
|
+
Generate the next value when not given.
|
|
1410
|
+
|
|
1411
|
+
name: the name of the member
|
|
1412
|
+
start: the initial start value or None
|
|
1413
|
+
count: the number of existing members
|
|
1414
|
+
last_values: the last value assigned or None
|
|
1415
|
+
"""
|
|
1416
|
+
if not count:
|
|
1417
|
+
return start if start is not None else 1
|
|
1418
|
+
last_value = max(last_values)
|
|
1419
|
+
try:
|
|
1420
|
+
high_bit = _high_bit(last_value)
|
|
1421
|
+
except Exception:
|
|
1422
|
+
raise TypeError('invalid flag value %r' % last_value) from None
|
|
1423
|
+
return 2 ** (high_bit+1)
|
|
1424
|
+
|
|
1425
|
+
@classmethod
|
|
1426
|
+
def _iter_member_by_value_(cls, value):
|
|
1427
|
+
"""
|
|
1428
|
+
Extract all members from the value in definition (i.e. increasing value) order.
|
|
1429
|
+
"""
|
|
1430
|
+
for val in _iter_bits_lsb(value & cls._flag_mask_):
|
|
1431
|
+
yield cls._value2member_map_.get(val)
|
|
1432
|
+
|
|
1433
|
+
_iter_member_ = _iter_member_by_value_
|
|
1434
|
+
|
|
1435
|
+
@classmethod
|
|
1436
|
+
def _iter_member_by_def_(cls, value):
|
|
1437
|
+
"""
|
|
1438
|
+
Extract all members from the value in definition order.
|
|
1439
|
+
"""
|
|
1440
|
+
yield from sorted(
|
|
1441
|
+
cls._iter_member_by_value_(value),
|
|
1442
|
+
key=lambda m: m._sort_order_,
|
|
1443
|
+
)
|
|
1444
|
+
|
|
1445
|
+
@classmethod
|
|
1446
|
+
def _missing_(cls, value):
|
|
1447
|
+
"""
|
|
1448
|
+
Create a composite member containing all canonical members present in `value`.
|
|
1449
|
+
|
|
1450
|
+
If non-member values are present, result depends on `_boundary_` setting.
|
|
1451
|
+
"""
|
|
1452
|
+
if not isinstance(value, int):
|
|
1453
|
+
raise ValueError(
|
|
1454
|
+
"%r is not a valid %s" % (value, cls.__qualname__)
|
|
1455
|
+
)
|
|
1456
|
+
# check boundaries
|
|
1457
|
+
# - value must be in range (e.g. -16 <-> +15, i.e. ~15 <-> 15)
|
|
1458
|
+
# - value must not include any skipped flags (e.g. if bit 2 is not
|
|
1459
|
+
# defined, then 0d10 is invalid)
|
|
1460
|
+
flag_mask = cls._flag_mask_
|
|
1461
|
+
singles_mask = cls._singles_mask_
|
|
1462
|
+
all_bits = cls._all_bits_
|
|
1463
|
+
neg_value = None
|
|
1464
|
+
if (
|
|
1465
|
+
not ~all_bits <= value <= all_bits
|
|
1466
|
+
or value & (all_bits ^ flag_mask)
|
|
1467
|
+
):
|
|
1468
|
+
if cls._boundary_ is STRICT:
|
|
1469
|
+
max_bits = max(value.bit_length(), flag_mask.bit_length())
|
|
1470
|
+
raise ValueError(
|
|
1471
|
+
"%r invalid value %r\n given %s\n allowed %s" % (
|
|
1472
|
+
cls, value, bin(value, max_bits), bin(flag_mask, max_bits),
|
|
1473
|
+
))
|
|
1474
|
+
elif cls._boundary_ is CONFORM:
|
|
1475
|
+
value = value & flag_mask
|
|
1476
|
+
elif cls._boundary_ is EJECT:
|
|
1477
|
+
return value
|
|
1478
|
+
elif cls._boundary_ is KEEP:
|
|
1479
|
+
if value < 0:
|
|
1480
|
+
value = (
|
|
1481
|
+
max(all_bits+1, 2**(value.bit_length()))
|
|
1482
|
+
+ value
|
|
1483
|
+
)
|
|
1484
|
+
else:
|
|
1485
|
+
raise ValueError(
|
|
1486
|
+
'%r unknown flag boundary %r' % (cls, cls._boundary_, )
|
|
1487
|
+
)
|
|
1488
|
+
if value < 0:
|
|
1489
|
+
neg_value = value
|
|
1490
|
+
value = all_bits + 1 + value
|
|
1491
|
+
# get members and unknown
|
|
1492
|
+
unknown = value & ~flag_mask
|
|
1493
|
+
aliases = value & ~singles_mask
|
|
1494
|
+
member_value = value & singles_mask
|
|
1495
|
+
if unknown and cls._boundary_ is not KEEP:
|
|
1496
|
+
raise ValueError(
|
|
1497
|
+
'%s(%r) --> unknown values %r [%s]'
|
|
1498
|
+
% (cls.__name__, value, unknown, bin(unknown))
|
|
1499
|
+
)
|
|
1500
|
+
# normal Flag?
|
|
1501
|
+
if cls._member_type_ is object:
|
|
1502
|
+
# construct a singleton enum pseudo-member
|
|
1503
|
+
pseudo_member = object.__new__(cls)
|
|
1504
|
+
else:
|
|
1505
|
+
pseudo_member = cls._member_type_.__new__(cls, value)
|
|
1506
|
+
if not hasattr(pseudo_member, '_value_'):
|
|
1507
|
+
pseudo_member._value_ = value
|
|
1508
|
+
if member_value or aliases:
|
|
1509
|
+
members = []
|
|
1510
|
+
combined_value = 0
|
|
1511
|
+
for m in cls._iter_member_(member_value):
|
|
1512
|
+
members.append(m)
|
|
1513
|
+
combined_value |= m._value_
|
|
1514
|
+
if aliases:
|
|
1515
|
+
value = member_value | aliases
|
|
1516
|
+
for n, pm in cls._member_map_.items():
|
|
1517
|
+
if pm not in members and pm._value_ and pm._value_ & value == pm._value_:
|
|
1518
|
+
members.append(pm)
|
|
1519
|
+
combined_value |= pm._value_
|
|
1520
|
+
unknown = value ^ combined_value
|
|
1521
|
+
pseudo_member._name_ = '|'.join([m._name_ for m in members])
|
|
1522
|
+
if not combined_value:
|
|
1523
|
+
pseudo_member._name_ = None
|
|
1524
|
+
elif unknown and cls._boundary_ is STRICT:
|
|
1525
|
+
raise ValueError('%r: no members with value %r' % (cls, unknown))
|
|
1526
|
+
elif unknown:
|
|
1527
|
+
pseudo_member._name_ += '|%s' % cls._numeric_repr_(unknown)
|
|
1528
|
+
else:
|
|
1529
|
+
pseudo_member._name_ = None
|
|
1530
|
+
# use setdefault in case another thread already created a composite
|
|
1531
|
+
# with this value
|
|
1532
|
+
# note: zero is a special case -- always add it
|
|
1533
|
+
pseudo_member = cls._value2member_map_.setdefault(value, pseudo_member)
|
|
1534
|
+
if neg_value is not None:
|
|
1535
|
+
cls._value2member_map_[neg_value] = pseudo_member
|
|
1536
|
+
return pseudo_member
|
|
1537
|
+
|
|
1538
|
+
def __contains__(self, other):
|
|
1539
|
+
"""
|
|
1540
|
+
Returns True if self has at least the same flags set as other.
|
|
1541
|
+
"""
|
|
1542
|
+
if not isinstance(other, self.__class__):
|
|
1543
|
+
raise TypeError(
|
|
1544
|
+
"unsupported operand type(s) for 'in': %r and %r" % (
|
|
1545
|
+
type(other).__qualname__, self.__class__.__qualname__))
|
|
1546
|
+
return other._value_ & self._value_ == other._value_
|
|
1547
|
+
|
|
1548
|
+
def __iter__(self):
|
|
1549
|
+
"""
|
|
1550
|
+
Returns flags in definition order.
|
|
1551
|
+
"""
|
|
1552
|
+
yield from self._iter_member_(self._value_)
|
|
1553
|
+
|
|
1554
|
+
def __len__(self):
|
|
1555
|
+
return self._value_.bit_count()
|
|
1556
|
+
|
|
1557
|
+
def __repr__(self):
|
|
1558
|
+
cls_name = self.__class__.__name__
|
|
1559
|
+
v_repr = self.__class__._value_repr_ or repr
|
|
1560
|
+
if self._name_ is None:
|
|
1561
|
+
return "<%s: %s>" % (cls_name, v_repr(self._value_))
|
|
1562
|
+
else:
|
|
1563
|
+
return "<%s.%s: %s>" % (cls_name, self._name_, v_repr(self._value_))
|
|
1564
|
+
|
|
1565
|
+
def __str__(self):
|
|
1566
|
+
cls_name = self.__class__.__name__
|
|
1567
|
+
if self._name_ is None:
|
|
1568
|
+
return '%s(%r)' % (cls_name, self._value_)
|
|
1569
|
+
else:
|
|
1570
|
+
return "%s.%s" % (cls_name, self._name_)
|
|
1571
|
+
|
|
1572
|
+
def __bool__(self):
|
|
1573
|
+
return bool(self._value_)
|
|
1574
|
+
|
|
1575
|
+
def _get_value(self, flag):
|
|
1576
|
+
if isinstance(flag, self.__class__):
|
|
1577
|
+
return flag._value_
|
|
1578
|
+
elif self._member_type_ is not object and isinstance(flag, self._member_type_):
|
|
1579
|
+
return flag
|
|
1580
|
+
return NotImplemented
|
|
1581
|
+
|
|
1582
|
+
def __or__(self, other):
|
|
1583
|
+
other_value = self._get_value(other)
|
|
1584
|
+
if other_value is NotImplemented:
|
|
1585
|
+
return NotImplemented
|
|
1586
|
+
|
|
1587
|
+
for flag in self, other:
|
|
1588
|
+
if self._get_value(flag) is None:
|
|
1589
|
+
raise TypeError(f"'{flag}' cannot be combined with other flags with |")
|
|
1590
|
+
value = self._value_
|
|
1591
|
+
return self.__class__(value | other_value)
|
|
1592
|
+
|
|
1593
|
+
def __and__(self, other):
|
|
1594
|
+
other_value = self._get_value(other)
|
|
1595
|
+
if other_value is NotImplemented:
|
|
1596
|
+
return NotImplemented
|
|
1597
|
+
|
|
1598
|
+
for flag in self, other:
|
|
1599
|
+
if self._get_value(flag) is None:
|
|
1600
|
+
raise TypeError(f"'{flag}' cannot be combined with other flags with &")
|
|
1601
|
+
value = self._value_
|
|
1602
|
+
return self.__class__(value & other_value)
|
|
1603
|
+
|
|
1604
|
+
def __xor__(self, other):
|
|
1605
|
+
other_value = self._get_value(other)
|
|
1606
|
+
if other_value is NotImplemented:
|
|
1607
|
+
return NotImplemented
|
|
1608
|
+
|
|
1609
|
+
for flag in self, other:
|
|
1610
|
+
if self._get_value(flag) is None:
|
|
1611
|
+
raise TypeError(f"'{flag}' cannot be combined with other flags with ^")
|
|
1612
|
+
value = self._value_
|
|
1613
|
+
return self.__class__(value ^ other_value)
|
|
1614
|
+
|
|
1615
|
+
def __invert__(self):
|
|
1616
|
+
if self._get_value(self) is None:
|
|
1617
|
+
raise TypeError(f"'{self}' cannot be inverted")
|
|
1618
|
+
|
|
1619
|
+
if self._inverted_ is None:
|
|
1620
|
+
if self._boundary_ in (EJECT, KEEP):
|
|
1621
|
+
self._inverted_ = self.__class__(~self._value_)
|
|
1622
|
+
else:
|
|
1623
|
+
self._inverted_ = self.__class__(self._singles_mask_ & ~self._value_)
|
|
1624
|
+
return self._inverted_
|
|
1625
|
+
|
|
1626
|
+
__rand__ = __and__
|
|
1627
|
+
__ror__ = __or__
|
|
1628
|
+
__rxor__ = __xor__
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
class IntFlag(int, ReprEnum, Flag, boundary=KEEP):
|
|
1632
|
+
"""
|
|
1633
|
+
Support for integer-based Flags
|
|
1634
|
+
"""
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
def _high_bit(value):
|
|
1638
|
+
"""
|
|
1639
|
+
returns index of highest bit, or -1 if value is zero or negative
|
|
1640
|
+
"""
|
|
1641
|
+
return value.bit_length() - 1
|
|
1642
|
+
|
|
1643
|
+
def unique(enumeration):
|
|
1644
|
+
"""
|
|
1645
|
+
Class decorator for enumerations ensuring unique member values.
|
|
1646
|
+
"""
|
|
1647
|
+
duplicates = []
|
|
1648
|
+
for name, member in enumeration.__members__.items():
|
|
1649
|
+
if name != member.name:
|
|
1650
|
+
duplicates.append((name, member.name))
|
|
1651
|
+
if duplicates:
|
|
1652
|
+
alias_details = ', '.join(
|
|
1653
|
+
["%s -> %s" % (alias, name) for (alias, name) in duplicates])
|
|
1654
|
+
raise ValueError('duplicate values found in %r: %s' %
|
|
1655
|
+
(enumeration, alias_details))
|
|
1656
|
+
return enumeration
|
|
1657
|
+
|
|
1658
|
+
def _dataclass_repr(self):
|
|
1659
|
+
dcf = self.__dataclass_fields__
|
|
1660
|
+
return ', '.join(
|
|
1661
|
+
'%s=%r' % (k, getattr(self, k))
|
|
1662
|
+
for k in dcf.keys()
|
|
1663
|
+
if dcf[k].repr
|
|
1664
|
+
)
|
|
1665
|
+
|
|
1666
|
+
def global_enum_repr(self):
|
|
1667
|
+
"""
|
|
1668
|
+
use module.enum_name instead of class.enum_name
|
|
1669
|
+
|
|
1670
|
+
the module is the last module in case of a multi-module name
|
|
1671
|
+
"""
|
|
1672
|
+
module = self.__class__.__module__.split('.')[-1]
|
|
1673
|
+
return '%s.%s' % (module, self._name_)
|
|
1674
|
+
|
|
1675
|
+
def global_flag_repr(self):
|
|
1676
|
+
"""
|
|
1677
|
+
use module.flag_name instead of class.flag_name
|
|
1678
|
+
|
|
1679
|
+
the module is the last module in case of a multi-module name
|
|
1680
|
+
"""
|
|
1681
|
+
module = self.__class__.__module__.split('.')[-1]
|
|
1682
|
+
cls_name = self.__class__.__name__
|
|
1683
|
+
if self._name_ is None:
|
|
1684
|
+
return "%s.%s(%r)" % (module, cls_name, self._value_)
|
|
1685
|
+
if _is_single_bit(self._value_):
|
|
1686
|
+
return '%s.%s' % (module, self._name_)
|
|
1687
|
+
if self._boundary_ is not FlagBoundary.KEEP:
|
|
1688
|
+
return '|'.join(['%s.%s' % (module, name) for name in self.name.split('|')])
|
|
1689
|
+
else:
|
|
1690
|
+
name = []
|
|
1691
|
+
for n in self._name_.split('|'):
|
|
1692
|
+
if n[0].isdigit():
|
|
1693
|
+
name.append(n)
|
|
1694
|
+
else:
|
|
1695
|
+
name.append('%s.%s' % (module, n))
|
|
1696
|
+
return '|'.join(name)
|
|
1697
|
+
|
|
1698
|
+
def global_str(self):
|
|
1699
|
+
"""
|
|
1700
|
+
use enum_name instead of class.enum_name
|
|
1701
|
+
"""
|
|
1702
|
+
if self._name_ is None:
|
|
1703
|
+
cls_name = self.__class__.__name__
|
|
1704
|
+
return "%s(%r)" % (cls_name, self._value_)
|
|
1705
|
+
else:
|
|
1706
|
+
return self._name_
|
|
1707
|
+
|
|
1708
|
+
def global_enum(cls, update_str=False):
|
|
1709
|
+
"""
|
|
1710
|
+
decorator that makes the repr() of an enum member reference its module
|
|
1711
|
+
instead of its class; also exports all members to the enum's module's
|
|
1712
|
+
global namespace
|
|
1713
|
+
"""
|
|
1714
|
+
if issubclass(cls, Flag):
|
|
1715
|
+
cls.__repr__ = global_flag_repr
|
|
1716
|
+
else:
|
|
1717
|
+
cls.__repr__ = global_enum_repr
|
|
1718
|
+
if not issubclass(cls, ReprEnum) or update_str:
|
|
1719
|
+
cls.__str__ = global_str
|
|
1720
|
+
sys.modules[cls.__module__].__dict__.update(cls.__members__)
|
|
1721
|
+
return cls
|
|
1722
|
+
|
|
1723
|
+
def _simple_enum(etype=Enum, *, boundary=None, use_args=None):
|
|
1724
|
+
"""
|
|
1725
|
+
Class decorator that converts a normal class into an :class:`Enum`. No
|
|
1726
|
+
safety checks are done, and some advanced behavior (such as
|
|
1727
|
+
:func:`__init_subclass__`) is not available. Enum creation can be faster
|
|
1728
|
+
using :func:`_simple_enum`.
|
|
1729
|
+
|
|
1730
|
+
>>> from enum import Enum, _simple_enum
|
|
1731
|
+
>>> @_simple_enum(Enum)
|
|
1732
|
+
... class Color:
|
|
1733
|
+
... RED = auto()
|
|
1734
|
+
... GREEN = auto()
|
|
1735
|
+
... BLUE = auto()
|
|
1736
|
+
>>> Color
|
|
1737
|
+
<enum 'Color'>
|
|
1738
|
+
"""
|
|
1739
|
+
def convert_class(cls):
|
|
1740
|
+
nonlocal use_args
|
|
1741
|
+
cls_name = cls.__name__
|
|
1742
|
+
if use_args is None:
|
|
1743
|
+
use_args = etype._use_args_
|
|
1744
|
+
__new__ = cls.__dict__.get('__new__')
|
|
1745
|
+
if __new__ is not None:
|
|
1746
|
+
new_member = __new__.__func__
|
|
1747
|
+
else:
|
|
1748
|
+
new_member = etype._member_type_.__new__
|
|
1749
|
+
attrs = {}
|
|
1750
|
+
body = {}
|
|
1751
|
+
if __new__ is not None:
|
|
1752
|
+
body['__new_member__'] = new_member
|
|
1753
|
+
body['_new_member_'] = new_member
|
|
1754
|
+
body['_use_args_'] = use_args
|
|
1755
|
+
body['_generate_next_value_'] = gnv = etype._generate_next_value_
|
|
1756
|
+
body['_member_names_'] = member_names = []
|
|
1757
|
+
body['_member_map_'] = member_map = {}
|
|
1758
|
+
body['_value2member_map_'] = value2member_map = {}
|
|
1759
|
+
body['_hashable_values_'] = hashable_values = []
|
|
1760
|
+
body['_unhashable_values_'] = unhashable_values = []
|
|
1761
|
+
body['_unhashable_values_map_'] = {}
|
|
1762
|
+
body['_member_type_'] = member_type = etype._member_type_
|
|
1763
|
+
body['_value_repr_'] = etype._value_repr_
|
|
1764
|
+
if issubclass(etype, Flag):
|
|
1765
|
+
body['_boundary_'] = boundary or etype._boundary_
|
|
1766
|
+
body['_flag_mask_'] = None
|
|
1767
|
+
body['_all_bits_'] = None
|
|
1768
|
+
body['_singles_mask_'] = None
|
|
1769
|
+
body['_inverted_'] = None
|
|
1770
|
+
body['__or__'] = Flag.__or__
|
|
1771
|
+
body['__xor__'] = Flag.__xor__
|
|
1772
|
+
body['__and__'] = Flag.__and__
|
|
1773
|
+
body['__ror__'] = Flag.__ror__
|
|
1774
|
+
body['__rxor__'] = Flag.__rxor__
|
|
1775
|
+
body['__rand__'] = Flag.__rand__
|
|
1776
|
+
body['__invert__'] = Flag.__invert__
|
|
1777
|
+
for name, obj in cls.__dict__.items():
|
|
1778
|
+
if name in ('__dict__', '__weakref__'):
|
|
1779
|
+
continue
|
|
1780
|
+
if _is_dunder(name) or _is_private(cls_name, name) or _is_sunder(name) or _is_descriptor(obj):
|
|
1781
|
+
body[name] = obj
|
|
1782
|
+
else:
|
|
1783
|
+
attrs[name] = obj
|
|
1784
|
+
if cls.__dict__.get('__doc__') is None:
|
|
1785
|
+
body['__doc__'] = 'An enumeration.'
|
|
1786
|
+
#
|
|
1787
|
+
# double check that repr and friends are not the mixin's or various
|
|
1788
|
+
# things break (such as pickle)
|
|
1789
|
+
# however, if the method is defined in the Enum itself, don't replace
|
|
1790
|
+
# it
|
|
1791
|
+
enum_class = type(cls_name, (etype, ), body, boundary=boundary, _simple=True)
|
|
1792
|
+
for name in ('__repr__', '__str__', '__format__', '__reduce_ex__'):
|
|
1793
|
+
if name not in body:
|
|
1794
|
+
# check for mixin overrides before replacing
|
|
1795
|
+
enum_method = getattr(etype, name)
|
|
1796
|
+
found_method = getattr(enum_class, name)
|
|
1797
|
+
object_method = getattr(object, name)
|
|
1798
|
+
data_type_method = getattr(member_type, name)
|
|
1799
|
+
if found_method in (data_type_method, object_method):
|
|
1800
|
+
setattr(enum_class, name, enum_method)
|
|
1801
|
+
gnv_last_values = []
|
|
1802
|
+
if issubclass(enum_class, Flag):
|
|
1803
|
+
# Flag / IntFlag
|
|
1804
|
+
single_bits = multi_bits = 0
|
|
1805
|
+
for name, value in attrs.items():
|
|
1806
|
+
if isinstance(value, auto) and auto.value is _auto_null:
|
|
1807
|
+
value = gnv(name, 1, len(member_names), gnv_last_values)
|
|
1808
|
+
# create basic member (possibly isolate value for alias check)
|
|
1809
|
+
if use_args:
|
|
1810
|
+
if not isinstance(value, tuple):
|
|
1811
|
+
value = (value, )
|
|
1812
|
+
member = new_member(enum_class, *value)
|
|
1813
|
+
value = value[0]
|
|
1814
|
+
else:
|
|
1815
|
+
member = new_member(enum_class)
|
|
1816
|
+
if __new__ is None:
|
|
1817
|
+
member._value_ = value
|
|
1818
|
+
# now check if alias
|
|
1819
|
+
try:
|
|
1820
|
+
contained = value2member_map.get(member._value_)
|
|
1821
|
+
except TypeError:
|
|
1822
|
+
contained = None
|
|
1823
|
+
if member._value_ in unhashable_values or member.value in hashable_values:
|
|
1824
|
+
for m in enum_class:
|
|
1825
|
+
if m._value_ == member._value_:
|
|
1826
|
+
contained = m
|
|
1827
|
+
break
|
|
1828
|
+
if contained is not None:
|
|
1829
|
+
# an alias to an existing member
|
|
1830
|
+
contained._add_alias_(name)
|
|
1831
|
+
else:
|
|
1832
|
+
# finish creating member
|
|
1833
|
+
member._name_ = name
|
|
1834
|
+
member.__objclass__ = enum_class
|
|
1835
|
+
member.__init__(value)
|
|
1836
|
+
member._sort_order_ = len(member_names)
|
|
1837
|
+
if name not in ('name', 'value'):
|
|
1838
|
+
setattr(enum_class, name, member)
|
|
1839
|
+
member_map[name] = member
|
|
1840
|
+
else:
|
|
1841
|
+
enum_class._add_member_(name, member)
|
|
1842
|
+
value2member_map[value] = member
|
|
1843
|
+
hashable_values.append(value)
|
|
1844
|
+
if _is_single_bit(value):
|
|
1845
|
+
# not a multi-bit alias, record in _member_names_ and _flag_mask_
|
|
1846
|
+
member_names.append(name)
|
|
1847
|
+
single_bits |= value
|
|
1848
|
+
else:
|
|
1849
|
+
multi_bits |= value
|
|
1850
|
+
gnv_last_values.append(value)
|
|
1851
|
+
enum_class._flag_mask_ = single_bits | multi_bits
|
|
1852
|
+
enum_class._singles_mask_ = single_bits
|
|
1853
|
+
enum_class._all_bits_ = 2 ** ((single_bits|multi_bits).bit_length()) - 1
|
|
1854
|
+
# set correct __iter__
|
|
1855
|
+
member_list = [m._value_ for m in enum_class]
|
|
1856
|
+
if member_list != sorted(member_list):
|
|
1857
|
+
enum_class._iter_member_ = enum_class._iter_member_by_def_
|
|
1858
|
+
else:
|
|
1859
|
+
# Enum / IntEnum / StrEnum
|
|
1860
|
+
for name, value in attrs.items():
|
|
1861
|
+
if isinstance(value, auto):
|
|
1862
|
+
if value.value is _auto_null:
|
|
1863
|
+
value.value = gnv(name, 1, len(member_names), gnv_last_values)
|
|
1864
|
+
value = value.value
|
|
1865
|
+
# create basic member (possibly isolate value for alias check)
|
|
1866
|
+
if use_args:
|
|
1867
|
+
if not isinstance(value, tuple):
|
|
1868
|
+
value = (value, )
|
|
1869
|
+
member = new_member(enum_class, *value)
|
|
1870
|
+
value = value[0]
|
|
1871
|
+
else:
|
|
1872
|
+
member = new_member(enum_class)
|
|
1873
|
+
if __new__ is None:
|
|
1874
|
+
member._value_ = value
|
|
1875
|
+
# now check if alias
|
|
1876
|
+
try:
|
|
1877
|
+
contained = value2member_map.get(member._value_)
|
|
1878
|
+
except TypeError:
|
|
1879
|
+
contained = None
|
|
1880
|
+
if member._value_ in unhashable_values or member._value_ in hashable_values:
|
|
1881
|
+
for m in enum_class:
|
|
1882
|
+
if m._value_ == member._value_:
|
|
1883
|
+
contained = m
|
|
1884
|
+
break
|
|
1885
|
+
if contained is not None:
|
|
1886
|
+
# an alias to an existing member
|
|
1887
|
+
contained._add_alias_(name)
|
|
1888
|
+
else:
|
|
1889
|
+
# finish creating member
|
|
1890
|
+
member._name_ = name
|
|
1891
|
+
member.__objclass__ = enum_class
|
|
1892
|
+
member.__init__(value)
|
|
1893
|
+
member._sort_order_ = len(member_names)
|
|
1894
|
+
if name not in ('name', 'value'):
|
|
1895
|
+
setattr(enum_class, name, member)
|
|
1896
|
+
member_map[name] = member
|
|
1897
|
+
else:
|
|
1898
|
+
enum_class._add_member_(name, member)
|
|
1899
|
+
member_names.append(name)
|
|
1900
|
+
gnv_last_values.append(value)
|
|
1901
|
+
try:
|
|
1902
|
+
# This may fail if value is not hashable. We can't add the value
|
|
1903
|
+
# to the map, and by-value lookups for this value will be
|
|
1904
|
+
# linear.
|
|
1905
|
+
enum_class._value2member_map_.setdefault(value, member)
|
|
1906
|
+
if value not in hashable_values:
|
|
1907
|
+
hashable_values.append(value)
|
|
1908
|
+
except TypeError:
|
|
1909
|
+
# keep track of the value in a list so containment checks are quick
|
|
1910
|
+
enum_class._unhashable_values_.append(value)
|
|
1911
|
+
enum_class._unhashable_values_map_.setdefault(name, []).append(value)
|
|
1912
|
+
if '__new__' in body:
|
|
1913
|
+
enum_class.__new_member__ = enum_class.__new__
|
|
1914
|
+
enum_class.__new__ = Enum.__new__
|
|
1915
|
+
return enum_class
|
|
1916
|
+
return convert_class
|
|
1917
|
+
|
|
1918
|
+
@_simple_enum(StrEnum)
|
|
1919
|
+
class EnumCheck:
|
|
1920
|
+
"""
|
|
1921
|
+
various conditions to check an enumeration for
|
|
1922
|
+
"""
|
|
1923
|
+
CONTINUOUS = "no skipped integer values"
|
|
1924
|
+
NAMED_FLAGS = "multi-flag aliases may not contain unnamed flags"
|
|
1925
|
+
UNIQUE = "one name per value"
|
|
1926
|
+
CONTINUOUS, NAMED_FLAGS, UNIQUE = EnumCheck
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
class verify:
|
|
1930
|
+
"""
|
|
1931
|
+
Check an enumeration for various constraints. (see EnumCheck)
|
|
1932
|
+
"""
|
|
1933
|
+
def __init__(self, *checks):
|
|
1934
|
+
self.checks = checks
|
|
1935
|
+
def __call__(self, enumeration):
|
|
1936
|
+
checks = self.checks
|
|
1937
|
+
cls_name = enumeration.__name__
|
|
1938
|
+
if Flag is not None and issubclass(enumeration, Flag):
|
|
1939
|
+
enum_type = 'flag'
|
|
1940
|
+
elif issubclass(enumeration, Enum):
|
|
1941
|
+
enum_type = 'enum'
|
|
1942
|
+
else:
|
|
1943
|
+
raise TypeError("the 'verify' decorator only works with Enum and Flag")
|
|
1944
|
+
for check in checks:
|
|
1945
|
+
if check is UNIQUE:
|
|
1946
|
+
# check for duplicate names
|
|
1947
|
+
duplicates = []
|
|
1948
|
+
for name, member in enumeration.__members__.items():
|
|
1949
|
+
if name != member.name:
|
|
1950
|
+
duplicates.append((name, member.name))
|
|
1951
|
+
if duplicates:
|
|
1952
|
+
alias_details = ', '.join(
|
|
1953
|
+
["%s -> %s" % (alias, name) for (alias, name) in duplicates])
|
|
1954
|
+
raise ValueError('aliases found in %r: %s' %
|
|
1955
|
+
(enumeration, alias_details))
|
|
1956
|
+
elif check is CONTINUOUS:
|
|
1957
|
+
values = set(e.value for e in enumeration)
|
|
1958
|
+
if len(values) < 2:
|
|
1959
|
+
continue
|
|
1960
|
+
low, high = min(values), max(values)
|
|
1961
|
+
missing = []
|
|
1962
|
+
if enum_type == 'flag':
|
|
1963
|
+
# check for powers of two
|
|
1964
|
+
for i in range(_high_bit(low)+1, _high_bit(high)):
|
|
1965
|
+
if 2**i not in values:
|
|
1966
|
+
missing.append(2**i)
|
|
1967
|
+
elif enum_type == 'enum':
|
|
1968
|
+
# check for missing consecutive integers
|
|
1969
|
+
for i in range(low+1, high):
|
|
1970
|
+
if i not in values:
|
|
1971
|
+
missing.append(i)
|
|
1972
|
+
else:
|
|
1973
|
+
raise Exception('verify: unknown type %r' % enum_type)
|
|
1974
|
+
if missing:
|
|
1975
|
+
raise ValueError(('invalid %s %r: missing values %s' % (
|
|
1976
|
+
enum_type, cls_name, ', '.join((str(m) for m in missing)))
|
|
1977
|
+
)[:256])
|
|
1978
|
+
# limit max length to protect against DOS attacks
|
|
1979
|
+
elif check is NAMED_FLAGS:
|
|
1980
|
+
# examine each alias and check for unnamed flags
|
|
1981
|
+
member_names = enumeration._member_names_
|
|
1982
|
+
member_values = [m.value for m in enumeration]
|
|
1983
|
+
missing_names = []
|
|
1984
|
+
missing_value = 0
|
|
1985
|
+
for name, alias in enumeration._member_map_.items():
|
|
1986
|
+
if name in member_names:
|
|
1987
|
+
# not an alias
|
|
1988
|
+
continue
|
|
1989
|
+
if alias.value < 0:
|
|
1990
|
+
# negative numbers are not checked
|
|
1991
|
+
continue
|
|
1992
|
+
values = list(_iter_bits_lsb(alias.value))
|
|
1993
|
+
missed = [v for v in values if v not in member_values]
|
|
1994
|
+
if missed:
|
|
1995
|
+
missing_names.append(name)
|
|
1996
|
+
for val in missed:
|
|
1997
|
+
missing_value |= val
|
|
1998
|
+
if missing_names:
|
|
1999
|
+
if len(missing_names) == 1:
|
|
2000
|
+
alias = 'alias %s is missing' % missing_names[0]
|
|
2001
|
+
else:
|
|
2002
|
+
alias = 'aliases %s and %s are missing' % (
|
|
2003
|
+
', '.join(missing_names[:-1]), missing_names[-1]
|
|
2004
|
+
)
|
|
2005
|
+
if _is_single_bit(missing_value):
|
|
2006
|
+
value = 'value 0x%x' % missing_value
|
|
2007
|
+
else:
|
|
2008
|
+
value = 'combined values of 0x%x' % missing_value
|
|
2009
|
+
raise ValueError(
|
|
2010
|
+
'invalid Flag %r: %s %s [use enum.show_flag_values(value) for details]'
|
|
2011
|
+
% (cls_name, alias, value)
|
|
2012
|
+
)
|
|
2013
|
+
return enumeration
|
|
2014
|
+
|
|
2015
|
+
def _test_simple_enum(checked_enum, simple_enum):
|
|
2016
|
+
"""
|
|
2017
|
+
A function that can be used to test an enum created with :func:`_simple_enum`
|
|
2018
|
+
against the version created by subclassing :class:`Enum`::
|
|
2019
|
+
|
|
2020
|
+
>>> from enum import Enum, _simple_enum, _test_simple_enum
|
|
2021
|
+
>>> @_simple_enum(Enum)
|
|
2022
|
+
... class Color:
|
|
2023
|
+
... RED = auto()
|
|
2024
|
+
... GREEN = auto()
|
|
2025
|
+
... BLUE = auto()
|
|
2026
|
+
>>> class CheckedColor(Enum):
|
|
2027
|
+
... RED = auto()
|
|
2028
|
+
... GREEN = auto()
|
|
2029
|
+
... BLUE = auto()
|
|
2030
|
+
>>> _test_simple_enum(CheckedColor, Color)
|
|
2031
|
+
|
|
2032
|
+
If differences are found, a :exc:`TypeError` is raised.
|
|
2033
|
+
"""
|
|
2034
|
+
failed = []
|
|
2035
|
+
if checked_enum.__dict__ != simple_enum.__dict__:
|
|
2036
|
+
checked_dict = checked_enum.__dict__
|
|
2037
|
+
checked_keys = list(checked_dict.keys())
|
|
2038
|
+
simple_dict = simple_enum.__dict__
|
|
2039
|
+
simple_keys = list(simple_dict.keys())
|
|
2040
|
+
member_names = set(
|
|
2041
|
+
list(checked_enum._member_map_.keys())
|
|
2042
|
+
+ list(simple_enum._member_map_.keys())
|
|
2043
|
+
)
|
|
2044
|
+
for key in set(checked_keys + simple_keys):
|
|
2045
|
+
if key in ('__module__', '_member_map_', '_value2member_map_', '__doc__',
|
|
2046
|
+
'__static_attributes__', '__firstlineno__'):
|
|
2047
|
+
# keys known to be different, or very long
|
|
2048
|
+
continue
|
|
2049
|
+
elif key in member_names:
|
|
2050
|
+
# members are checked below
|
|
2051
|
+
continue
|
|
2052
|
+
elif key not in simple_keys:
|
|
2053
|
+
failed.append("missing key: %r" % (key, ))
|
|
2054
|
+
elif key not in checked_keys:
|
|
2055
|
+
failed.append("extra key: %r" % (key, ))
|
|
2056
|
+
else:
|
|
2057
|
+
checked_value = checked_dict[key]
|
|
2058
|
+
simple_value = simple_dict[key]
|
|
2059
|
+
if callable(checked_value) or isinstance(checked_value, bltns.property):
|
|
2060
|
+
continue
|
|
2061
|
+
if key == '__doc__':
|
|
2062
|
+
# remove all spaces/tabs
|
|
2063
|
+
compressed_checked_value = checked_value.replace(' ','').replace('\t','')
|
|
2064
|
+
compressed_simple_value = simple_value.replace(' ','').replace('\t','')
|
|
2065
|
+
if compressed_checked_value != compressed_simple_value:
|
|
2066
|
+
failed.append("%r:\n %s\n %s" % (
|
|
2067
|
+
key,
|
|
2068
|
+
"checked -> %r" % (checked_value, ),
|
|
2069
|
+
"simple -> %r" % (simple_value, ),
|
|
2070
|
+
))
|
|
2071
|
+
elif checked_value != simple_value:
|
|
2072
|
+
failed.append("%r:\n %s\n %s" % (
|
|
2073
|
+
key,
|
|
2074
|
+
"checked -> %r" % (checked_value, ),
|
|
2075
|
+
"simple -> %r" % (simple_value, ),
|
|
2076
|
+
))
|
|
2077
|
+
failed.sort()
|
|
2078
|
+
for name in member_names:
|
|
2079
|
+
failed_member = []
|
|
2080
|
+
if name not in simple_keys:
|
|
2081
|
+
failed.append('missing member from simple enum: %r' % name)
|
|
2082
|
+
elif name not in checked_keys:
|
|
2083
|
+
failed.append('extra member in simple enum: %r' % name)
|
|
2084
|
+
else:
|
|
2085
|
+
checked_member_dict = checked_enum[name].__dict__
|
|
2086
|
+
checked_member_keys = list(checked_member_dict.keys())
|
|
2087
|
+
simple_member_dict = simple_enum[name].__dict__
|
|
2088
|
+
simple_member_keys = list(simple_member_dict.keys())
|
|
2089
|
+
for key in set(checked_member_keys + simple_member_keys):
|
|
2090
|
+
if key in ('__module__', '__objclass__', '_inverted_'):
|
|
2091
|
+
# keys known to be different or absent
|
|
2092
|
+
continue
|
|
2093
|
+
elif key not in simple_member_keys:
|
|
2094
|
+
failed_member.append("missing key %r not in the simple enum member %r" % (key, name))
|
|
2095
|
+
elif key not in checked_member_keys:
|
|
2096
|
+
failed_member.append("extra key %r in simple enum member %r" % (key, name))
|
|
2097
|
+
else:
|
|
2098
|
+
checked_value = checked_member_dict[key]
|
|
2099
|
+
simple_value = simple_member_dict[key]
|
|
2100
|
+
if checked_value != simple_value:
|
|
2101
|
+
failed_member.append("%r:\n %s\n %s" % (
|
|
2102
|
+
key,
|
|
2103
|
+
"checked member -> %r" % (checked_value, ),
|
|
2104
|
+
"simple member -> %r" % (simple_value, ),
|
|
2105
|
+
))
|
|
2106
|
+
if failed_member:
|
|
2107
|
+
failed.append('%r member mismatch:\n %s' % (
|
|
2108
|
+
name, '\n '.join(failed_member),
|
|
2109
|
+
))
|
|
2110
|
+
for method in (
|
|
2111
|
+
'__str__', '__repr__', '__reduce_ex__', '__format__',
|
|
2112
|
+
'__getnewargs_ex__', '__getnewargs__', '__reduce_ex__', '__reduce__'
|
|
2113
|
+
):
|
|
2114
|
+
if method in simple_keys and method in checked_keys:
|
|
2115
|
+
# cannot compare functions, and it exists in both, so we're good
|
|
2116
|
+
continue
|
|
2117
|
+
elif method not in simple_keys and method not in checked_keys:
|
|
2118
|
+
# method is inherited -- check it out
|
|
2119
|
+
checked_method = getattr(checked_enum, method, None)
|
|
2120
|
+
simple_method = getattr(simple_enum, method, None)
|
|
2121
|
+
if hasattr(checked_method, '__func__'):
|
|
2122
|
+
checked_method = checked_method.__func__
|
|
2123
|
+
simple_method = simple_method.__func__
|
|
2124
|
+
if checked_method != simple_method:
|
|
2125
|
+
failed.append("%r: %-30s %s" % (
|
|
2126
|
+
method,
|
|
2127
|
+
"checked -> %r" % (checked_method, ),
|
|
2128
|
+
"simple -> %r" % (simple_method, ),
|
|
2129
|
+
))
|
|
2130
|
+
else:
|
|
2131
|
+
# if the method existed in only one of the enums, it will have been caught
|
|
2132
|
+
# in the first checks above
|
|
2133
|
+
pass
|
|
2134
|
+
if failed:
|
|
2135
|
+
raise TypeError('enum mismatch:\n %s' % '\n '.join(failed))
|
|
2136
|
+
|
|
2137
|
+
def _old_convert_(etype, name, module, filter, source=None, *, boundary=None):
|
|
2138
|
+
"""
|
|
2139
|
+
Create a new Enum subclass that replaces a collection of global constants
|
|
2140
|
+
"""
|
|
2141
|
+
# convert all constants from source (or module) that pass filter() to
|
|
2142
|
+
# a new Enum called name, and export the enum and its members back to
|
|
2143
|
+
# module;
|
|
2144
|
+
# also, replace the __reduce_ex__ method so unpickling works in
|
|
2145
|
+
# previous Python versions
|
|
2146
|
+
module_globals = sys.modules[module].__dict__
|
|
2147
|
+
if source:
|
|
2148
|
+
source = source.__dict__
|
|
2149
|
+
else:
|
|
2150
|
+
source = module_globals
|
|
2151
|
+
# _value2member_map_ is populated in the same order every time
|
|
2152
|
+
# for a consistent reverse mapping of number to name when there
|
|
2153
|
+
# are multiple names for the same number.
|
|
2154
|
+
members = [
|
|
2155
|
+
(name, value)
|
|
2156
|
+
for name, value in source.items()
|
|
2157
|
+
if filter(name)]
|
|
2158
|
+
try:
|
|
2159
|
+
# sort by value
|
|
2160
|
+
members.sort(key=lambda t: (t[1], t[0]))
|
|
2161
|
+
except TypeError:
|
|
2162
|
+
# unless some values aren't comparable, in which case sort by name
|
|
2163
|
+
members.sort(key=lambda t: t[0])
|
|
2164
|
+
cls = etype(name, members, module=module, boundary=boundary or KEEP)
|
|
2165
|
+
return cls
|
|
2166
|
+
|
|
2167
|
+
_stdlib_enums = IntEnum, StrEnum, IntFlag
|