@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,2876 @@
|
|
|
1
|
+
"""Generate Python documentation in HTML or text for interactive use.
|
|
2
|
+
|
|
3
|
+
At the Python interactive prompt, calling help(thing) on a Python object
|
|
4
|
+
documents the object, and calling help() starts up an interactive
|
|
5
|
+
help session.
|
|
6
|
+
|
|
7
|
+
Or, at the shell command line outside of Python:
|
|
8
|
+
|
|
9
|
+
Run "pydoc <name>" to show documentation on something. <name> may be
|
|
10
|
+
the name of a function, module, package, or a dotted reference to a
|
|
11
|
+
class or function within a module or module in a package. If the
|
|
12
|
+
argument contains a path segment delimiter (e.g. slash on Unix,
|
|
13
|
+
backslash on Windows) it is treated as the path to a Python source file.
|
|
14
|
+
|
|
15
|
+
Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines
|
|
16
|
+
of all available modules.
|
|
17
|
+
|
|
18
|
+
Run "pydoc -n <hostname>" to start an HTTP server with the given
|
|
19
|
+
hostname (default: localhost) on the local machine.
|
|
20
|
+
|
|
21
|
+
Run "pydoc -p <port>" to start an HTTP server on the given port on the
|
|
22
|
+
local machine. Port number 0 can be used to get an arbitrary unused port.
|
|
23
|
+
|
|
24
|
+
Run "pydoc -b" to start an HTTP server on an arbitrary unused port and
|
|
25
|
+
open a web browser to interactively browse documentation. Combine with
|
|
26
|
+
the -n and -p options to control the hostname and port used.
|
|
27
|
+
|
|
28
|
+
Run "pydoc -w <name>" to write out the HTML documentation for a module
|
|
29
|
+
to a file named "<name>.html".
|
|
30
|
+
|
|
31
|
+
Module docs for core modules are assumed to be in
|
|
32
|
+
|
|
33
|
+
https://docs.python.org/X.Y/library/
|
|
34
|
+
|
|
35
|
+
This can be overridden by setting the PYTHONDOCS environment variable
|
|
36
|
+
to a different URL or to a local directory containing the Library
|
|
37
|
+
Reference Manual pages.
|
|
38
|
+
"""
|
|
39
|
+
__all__ = ['help']
|
|
40
|
+
__author__ = "Ka-Ping Yee <ping@lfw.org>"
|
|
41
|
+
__date__ = "26 February 2001"
|
|
42
|
+
|
|
43
|
+
__credits__ = """Guido van Rossum, for an excellent programming language.
|
|
44
|
+
Tommy Burnette, the original creator of manpy.
|
|
45
|
+
Paul Prescod, for all his work on onlinehelp.
|
|
46
|
+
Richard Chamberlain, for the first implementation of textdoc.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
# Known bugs that can't be fixed here:
|
|
50
|
+
# - synopsis() cannot be prevented from clobbering existing
|
|
51
|
+
# loaded modules.
|
|
52
|
+
# - If the __file__ attribute on a module is a relative path and
|
|
53
|
+
# the current directory is changed with os.chdir(), an incorrect
|
|
54
|
+
# path will be displayed.
|
|
55
|
+
|
|
56
|
+
import ast
|
|
57
|
+
import __future__
|
|
58
|
+
import builtins
|
|
59
|
+
import importlib._bootstrap
|
|
60
|
+
import importlib._bootstrap_external
|
|
61
|
+
import importlib.machinery
|
|
62
|
+
import importlib.util
|
|
63
|
+
import inspect
|
|
64
|
+
import io
|
|
65
|
+
import os
|
|
66
|
+
import pkgutil
|
|
67
|
+
import platform
|
|
68
|
+
import re
|
|
69
|
+
import sys
|
|
70
|
+
import sysconfig
|
|
71
|
+
import textwrap
|
|
72
|
+
import time
|
|
73
|
+
import tokenize
|
|
74
|
+
import urllib.parse
|
|
75
|
+
import warnings
|
|
76
|
+
from annotationlib import Format
|
|
77
|
+
from collections import deque
|
|
78
|
+
from reprlib import Repr
|
|
79
|
+
from traceback import format_exception_only
|
|
80
|
+
|
|
81
|
+
from _pyrepl.pager import (get_pager, pipe_pager,
|
|
82
|
+
plain_pager, tempfile_pager, tty_pager)
|
|
83
|
+
|
|
84
|
+
# Expose plain() as pydoc.plain()
|
|
85
|
+
from _pyrepl.pager import plain # noqa: F401
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
# --------------------------------------------------------- old names
|
|
89
|
+
|
|
90
|
+
getpager = get_pager
|
|
91
|
+
pipepager = pipe_pager
|
|
92
|
+
plainpager = plain_pager
|
|
93
|
+
tempfilepager = tempfile_pager
|
|
94
|
+
ttypager = tty_pager
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
# --------------------------------------------------------- common routines
|
|
98
|
+
|
|
99
|
+
def pathdirs():
|
|
100
|
+
"""Convert sys.path into a list of absolute, existing, unique paths."""
|
|
101
|
+
dirs = []
|
|
102
|
+
normdirs = []
|
|
103
|
+
for dir in sys.path:
|
|
104
|
+
dir = os.path.abspath(dir or '.')
|
|
105
|
+
normdir = os.path.normcase(dir)
|
|
106
|
+
if normdir not in normdirs and os.path.isdir(dir):
|
|
107
|
+
dirs.append(dir)
|
|
108
|
+
normdirs.append(normdir)
|
|
109
|
+
return dirs
|
|
110
|
+
|
|
111
|
+
def _findclass(func):
|
|
112
|
+
cls = sys.modules.get(func.__module__)
|
|
113
|
+
if cls is None:
|
|
114
|
+
return None
|
|
115
|
+
for name in func.__qualname__.split('.')[:-1]:
|
|
116
|
+
cls = getattr(cls, name)
|
|
117
|
+
if not inspect.isclass(cls):
|
|
118
|
+
return None
|
|
119
|
+
return cls
|
|
120
|
+
|
|
121
|
+
def _finddoc(obj):
|
|
122
|
+
if inspect.ismethod(obj):
|
|
123
|
+
name = obj.__func__.__name__
|
|
124
|
+
self = obj.__self__
|
|
125
|
+
if (inspect.isclass(self) and
|
|
126
|
+
getattr(getattr(self, name, None), '__func__') is obj.__func__):
|
|
127
|
+
# classmethod
|
|
128
|
+
cls = self
|
|
129
|
+
else:
|
|
130
|
+
cls = self.__class__
|
|
131
|
+
elif inspect.isfunction(obj):
|
|
132
|
+
name = obj.__name__
|
|
133
|
+
cls = _findclass(obj)
|
|
134
|
+
if cls is None or getattr(cls, name) is not obj:
|
|
135
|
+
return None
|
|
136
|
+
elif inspect.isbuiltin(obj):
|
|
137
|
+
name = obj.__name__
|
|
138
|
+
self = obj.__self__
|
|
139
|
+
if (inspect.isclass(self) and
|
|
140
|
+
self.__qualname__ + '.' + name == obj.__qualname__):
|
|
141
|
+
# classmethod
|
|
142
|
+
cls = self
|
|
143
|
+
else:
|
|
144
|
+
cls = self.__class__
|
|
145
|
+
# Should be tested before isdatadescriptor().
|
|
146
|
+
elif isinstance(obj, property):
|
|
147
|
+
name = obj.__name__
|
|
148
|
+
cls = _findclass(obj.fget)
|
|
149
|
+
if cls is None or getattr(cls, name) is not obj:
|
|
150
|
+
return None
|
|
151
|
+
elif inspect.ismethoddescriptor(obj) or inspect.isdatadescriptor(obj):
|
|
152
|
+
name = obj.__name__
|
|
153
|
+
cls = obj.__objclass__
|
|
154
|
+
if getattr(cls, name) is not obj:
|
|
155
|
+
return None
|
|
156
|
+
if inspect.ismemberdescriptor(obj):
|
|
157
|
+
slots = getattr(cls, '__slots__', None)
|
|
158
|
+
if isinstance(slots, dict) and name in slots:
|
|
159
|
+
return slots[name]
|
|
160
|
+
else:
|
|
161
|
+
return None
|
|
162
|
+
for base in cls.__mro__:
|
|
163
|
+
try:
|
|
164
|
+
doc = _getowndoc(getattr(base, name))
|
|
165
|
+
except AttributeError:
|
|
166
|
+
continue
|
|
167
|
+
if doc is not None:
|
|
168
|
+
return doc
|
|
169
|
+
return None
|
|
170
|
+
|
|
171
|
+
def _getowndoc(obj):
|
|
172
|
+
"""Get the documentation string for an object if it is not
|
|
173
|
+
inherited from its class."""
|
|
174
|
+
try:
|
|
175
|
+
doc = object.__getattribute__(obj, '__doc__')
|
|
176
|
+
if doc is None:
|
|
177
|
+
return None
|
|
178
|
+
if obj is not type:
|
|
179
|
+
typedoc = type(obj).__doc__
|
|
180
|
+
if isinstance(typedoc, str) and typedoc == doc:
|
|
181
|
+
return None
|
|
182
|
+
return doc
|
|
183
|
+
except AttributeError:
|
|
184
|
+
return None
|
|
185
|
+
|
|
186
|
+
def _getdoc(object):
|
|
187
|
+
"""Get the documentation string for an object.
|
|
188
|
+
|
|
189
|
+
All tabs are expanded to spaces. To clean up docstrings that are
|
|
190
|
+
indented to line up with blocks of code, any whitespace than can be
|
|
191
|
+
uniformly removed from the second line onwards is removed."""
|
|
192
|
+
doc = _getowndoc(object)
|
|
193
|
+
if doc is None:
|
|
194
|
+
try:
|
|
195
|
+
doc = _finddoc(object)
|
|
196
|
+
except (AttributeError, TypeError):
|
|
197
|
+
return None
|
|
198
|
+
if not isinstance(doc, str):
|
|
199
|
+
return None
|
|
200
|
+
return inspect.cleandoc(doc)
|
|
201
|
+
|
|
202
|
+
def getdoc(object):
|
|
203
|
+
"""Get the doc string or comments for an object."""
|
|
204
|
+
result = _getdoc(object) or inspect.getcomments(object)
|
|
205
|
+
return result and re.sub('^ *\n', '', result.rstrip()) or ''
|
|
206
|
+
|
|
207
|
+
def splitdoc(doc):
|
|
208
|
+
"""Split a doc string into a synopsis line (if any) and the rest."""
|
|
209
|
+
lines = doc.strip().split('\n')
|
|
210
|
+
if len(lines) == 1:
|
|
211
|
+
return lines[0], ''
|
|
212
|
+
elif len(lines) >= 2 and not lines[1].rstrip():
|
|
213
|
+
return lines[0], '\n'.join(lines[2:])
|
|
214
|
+
return '', '\n'.join(lines)
|
|
215
|
+
|
|
216
|
+
def _getargspec(object):
|
|
217
|
+
try:
|
|
218
|
+
signature = inspect.signature(object, annotation_format=Format.STRING)
|
|
219
|
+
if signature:
|
|
220
|
+
name = getattr(object, '__name__', '')
|
|
221
|
+
# <lambda> function are always single-line and should not be formatted
|
|
222
|
+
max_width = (80 - len(name)) if name != '<lambda>' else None
|
|
223
|
+
return signature.format(max_width=max_width, quote_annotation_strings=False)
|
|
224
|
+
except (ValueError, TypeError):
|
|
225
|
+
argspec = getattr(object, '__text_signature__', None)
|
|
226
|
+
if argspec:
|
|
227
|
+
if argspec[:2] == '($':
|
|
228
|
+
argspec = '(' + argspec[2:]
|
|
229
|
+
if getattr(object, '__self__', None) is not None:
|
|
230
|
+
# Strip the bound argument.
|
|
231
|
+
m = re.match(r'\(\w+(?:(?=\))|,\s*(?:/(?:(?=\))|,\s*))?)', argspec)
|
|
232
|
+
if m:
|
|
233
|
+
argspec = '(' + argspec[m.end():]
|
|
234
|
+
return argspec
|
|
235
|
+
return None
|
|
236
|
+
|
|
237
|
+
def classname(object, modname):
|
|
238
|
+
"""Get a class name and qualify it with a module name if necessary."""
|
|
239
|
+
name = object.__name__
|
|
240
|
+
if object.__module__ != modname:
|
|
241
|
+
name = object.__module__ + '.' + name
|
|
242
|
+
return name
|
|
243
|
+
|
|
244
|
+
def parentname(object, modname):
|
|
245
|
+
"""Get a name of the enclosing class (qualified it with a module name
|
|
246
|
+
if necessary) or module."""
|
|
247
|
+
if '.' in object.__qualname__:
|
|
248
|
+
name = object.__qualname__.rpartition('.')[0]
|
|
249
|
+
if object.__module__ != modname and object.__module__ is not None:
|
|
250
|
+
return object.__module__ + '.' + name
|
|
251
|
+
else:
|
|
252
|
+
return name
|
|
253
|
+
else:
|
|
254
|
+
if object.__module__ != modname:
|
|
255
|
+
return object.__module__
|
|
256
|
+
|
|
257
|
+
def isdata(object):
|
|
258
|
+
"""Check if an object is of a type that probably means it's data."""
|
|
259
|
+
return not (inspect.ismodule(object) or inspect.isclass(object) or
|
|
260
|
+
inspect.isroutine(object) or inspect.isframe(object) or
|
|
261
|
+
inspect.istraceback(object) or inspect.iscode(object))
|
|
262
|
+
|
|
263
|
+
def replace(text, *pairs):
|
|
264
|
+
"""Do a series of global replacements on a string."""
|
|
265
|
+
while pairs:
|
|
266
|
+
text = pairs[1].join(text.split(pairs[0]))
|
|
267
|
+
pairs = pairs[2:]
|
|
268
|
+
return text
|
|
269
|
+
|
|
270
|
+
def cram(text, maxlen):
|
|
271
|
+
"""Omit part of a string if needed to make it fit in a maximum length."""
|
|
272
|
+
if len(text) > maxlen:
|
|
273
|
+
pre = max(0, (maxlen-3)//2)
|
|
274
|
+
post = max(0, maxlen-3-pre)
|
|
275
|
+
return text[:pre] + '...' + text[len(text)-post:]
|
|
276
|
+
return text
|
|
277
|
+
|
|
278
|
+
_re_stripid = re.compile(r' at 0x[0-9a-f]{6,16}(>+)$', re.IGNORECASE)
|
|
279
|
+
def stripid(text):
|
|
280
|
+
"""Remove the hexadecimal id from a Python object representation."""
|
|
281
|
+
# The behaviour of %p is implementation-dependent in terms of case.
|
|
282
|
+
return _re_stripid.sub(r'\1', text)
|
|
283
|
+
|
|
284
|
+
def _is_bound_method(fn):
|
|
285
|
+
"""
|
|
286
|
+
Returns True if fn is a bound method, regardless of whether
|
|
287
|
+
fn was implemented in Python or in C.
|
|
288
|
+
"""
|
|
289
|
+
if inspect.ismethod(fn):
|
|
290
|
+
return True
|
|
291
|
+
if inspect.isbuiltin(fn):
|
|
292
|
+
self = getattr(fn, '__self__', None)
|
|
293
|
+
return not (inspect.ismodule(self) or (self is None))
|
|
294
|
+
return False
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
def allmethods(cl):
|
|
298
|
+
methods = {}
|
|
299
|
+
for key, value in inspect.getmembers(cl, inspect.isroutine):
|
|
300
|
+
methods[key] = 1
|
|
301
|
+
for base in cl.__bases__:
|
|
302
|
+
methods.update(allmethods(base)) # all your base are belong to us
|
|
303
|
+
for key in methods.keys():
|
|
304
|
+
methods[key] = getattr(cl, key)
|
|
305
|
+
return methods
|
|
306
|
+
|
|
307
|
+
def _split_list(s, predicate):
|
|
308
|
+
"""Split sequence s via predicate, and return pair ([true], [false]).
|
|
309
|
+
|
|
310
|
+
The return value is a 2-tuple of lists,
|
|
311
|
+
([x for x in s if predicate(x)],
|
|
312
|
+
[x for x in s if not predicate(x)])
|
|
313
|
+
"""
|
|
314
|
+
|
|
315
|
+
yes = []
|
|
316
|
+
no = []
|
|
317
|
+
for x in s:
|
|
318
|
+
if predicate(x):
|
|
319
|
+
yes.append(x)
|
|
320
|
+
else:
|
|
321
|
+
no.append(x)
|
|
322
|
+
return yes, no
|
|
323
|
+
|
|
324
|
+
_future_feature_names = set(__future__.all_feature_names)
|
|
325
|
+
|
|
326
|
+
def visiblename(name, all=None, obj=None):
|
|
327
|
+
"""Decide whether to show documentation on a variable."""
|
|
328
|
+
# Certain special names are redundant or internal.
|
|
329
|
+
# XXX Remove __initializing__?
|
|
330
|
+
if name in {'__author__', '__builtins__', '__cached__', '__credits__',
|
|
331
|
+
'__date__', '__doc__', '__file__', '__spec__',
|
|
332
|
+
'__loader__', '__module__', '__name__', '__package__',
|
|
333
|
+
'__path__', '__qualname__', '__slots__', '__version__',
|
|
334
|
+
'__static_attributes__', '__firstlineno__',
|
|
335
|
+
'__annotate_func__', '__annotations_cache__'}:
|
|
336
|
+
return 0
|
|
337
|
+
# Private names are hidden, but special names are displayed.
|
|
338
|
+
if name.startswith('__') and name.endswith('__'): return 1
|
|
339
|
+
# Namedtuples have public fields and methods with a single leading underscore
|
|
340
|
+
if name.startswith('_') and hasattr(obj, '_fields'):
|
|
341
|
+
return True
|
|
342
|
+
# Ignore __future__ imports.
|
|
343
|
+
if obj is not __future__ and name in _future_feature_names:
|
|
344
|
+
if isinstance(getattr(obj, name, None), __future__._Feature):
|
|
345
|
+
return False
|
|
346
|
+
if all is not None:
|
|
347
|
+
# only document that which the programmer exported in __all__
|
|
348
|
+
return name in all
|
|
349
|
+
else:
|
|
350
|
+
return not name.startswith('_')
|
|
351
|
+
|
|
352
|
+
def classify_class_attrs(object):
|
|
353
|
+
"""Wrap inspect.classify_class_attrs, with fixup for data descriptors and bound methods."""
|
|
354
|
+
results = []
|
|
355
|
+
for (name, kind, cls, value) in inspect.classify_class_attrs(object):
|
|
356
|
+
if inspect.isdatadescriptor(value):
|
|
357
|
+
kind = 'data descriptor'
|
|
358
|
+
if isinstance(value, property) and value.fset is None:
|
|
359
|
+
kind = 'readonly property'
|
|
360
|
+
elif kind == 'method' and _is_bound_method(value):
|
|
361
|
+
kind = 'static method'
|
|
362
|
+
results.append((name, kind, cls, value))
|
|
363
|
+
return results
|
|
364
|
+
|
|
365
|
+
def sort_attributes(attrs, object):
|
|
366
|
+
'Sort the attrs list in-place by _fields and then alphabetically by name'
|
|
367
|
+
# This allows data descriptors to be ordered according
|
|
368
|
+
# to a _fields attribute if present.
|
|
369
|
+
fields = getattr(object, '_fields', [])
|
|
370
|
+
try:
|
|
371
|
+
field_order = {name : i-len(fields) for (i, name) in enumerate(fields)}
|
|
372
|
+
except TypeError:
|
|
373
|
+
field_order = {}
|
|
374
|
+
keyfunc = lambda attr: (field_order.get(attr[0], 0), attr[0])
|
|
375
|
+
attrs.sort(key=keyfunc)
|
|
376
|
+
|
|
377
|
+
# ----------------------------------------------------- module manipulation
|
|
378
|
+
|
|
379
|
+
def ispackage(path):
|
|
380
|
+
"""Guess whether a path refers to a package directory."""
|
|
381
|
+
warnings.warn('The pydoc.ispackage() function is deprecated',
|
|
382
|
+
DeprecationWarning, stacklevel=2)
|
|
383
|
+
if os.path.isdir(path):
|
|
384
|
+
for ext in ('.py', '.pyc'):
|
|
385
|
+
if os.path.isfile(os.path.join(path, '__init__' + ext)):
|
|
386
|
+
return True
|
|
387
|
+
return False
|
|
388
|
+
|
|
389
|
+
def source_synopsis(file):
|
|
390
|
+
"""Return the one-line summary of a file object, if present"""
|
|
391
|
+
|
|
392
|
+
string = ''
|
|
393
|
+
try:
|
|
394
|
+
tokens = tokenize.generate_tokens(file.readline)
|
|
395
|
+
for tok_type, tok_string, _, _, _ in tokens:
|
|
396
|
+
if tok_type == tokenize.STRING:
|
|
397
|
+
string += tok_string
|
|
398
|
+
elif tok_type == tokenize.NEWLINE:
|
|
399
|
+
with warnings.catch_warnings():
|
|
400
|
+
# Ignore the "invalid escape sequence" warning.
|
|
401
|
+
warnings.simplefilter("ignore", SyntaxWarning)
|
|
402
|
+
docstring = ast.literal_eval(string)
|
|
403
|
+
if not isinstance(docstring, str):
|
|
404
|
+
return None
|
|
405
|
+
return docstring.strip().split('\n')[0].strip()
|
|
406
|
+
elif tok_type == tokenize.OP and tok_string in ('(', ')'):
|
|
407
|
+
string += tok_string
|
|
408
|
+
elif tok_type not in (tokenize.COMMENT, tokenize.NL, tokenize.ENCODING):
|
|
409
|
+
return None
|
|
410
|
+
except (tokenize.TokenError, UnicodeDecodeError, SyntaxError):
|
|
411
|
+
return None
|
|
412
|
+
return None
|
|
413
|
+
|
|
414
|
+
def synopsis(filename, cache={}):
|
|
415
|
+
"""Get the one-line summary out of a module file."""
|
|
416
|
+
mtime = os.stat(filename).st_mtime
|
|
417
|
+
lastupdate, result = cache.get(filename, (None, None))
|
|
418
|
+
if lastupdate is None or lastupdate < mtime:
|
|
419
|
+
# Look for binary suffixes first, falling back to source.
|
|
420
|
+
if filename.endswith(tuple(importlib.machinery.BYTECODE_SUFFIXES)):
|
|
421
|
+
loader_cls = importlib.machinery.SourcelessFileLoader
|
|
422
|
+
elif filename.endswith(tuple(importlib.machinery.EXTENSION_SUFFIXES)):
|
|
423
|
+
loader_cls = importlib.machinery.ExtensionFileLoader
|
|
424
|
+
else:
|
|
425
|
+
loader_cls = None
|
|
426
|
+
# Now handle the choice.
|
|
427
|
+
if loader_cls is None:
|
|
428
|
+
# Must be a source file.
|
|
429
|
+
try:
|
|
430
|
+
file = tokenize.open(filename)
|
|
431
|
+
except OSError:
|
|
432
|
+
# module can't be opened, so skip it
|
|
433
|
+
return None
|
|
434
|
+
# text modules can be directly examined
|
|
435
|
+
with file:
|
|
436
|
+
result = source_synopsis(file)
|
|
437
|
+
else:
|
|
438
|
+
# Must be a binary module, which has to be imported.
|
|
439
|
+
loader = loader_cls('__temp__', filename)
|
|
440
|
+
# XXX We probably don't need to pass in the loader here.
|
|
441
|
+
spec = importlib.util.spec_from_file_location('__temp__', filename,
|
|
442
|
+
loader=loader)
|
|
443
|
+
try:
|
|
444
|
+
module = importlib._bootstrap._load(spec)
|
|
445
|
+
except:
|
|
446
|
+
return None
|
|
447
|
+
del sys.modules['__temp__']
|
|
448
|
+
result = module.__doc__.splitlines()[0] if module.__doc__ else None
|
|
449
|
+
# Cache the result.
|
|
450
|
+
cache[filename] = (mtime, result)
|
|
451
|
+
return result
|
|
452
|
+
|
|
453
|
+
class ErrorDuringImport(Exception):
|
|
454
|
+
"""Errors that occurred while trying to import something to document it."""
|
|
455
|
+
def __init__(self, filename, exc_info):
|
|
456
|
+
if not isinstance(exc_info, tuple):
|
|
457
|
+
assert isinstance(exc_info, BaseException)
|
|
458
|
+
self.exc = type(exc_info)
|
|
459
|
+
self.value = exc_info
|
|
460
|
+
self.tb = exc_info.__traceback__
|
|
461
|
+
else:
|
|
462
|
+
warnings.warn("A tuple value for exc_info is deprecated, use an exception instance",
|
|
463
|
+
DeprecationWarning)
|
|
464
|
+
|
|
465
|
+
self.exc, self.value, self.tb = exc_info
|
|
466
|
+
self.filename = filename
|
|
467
|
+
|
|
468
|
+
def __str__(self):
|
|
469
|
+
exc = self.exc.__name__
|
|
470
|
+
return 'problem in %s - %s: %s' % (self.filename, exc, self.value)
|
|
471
|
+
|
|
472
|
+
def importfile(path):
|
|
473
|
+
"""Import a Python source file or compiled file given its path."""
|
|
474
|
+
magic = importlib.util.MAGIC_NUMBER
|
|
475
|
+
with open(path, 'rb') as file:
|
|
476
|
+
is_bytecode = magic == file.read(len(magic))
|
|
477
|
+
filename = os.path.basename(path)
|
|
478
|
+
name, ext = os.path.splitext(filename)
|
|
479
|
+
if is_bytecode:
|
|
480
|
+
loader = importlib._bootstrap_external.SourcelessFileLoader(name, path)
|
|
481
|
+
else:
|
|
482
|
+
loader = importlib._bootstrap_external.SourceFileLoader(name, path)
|
|
483
|
+
# XXX We probably don't need to pass in the loader here.
|
|
484
|
+
spec = importlib.util.spec_from_file_location(name, path, loader=loader)
|
|
485
|
+
try:
|
|
486
|
+
return importlib._bootstrap._load(spec)
|
|
487
|
+
except BaseException as err:
|
|
488
|
+
raise ErrorDuringImport(path, err)
|
|
489
|
+
|
|
490
|
+
def safeimport(path, forceload=0, cache={}):
|
|
491
|
+
"""Import a module; handle errors; return None if the module isn't found.
|
|
492
|
+
|
|
493
|
+
If the module *is* found but an exception occurs, it's wrapped in an
|
|
494
|
+
ErrorDuringImport exception and reraised. Unlike __import__, if a
|
|
495
|
+
package path is specified, the module at the end of the path is returned,
|
|
496
|
+
not the package at the beginning. If the optional 'forceload' argument
|
|
497
|
+
is 1, we reload the module from disk (unless it's a dynamic extension)."""
|
|
498
|
+
try:
|
|
499
|
+
# If forceload is 1 and the module has been previously loaded from
|
|
500
|
+
# disk, we always have to reload the module. Checking the file's
|
|
501
|
+
# mtime isn't good enough (e.g. the module could contain a class
|
|
502
|
+
# that inherits from another module that has changed).
|
|
503
|
+
if forceload and path in sys.modules:
|
|
504
|
+
if path not in sys.builtin_module_names:
|
|
505
|
+
# Remove the module from sys.modules and re-import to try
|
|
506
|
+
# and avoid problems with partially loaded modules.
|
|
507
|
+
# Also remove any submodules because they won't appear
|
|
508
|
+
# in the newly loaded module's namespace if they're already
|
|
509
|
+
# in sys.modules.
|
|
510
|
+
subs = [m for m in sys.modules if m.startswith(path + '.')]
|
|
511
|
+
for key in [path] + subs:
|
|
512
|
+
# Prevent garbage collection.
|
|
513
|
+
cache[key] = sys.modules[key]
|
|
514
|
+
del sys.modules[key]
|
|
515
|
+
module = importlib.import_module(path)
|
|
516
|
+
except BaseException as err:
|
|
517
|
+
# Did the error occur before or after the module was found?
|
|
518
|
+
if path in sys.modules:
|
|
519
|
+
# An error occurred while executing the imported module.
|
|
520
|
+
raise ErrorDuringImport(sys.modules[path].__file__, err)
|
|
521
|
+
elif type(err) is SyntaxError:
|
|
522
|
+
# A SyntaxError occurred before we could execute the module.
|
|
523
|
+
raise ErrorDuringImport(err.filename, err)
|
|
524
|
+
elif isinstance(err, ImportError) and err.name == path:
|
|
525
|
+
# No such module in the path.
|
|
526
|
+
return None
|
|
527
|
+
else:
|
|
528
|
+
# Some other error occurred during the importing process.
|
|
529
|
+
raise ErrorDuringImport(path, err)
|
|
530
|
+
return module
|
|
531
|
+
|
|
532
|
+
# ---------------------------------------------------- formatter base class
|
|
533
|
+
|
|
534
|
+
class Doc:
|
|
535
|
+
|
|
536
|
+
PYTHONDOCS = os.environ.get("PYTHONDOCS",
|
|
537
|
+
"https://docs.python.org/%d.%d/library"
|
|
538
|
+
% sys.version_info[:2])
|
|
539
|
+
|
|
540
|
+
def document(self, object, name=None, *args):
|
|
541
|
+
"""Generate documentation for an object."""
|
|
542
|
+
args = (object, name) + args
|
|
543
|
+
# 'try' clause is to attempt to handle the possibility that inspect
|
|
544
|
+
# identifies something in a way that pydoc itself has issues handling;
|
|
545
|
+
# think 'super' and how it is a descriptor (which raises the exception
|
|
546
|
+
# by lacking a __name__ attribute) and an instance.
|
|
547
|
+
try:
|
|
548
|
+
if inspect.ismodule(object): return self.docmodule(*args)
|
|
549
|
+
if inspect.isclass(object): return self.docclass(*args)
|
|
550
|
+
if inspect.isroutine(object): return self.docroutine(*args)
|
|
551
|
+
except AttributeError:
|
|
552
|
+
pass
|
|
553
|
+
if inspect.isdatadescriptor(object): return self.docdata(*args)
|
|
554
|
+
return self.docother(*args)
|
|
555
|
+
|
|
556
|
+
def fail(self, object, name=None, *args):
|
|
557
|
+
"""Raise an exception for unimplemented types."""
|
|
558
|
+
message = "don't know how to document object%s of type %s" % (
|
|
559
|
+
name and ' ' + repr(name), type(object).__name__)
|
|
560
|
+
raise TypeError(message)
|
|
561
|
+
|
|
562
|
+
docmodule = docclass = docroutine = docother = docproperty = docdata = fail
|
|
563
|
+
|
|
564
|
+
def getdocloc(self, object, basedir=sysconfig.get_path('stdlib')):
|
|
565
|
+
"""Return the location of module docs or None"""
|
|
566
|
+
|
|
567
|
+
try:
|
|
568
|
+
file = inspect.getabsfile(object)
|
|
569
|
+
except TypeError:
|
|
570
|
+
file = '(built-in)'
|
|
571
|
+
|
|
572
|
+
docloc = os.environ.get("PYTHONDOCS", self.PYTHONDOCS)
|
|
573
|
+
|
|
574
|
+
basedir = os.path.normcase(basedir)
|
|
575
|
+
if (isinstance(object, type(os)) and
|
|
576
|
+
(object.__name__ in ('errno', 'exceptions', 'gc',
|
|
577
|
+
'marshal', 'posix', 'signal', 'sys',
|
|
578
|
+
'_thread', 'zipimport') or
|
|
579
|
+
(file.startswith(basedir) and
|
|
580
|
+
not file.startswith(os.path.join(basedir, 'site-packages')))) and
|
|
581
|
+
object.__name__ not in ('xml.etree', 'test.test_pydoc.pydoc_mod')):
|
|
582
|
+
if docloc.startswith(("http://", "https://")):
|
|
583
|
+
docloc = "{}/{}.html".format(docloc.rstrip("/"), object.__name__.lower())
|
|
584
|
+
else:
|
|
585
|
+
docloc = os.path.join(docloc, object.__name__.lower() + ".html")
|
|
586
|
+
else:
|
|
587
|
+
docloc = None
|
|
588
|
+
return docloc
|
|
589
|
+
|
|
590
|
+
# -------------------------------------------- HTML documentation generator
|
|
591
|
+
|
|
592
|
+
class HTMLRepr(Repr):
|
|
593
|
+
"""Class for safely making an HTML representation of a Python object."""
|
|
594
|
+
def __init__(self):
|
|
595
|
+
Repr.__init__(self)
|
|
596
|
+
self.maxlist = self.maxtuple = 20
|
|
597
|
+
self.maxdict = 10
|
|
598
|
+
self.maxstring = self.maxother = 100
|
|
599
|
+
|
|
600
|
+
def escape(self, text):
|
|
601
|
+
return replace(text, '&', '&', '<', '<', '>', '>')
|
|
602
|
+
|
|
603
|
+
def repr(self, object):
|
|
604
|
+
return Repr.repr(self, object)
|
|
605
|
+
|
|
606
|
+
def repr1(self, x, level):
|
|
607
|
+
if hasattr(type(x), '__name__'):
|
|
608
|
+
methodname = 'repr_' + '_'.join(type(x).__name__.split())
|
|
609
|
+
if hasattr(self, methodname):
|
|
610
|
+
return getattr(self, methodname)(x, level)
|
|
611
|
+
return self.escape(cram(stripid(repr(x)), self.maxother))
|
|
612
|
+
|
|
613
|
+
def repr_string(self, x, level):
|
|
614
|
+
test = cram(x, self.maxstring)
|
|
615
|
+
testrepr = repr(test)
|
|
616
|
+
if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
|
|
617
|
+
# Backslashes are only literal in the string and are never
|
|
618
|
+
# needed to make any special characters, so show a raw string.
|
|
619
|
+
return 'r' + testrepr[0] + self.escape(test) + testrepr[0]
|
|
620
|
+
return re.sub(r'((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)',
|
|
621
|
+
r'<span class="repr">\1</span>',
|
|
622
|
+
self.escape(testrepr))
|
|
623
|
+
|
|
624
|
+
repr_str = repr_string
|
|
625
|
+
|
|
626
|
+
def repr_instance(self, x, level):
|
|
627
|
+
try:
|
|
628
|
+
return self.escape(cram(stripid(repr(x)), self.maxstring))
|
|
629
|
+
except:
|
|
630
|
+
return self.escape('<%s instance>' % x.__class__.__name__)
|
|
631
|
+
|
|
632
|
+
repr_unicode = repr_string
|
|
633
|
+
|
|
634
|
+
class HTMLDoc(Doc):
|
|
635
|
+
"""Formatter class for HTML documentation."""
|
|
636
|
+
|
|
637
|
+
# ------------------------------------------- HTML formatting utilities
|
|
638
|
+
|
|
639
|
+
_repr_instance = HTMLRepr()
|
|
640
|
+
repr = _repr_instance.repr
|
|
641
|
+
escape = _repr_instance.escape
|
|
642
|
+
|
|
643
|
+
def page(self, title, contents):
|
|
644
|
+
"""Format an HTML page."""
|
|
645
|
+
return '''\
|
|
646
|
+
<!DOCTYPE html>
|
|
647
|
+
<html lang="en">
|
|
648
|
+
<head>
|
|
649
|
+
<meta charset="utf-8">
|
|
650
|
+
<title>Python: %s</title>
|
|
651
|
+
</head><body>
|
|
652
|
+
%s
|
|
653
|
+
</body></html>''' % (title, contents)
|
|
654
|
+
|
|
655
|
+
def heading(self, title, extras=''):
|
|
656
|
+
"""Format a page heading."""
|
|
657
|
+
return '''
|
|
658
|
+
<table class="heading">
|
|
659
|
+
<tr class="heading-text decor">
|
|
660
|
+
<td class="title"> <br>%s</td>
|
|
661
|
+
<td class="extra">%s</td></tr></table>
|
|
662
|
+
''' % (title, extras or ' ')
|
|
663
|
+
|
|
664
|
+
def section(self, title, cls, contents, width=6,
|
|
665
|
+
prelude='', marginalia=None, gap=' '):
|
|
666
|
+
"""Format a section with a heading."""
|
|
667
|
+
if marginalia is None:
|
|
668
|
+
marginalia = '<span class="code">' + ' ' * width + '</span>'
|
|
669
|
+
result = '''<p>
|
|
670
|
+
<table class="section">
|
|
671
|
+
<tr class="decor %s-decor heading-text">
|
|
672
|
+
<td class="section-title" colspan=3> <br>%s</td></tr>
|
|
673
|
+
''' % (cls, title)
|
|
674
|
+
if prelude:
|
|
675
|
+
result = result + '''
|
|
676
|
+
<tr><td class="decor %s-decor" rowspan=2>%s</td>
|
|
677
|
+
<td class="decor %s-decor" colspan=2>%s</td></tr>
|
|
678
|
+
<tr><td>%s</td>''' % (cls, marginalia, cls, prelude, gap)
|
|
679
|
+
else:
|
|
680
|
+
result = result + '''
|
|
681
|
+
<tr><td class="decor %s-decor">%s</td><td>%s</td>''' % (cls, marginalia, gap)
|
|
682
|
+
|
|
683
|
+
return result + '\n<td class="singlecolumn">%s</td></tr></table>' % contents
|
|
684
|
+
|
|
685
|
+
def bigsection(self, title, *args):
|
|
686
|
+
"""Format a section with a big heading."""
|
|
687
|
+
title = '<strong class="bigsection">%s</strong>' % title
|
|
688
|
+
return self.section(title, *args)
|
|
689
|
+
|
|
690
|
+
def preformat(self, text):
|
|
691
|
+
"""Format literal preformatted text."""
|
|
692
|
+
text = self.escape(text.expandtabs())
|
|
693
|
+
return replace(text, '\n\n', '\n \n', '\n\n', '\n \n',
|
|
694
|
+
' ', ' ', '\n', '<br>\n')
|
|
695
|
+
|
|
696
|
+
def multicolumn(self, list, format):
|
|
697
|
+
"""Format a list of items into a multi-column list."""
|
|
698
|
+
result = ''
|
|
699
|
+
rows = (len(list) + 3) // 4
|
|
700
|
+
for col in range(4):
|
|
701
|
+
result = result + '<td class="multicolumn">'
|
|
702
|
+
for i in range(rows*col, rows*col+rows):
|
|
703
|
+
if i < len(list):
|
|
704
|
+
result = result + format(list[i]) + '<br>\n'
|
|
705
|
+
result = result + '</td>'
|
|
706
|
+
return '<table><tr>%s</tr></table>' % result
|
|
707
|
+
|
|
708
|
+
def grey(self, text): return '<span class="grey">%s</span>' % text
|
|
709
|
+
|
|
710
|
+
def namelink(self, name, *dicts):
|
|
711
|
+
"""Make a link for an identifier, given name-to-URL mappings."""
|
|
712
|
+
for dict in dicts:
|
|
713
|
+
if name in dict:
|
|
714
|
+
return '<a href="%s">%s</a>' % (dict[name], name)
|
|
715
|
+
return name
|
|
716
|
+
|
|
717
|
+
def classlink(self, object, modname):
|
|
718
|
+
"""Make a link for a class."""
|
|
719
|
+
name, module = object.__name__, sys.modules.get(object.__module__)
|
|
720
|
+
if hasattr(module, name) and getattr(module, name) is object:
|
|
721
|
+
return '<a href="%s.html#%s">%s</a>' % (
|
|
722
|
+
module.__name__, name, classname(object, modname))
|
|
723
|
+
return classname(object, modname)
|
|
724
|
+
|
|
725
|
+
def parentlink(self, object, modname):
|
|
726
|
+
"""Make a link for the enclosing class or module."""
|
|
727
|
+
link = None
|
|
728
|
+
name, module = object.__name__, sys.modules.get(object.__module__)
|
|
729
|
+
if hasattr(module, name) and getattr(module, name) is object:
|
|
730
|
+
if '.' in object.__qualname__:
|
|
731
|
+
name = object.__qualname__.rpartition('.')[0]
|
|
732
|
+
if object.__module__ != modname:
|
|
733
|
+
link = '%s.html#%s' % (module.__name__, name)
|
|
734
|
+
else:
|
|
735
|
+
link = '#%s' % name
|
|
736
|
+
else:
|
|
737
|
+
if object.__module__ != modname:
|
|
738
|
+
link = '%s.html' % module.__name__
|
|
739
|
+
if link:
|
|
740
|
+
return '<a href="%s">%s</a>' % (link, parentname(object, modname))
|
|
741
|
+
else:
|
|
742
|
+
return parentname(object, modname)
|
|
743
|
+
|
|
744
|
+
def modulelink(self, object):
|
|
745
|
+
"""Make a link for a module."""
|
|
746
|
+
return '<a href="%s.html">%s</a>' % (object.__name__, object.__name__)
|
|
747
|
+
|
|
748
|
+
def modpkglink(self, modpkginfo):
|
|
749
|
+
"""Make a link for a module or package to display in an index."""
|
|
750
|
+
name, path, ispackage, shadowed = modpkginfo
|
|
751
|
+
if shadowed:
|
|
752
|
+
return self.grey(name)
|
|
753
|
+
if path:
|
|
754
|
+
url = '%s.%s.html' % (path, name)
|
|
755
|
+
else:
|
|
756
|
+
url = '%s.html' % name
|
|
757
|
+
if ispackage:
|
|
758
|
+
text = '<strong>%s</strong> (package)' % name
|
|
759
|
+
else:
|
|
760
|
+
text = name
|
|
761
|
+
return '<a href="%s">%s</a>' % (url, text)
|
|
762
|
+
|
|
763
|
+
def filelink(self, url, path):
|
|
764
|
+
"""Make a link to source file."""
|
|
765
|
+
return '<a href="file:%s">%s</a>' % (url, path)
|
|
766
|
+
|
|
767
|
+
def markup(self, text, escape=None, funcs={}, classes={}, methods={}):
|
|
768
|
+
"""Mark up some plain text, given a context of symbols to look for.
|
|
769
|
+
Each context dictionary maps object names to anchor names."""
|
|
770
|
+
escape = escape or self.escape
|
|
771
|
+
results = []
|
|
772
|
+
here = 0
|
|
773
|
+
pattern = re.compile(r'\b((http|https|ftp)://\S+[\w/]|'
|
|
774
|
+
r'RFC[- ]?(\d+)|'
|
|
775
|
+
r'PEP[- ]?(\d+)|'
|
|
776
|
+
r'(self\.)?(\w+))')
|
|
777
|
+
while match := pattern.search(text, here):
|
|
778
|
+
start, end = match.span()
|
|
779
|
+
results.append(escape(text[here:start]))
|
|
780
|
+
|
|
781
|
+
all, scheme, rfc, pep, selfdot, name = match.groups()
|
|
782
|
+
if scheme:
|
|
783
|
+
url = escape(all).replace('"', '"')
|
|
784
|
+
results.append('<a href="%s">%s</a>' % (url, url))
|
|
785
|
+
elif rfc:
|
|
786
|
+
url = 'https://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc)
|
|
787
|
+
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
|
788
|
+
elif pep:
|
|
789
|
+
url = 'https://peps.python.org/pep-%04d/' % int(pep)
|
|
790
|
+
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
|
791
|
+
elif selfdot:
|
|
792
|
+
# Create a link for methods like 'self.method(...)'
|
|
793
|
+
# and use <strong> for attributes like 'self.attr'
|
|
794
|
+
if text[end:end+1] == '(':
|
|
795
|
+
results.append('self.' + self.namelink(name, methods))
|
|
796
|
+
else:
|
|
797
|
+
results.append('self.<strong>%s</strong>' % name)
|
|
798
|
+
elif text[end:end+1] == '(':
|
|
799
|
+
results.append(self.namelink(name, methods, funcs, classes))
|
|
800
|
+
else:
|
|
801
|
+
results.append(self.namelink(name, classes))
|
|
802
|
+
here = end
|
|
803
|
+
results.append(escape(text[here:]))
|
|
804
|
+
return ''.join(results)
|
|
805
|
+
|
|
806
|
+
# ---------------------------------------------- type-specific routines
|
|
807
|
+
|
|
808
|
+
def formattree(self, tree, modname, parent=None):
|
|
809
|
+
"""Produce HTML for a class tree as given by inspect.getclasstree()."""
|
|
810
|
+
result = ''
|
|
811
|
+
for entry in tree:
|
|
812
|
+
if isinstance(entry, tuple):
|
|
813
|
+
c, bases = entry
|
|
814
|
+
result = result + '<dt class="heading-text">'
|
|
815
|
+
result = result + self.classlink(c, modname)
|
|
816
|
+
if bases and bases != (parent,):
|
|
817
|
+
parents = []
|
|
818
|
+
for base in bases:
|
|
819
|
+
parents.append(self.classlink(base, modname))
|
|
820
|
+
result = result + '(' + ', '.join(parents) + ')'
|
|
821
|
+
result = result + '\n</dt>'
|
|
822
|
+
elif isinstance(entry, list):
|
|
823
|
+
result = result + '<dd>\n%s</dd>\n' % self.formattree(
|
|
824
|
+
entry, modname, c)
|
|
825
|
+
return '<dl>\n%s</dl>\n' % result
|
|
826
|
+
|
|
827
|
+
def docmodule(self, object, name=None, mod=None, *ignored):
|
|
828
|
+
"""Produce HTML documentation for a module object."""
|
|
829
|
+
name = object.__name__ # ignore the passed-in name
|
|
830
|
+
try:
|
|
831
|
+
all = object.__all__
|
|
832
|
+
except AttributeError:
|
|
833
|
+
all = None
|
|
834
|
+
parts = name.split('.')
|
|
835
|
+
links = []
|
|
836
|
+
for i in range(len(parts)-1):
|
|
837
|
+
links.append(
|
|
838
|
+
'<a href="%s.html" class="white">%s</a>' %
|
|
839
|
+
('.'.join(parts[:i+1]), parts[i]))
|
|
840
|
+
linkedname = '.'.join(links + parts[-1:])
|
|
841
|
+
head = '<strong class="title">%s</strong>' % linkedname
|
|
842
|
+
try:
|
|
843
|
+
path = inspect.getabsfile(object)
|
|
844
|
+
url = urllib.parse.quote(path)
|
|
845
|
+
filelink = self.filelink(url, path)
|
|
846
|
+
except TypeError:
|
|
847
|
+
filelink = '(built-in)'
|
|
848
|
+
info = []
|
|
849
|
+
if hasattr(object, '__version__'):
|
|
850
|
+
version = str(object.__version__)
|
|
851
|
+
if version[:11] == '$' + 'Revision: ' and version[-1:] == '$':
|
|
852
|
+
version = version[11:-1].strip()
|
|
853
|
+
info.append('version %s' % self.escape(version))
|
|
854
|
+
if hasattr(object, '__date__'):
|
|
855
|
+
info.append(self.escape(str(object.__date__)))
|
|
856
|
+
if info:
|
|
857
|
+
head = head + ' (%s)' % ', '.join(info)
|
|
858
|
+
docloc = self.getdocloc(object)
|
|
859
|
+
if docloc is not None:
|
|
860
|
+
docloc = '<br><a href="%(docloc)s">Module Reference</a>' % locals()
|
|
861
|
+
else:
|
|
862
|
+
docloc = ''
|
|
863
|
+
result = self.heading(head, '<a href=".">index</a><br>' + filelink + docloc)
|
|
864
|
+
|
|
865
|
+
modules = inspect.getmembers(object, inspect.ismodule)
|
|
866
|
+
|
|
867
|
+
classes, cdict = [], {}
|
|
868
|
+
for key, value in inspect.getmembers(object, inspect.isclass):
|
|
869
|
+
# if __all__ exists, believe it. Otherwise use old heuristic.
|
|
870
|
+
if (all is not None or
|
|
871
|
+
(inspect.getmodule(value) or object) is object):
|
|
872
|
+
if visiblename(key, all, object):
|
|
873
|
+
classes.append((key, value))
|
|
874
|
+
cdict[key] = cdict[value] = '#' + key
|
|
875
|
+
for key, value in classes:
|
|
876
|
+
for base in value.__bases__:
|
|
877
|
+
key, modname = base.__name__, base.__module__
|
|
878
|
+
module = sys.modules.get(modname)
|
|
879
|
+
if modname != name and module and hasattr(module, key):
|
|
880
|
+
if getattr(module, key) is base:
|
|
881
|
+
if not key in cdict:
|
|
882
|
+
cdict[key] = cdict[base] = modname + '.html#' + key
|
|
883
|
+
funcs, fdict = [], {}
|
|
884
|
+
for key, value in inspect.getmembers(object, inspect.isroutine):
|
|
885
|
+
# if __all__ exists, believe it. Otherwise use a heuristic.
|
|
886
|
+
if (all is not None
|
|
887
|
+
or inspect.isbuiltin(value)
|
|
888
|
+
or (inspect.getmodule(value) or object) is object):
|
|
889
|
+
if visiblename(key, all, object):
|
|
890
|
+
funcs.append((key, value))
|
|
891
|
+
fdict[key] = '#-' + key
|
|
892
|
+
if inspect.isfunction(value): fdict[value] = fdict[key]
|
|
893
|
+
data = []
|
|
894
|
+
for key, value in inspect.getmembers(object, isdata):
|
|
895
|
+
if visiblename(key, all, object):
|
|
896
|
+
data.append((key, value))
|
|
897
|
+
|
|
898
|
+
doc = self.markup(getdoc(object), self.preformat, fdict, cdict)
|
|
899
|
+
doc = doc and '<span class="code">%s</span>' % doc
|
|
900
|
+
result = result + '<p>%s</p>\n' % doc
|
|
901
|
+
|
|
902
|
+
if hasattr(object, '__path__'):
|
|
903
|
+
modpkgs = []
|
|
904
|
+
for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
|
|
905
|
+
modpkgs.append((modname, name, ispkg, 0))
|
|
906
|
+
modpkgs.sort()
|
|
907
|
+
contents = self.multicolumn(modpkgs, self.modpkglink)
|
|
908
|
+
result = result + self.bigsection(
|
|
909
|
+
'Package Contents', 'pkg-content', contents)
|
|
910
|
+
elif modules:
|
|
911
|
+
contents = self.multicolumn(
|
|
912
|
+
modules, lambda t: self.modulelink(t[1]))
|
|
913
|
+
result = result + self.bigsection(
|
|
914
|
+
'Modules', 'pkg-content', contents)
|
|
915
|
+
|
|
916
|
+
if classes:
|
|
917
|
+
classlist = [value for (key, value) in classes]
|
|
918
|
+
contents = [
|
|
919
|
+
self.formattree(inspect.getclasstree(classlist, 1), name)]
|
|
920
|
+
for key, value in classes:
|
|
921
|
+
contents.append(self.document(value, key, name, fdict, cdict))
|
|
922
|
+
result = result + self.bigsection(
|
|
923
|
+
'Classes', 'index', ' '.join(contents))
|
|
924
|
+
if funcs:
|
|
925
|
+
contents = []
|
|
926
|
+
for key, value in funcs:
|
|
927
|
+
contents.append(self.document(value, key, name, fdict, cdict))
|
|
928
|
+
result = result + self.bigsection(
|
|
929
|
+
'Functions', 'functions', ' '.join(contents))
|
|
930
|
+
if data:
|
|
931
|
+
contents = []
|
|
932
|
+
for key, value in data:
|
|
933
|
+
contents.append(self.document(value, key))
|
|
934
|
+
result = result + self.bigsection(
|
|
935
|
+
'Data', 'data', '<br>\n'.join(contents))
|
|
936
|
+
if hasattr(object, '__author__'):
|
|
937
|
+
contents = self.markup(str(object.__author__), self.preformat)
|
|
938
|
+
result = result + self.bigsection('Author', 'author', contents)
|
|
939
|
+
if hasattr(object, '__credits__'):
|
|
940
|
+
contents = self.markup(str(object.__credits__), self.preformat)
|
|
941
|
+
result = result + self.bigsection('Credits', 'credits', contents)
|
|
942
|
+
|
|
943
|
+
return result
|
|
944
|
+
|
|
945
|
+
def docclass(self, object, name=None, mod=None, funcs={}, classes={},
|
|
946
|
+
*ignored):
|
|
947
|
+
"""Produce HTML documentation for a class object."""
|
|
948
|
+
realname = object.__name__
|
|
949
|
+
name = name or realname
|
|
950
|
+
bases = object.__bases__
|
|
951
|
+
|
|
952
|
+
contents = []
|
|
953
|
+
push = contents.append
|
|
954
|
+
|
|
955
|
+
# Cute little class to pump out a horizontal rule between sections.
|
|
956
|
+
class HorizontalRule:
|
|
957
|
+
def __init__(self):
|
|
958
|
+
self.needone = 0
|
|
959
|
+
def maybe(self):
|
|
960
|
+
if self.needone:
|
|
961
|
+
push('<hr>\n')
|
|
962
|
+
self.needone = 1
|
|
963
|
+
hr = HorizontalRule()
|
|
964
|
+
|
|
965
|
+
# List the mro, if non-trivial.
|
|
966
|
+
mro = deque(inspect.getmro(object))
|
|
967
|
+
if len(mro) > 2:
|
|
968
|
+
hr.maybe()
|
|
969
|
+
push('<dl><dt>Method resolution order:</dt>\n')
|
|
970
|
+
for base in mro:
|
|
971
|
+
push('<dd>%s</dd>\n' % self.classlink(base,
|
|
972
|
+
object.__module__))
|
|
973
|
+
push('</dl>\n')
|
|
974
|
+
|
|
975
|
+
def spill(msg, attrs, predicate):
|
|
976
|
+
ok, attrs = _split_list(attrs, predicate)
|
|
977
|
+
if ok:
|
|
978
|
+
hr.maybe()
|
|
979
|
+
push(msg)
|
|
980
|
+
for name, kind, homecls, value in ok:
|
|
981
|
+
try:
|
|
982
|
+
value = getattr(object, name)
|
|
983
|
+
except Exception:
|
|
984
|
+
# Some descriptors may meet a failure in their __get__.
|
|
985
|
+
# (bug #1785)
|
|
986
|
+
push(self.docdata(value, name, mod))
|
|
987
|
+
else:
|
|
988
|
+
push(self.document(value, name, mod,
|
|
989
|
+
funcs, classes, mdict, object, homecls))
|
|
990
|
+
push('\n')
|
|
991
|
+
return attrs
|
|
992
|
+
|
|
993
|
+
def spilldescriptors(msg, attrs, predicate):
|
|
994
|
+
ok, attrs = _split_list(attrs, predicate)
|
|
995
|
+
if ok:
|
|
996
|
+
hr.maybe()
|
|
997
|
+
push(msg)
|
|
998
|
+
for name, kind, homecls, value in ok:
|
|
999
|
+
push(self.docdata(value, name, mod))
|
|
1000
|
+
return attrs
|
|
1001
|
+
|
|
1002
|
+
def spilldata(msg, attrs, predicate):
|
|
1003
|
+
ok, attrs = _split_list(attrs, predicate)
|
|
1004
|
+
if ok:
|
|
1005
|
+
hr.maybe()
|
|
1006
|
+
push(msg)
|
|
1007
|
+
for name, kind, homecls, value in ok:
|
|
1008
|
+
base = self.docother(getattr(object, name), name, mod)
|
|
1009
|
+
doc = getdoc(value)
|
|
1010
|
+
if not doc:
|
|
1011
|
+
push('<dl><dt>%s</dl>\n' % base)
|
|
1012
|
+
else:
|
|
1013
|
+
doc = self.markup(getdoc(value), self.preformat,
|
|
1014
|
+
funcs, classes, mdict)
|
|
1015
|
+
doc = '<dd><span class="code">%s</span>' % doc
|
|
1016
|
+
push('<dl><dt>%s%s</dl>\n' % (base, doc))
|
|
1017
|
+
push('\n')
|
|
1018
|
+
return attrs
|
|
1019
|
+
|
|
1020
|
+
attrs = [(name, kind, cls, value)
|
|
1021
|
+
for name, kind, cls, value in classify_class_attrs(object)
|
|
1022
|
+
if visiblename(name, obj=object)]
|
|
1023
|
+
|
|
1024
|
+
mdict = {}
|
|
1025
|
+
for key, kind, homecls, value in attrs:
|
|
1026
|
+
mdict[key] = anchor = '#' + name + '-' + key
|
|
1027
|
+
try:
|
|
1028
|
+
value = getattr(object, name)
|
|
1029
|
+
except Exception:
|
|
1030
|
+
# Some descriptors may meet a failure in their __get__.
|
|
1031
|
+
# (bug #1785)
|
|
1032
|
+
pass
|
|
1033
|
+
try:
|
|
1034
|
+
# The value may not be hashable (e.g., a data attr with
|
|
1035
|
+
# a dict or list value).
|
|
1036
|
+
mdict[value] = anchor
|
|
1037
|
+
except TypeError:
|
|
1038
|
+
pass
|
|
1039
|
+
|
|
1040
|
+
while attrs:
|
|
1041
|
+
if mro:
|
|
1042
|
+
thisclass = mro.popleft()
|
|
1043
|
+
else:
|
|
1044
|
+
thisclass = attrs[0][2]
|
|
1045
|
+
attrs, inherited = _split_list(attrs, lambda t: t[2] is thisclass)
|
|
1046
|
+
|
|
1047
|
+
if object is not builtins.object and thisclass is builtins.object:
|
|
1048
|
+
attrs = inherited
|
|
1049
|
+
continue
|
|
1050
|
+
elif thisclass is object:
|
|
1051
|
+
tag = 'defined here'
|
|
1052
|
+
else:
|
|
1053
|
+
tag = 'inherited from %s' % self.classlink(thisclass,
|
|
1054
|
+
object.__module__)
|
|
1055
|
+
tag += ':<br>\n'
|
|
1056
|
+
|
|
1057
|
+
sort_attributes(attrs, object)
|
|
1058
|
+
|
|
1059
|
+
# Pump out the attrs, segregated by kind.
|
|
1060
|
+
attrs = spill('Methods %s' % tag, attrs,
|
|
1061
|
+
lambda t: t[1] == 'method')
|
|
1062
|
+
attrs = spill('Class methods %s' % tag, attrs,
|
|
1063
|
+
lambda t: t[1] == 'class method')
|
|
1064
|
+
attrs = spill('Static methods %s' % tag, attrs,
|
|
1065
|
+
lambda t: t[1] == 'static method')
|
|
1066
|
+
attrs = spilldescriptors("Readonly properties %s" % tag, attrs,
|
|
1067
|
+
lambda t: t[1] == 'readonly property')
|
|
1068
|
+
attrs = spilldescriptors('Data descriptors %s' % tag, attrs,
|
|
1069
|
+
lambda t: t[1] == 'data descriptor')
|
|
1070
|
+
attrs = spilldata('Data and other attributes %s' % tag, attrs,
|
|
1071
|
+
lambda t: t[1] == 'data')
|
|
1072
|
+
assert attrs == []
|
|
1073
|
+
attrs = inherited
|
|
1074
|
+
|
|
1075
|
+
contents = ''.join(contents)
|
|
1076
|
+
|
|
1077
|
+
if name == realname:
|
|
1078
|
+
title = '<a name="%s">class <strong>%s</strong></a>' % (
|
|
1079
|
+
name, realname)
|
|
1080
|
+
else:
|
|
1081
|
+
title = '<strong>%s</strong> = <a name="%s">class %s</a>' % (
|
|
1082
|
+
name, name, realname)
|
|
1083
|
+
if bases:
|
|
1084
|
+
parents = []
|
|
1085
|
+
for base in bases:
|
|
1086
|
+
parents.append(self.classlink(base, object.__module__))
|
|
1087
|
+
title = title + '(%s)' % ', '.join(parents)
|
|
1088
|
+
|
|
1089
|
+
decl = ''
|
|
1090
|
+
argspec = _getargspec(object)
|
|
1091
|
+
if argspec and argspec != '()':
|
|
1092
|
+
decl = name + self.escape(argspec) + '\n\n'
|
|
1093
|
+
|
|
1094
|
+
doc = getdoc(object)
|
|
1095
|
+
if decl:
|
|
1096
|
+
doc = decl + (doc or '')
|
|
1097
|
+
doc = self.markup(doc, self.preformat, funcs, classes, mdict)
|
|
1098
|
+
doc = doc and '<span class="code">%s<br> </span>' % doc
|
|
1099
|
+
|
|
1100
|
+
return self.section(title, 'title', contents, 3, doc)
|
|
1101
|
+
|
|
1102
|
+
def formatvalue(self, object):
|
|
1103
|
+
"""Format an argument default value as text."""
|
|
1104
|
+
return self.grey('=' + self.repr(object))
|
|
1105
|
+
|
|
1106
|
+
def docroutine(self, object, name=None, mod=None,
|
|
1107
|
+
funcs={}, classes={}, methods={}, cl=None, homecls=None):
|
|
1108
|
+
"""Produce HTML documentation for a function or method object."""
|
|
1109
|
+
realname = object.__name__
|
|
1110
|
+
name = name or realname
|
|
1111
|
+
if homecls is None:
|
|
1112
|
+
homecls = cl
|
|
1113
|
+
anchor = ('' if cl is None else cl.__name__) + '-' + name
|
|
1114
|
+
note = ''
|
|
1115
|
+
skipdocs = False
|
|
1116
|
+
imfunc = None
|
|
1117
|
+
if _is_bound_method(object):
|
|
1118
|
+
imself = object.__self__
|
|
1119
|
+
if imself is cl:
|
|
1120
|
+
imfunc = getattr(object, '__func__', None)
|
|
1121
|
+
elif inspect.isclass(imself):
|
|
1122
|
+
note = ' class method of %s' % self.classlink(imself, mod)
|
|
1123
|
+
else:
|
|
1124
|
+
note = ' method of %s instance' % self.classlink(
|
|
1125
|
+
imself.__class__, mod)
|
|
1126
|
+
elif (inspect.ismethoddescriptor(object) or
|
|
1127
|
+
inspect.ismethodwrapper(object)):
|
|
1128
|
+
try:
|
|
1129
|
+
objclass = object.__objclass__
|
|
1130
|
+
except AttributeError:
|
|
1131
|
+
pass
|
|
1132
|
+
else:
|
|
1133
|
+
if cl is None:
|
|
1134
|
+
note = ' unbound %s method' % self.classlink(objclass, mod)
|
|
1135
|
+
elif objclass is not homecls:
|
|
1136
|
+
note = ' from ' + self.classlink(objclass, mod)
|
|
1137
|
+
else:
|
|
1138
|
+
imfunc = object
|
|
1139
|
+
if inspect.isfunction(imfunc) and homecls is not None and (
|
|
1140
|
+
imfunc.__module__ != homecls.__module__ or
|
|
1141
|
+
imfunc.__qualname__ != homecls.__qualname__ + '.' + realname):
|
|
1142
|
+
pname = self.parentlink(imfunc, mod)
|
|
1143
|
+
if pname:
|
|
1144
|
+
note = ' from %s' % pname
|
|
1145
|
+
|
|
1146
|
+
if (inspect.iscoroutinefunction(object) or
|
|
1147
|
+
inspect.isasyncgenfunction(object)):
|
|
1148
|
+
asyncqualifier = 'async '
|
|
1149
|
+
else:
|
|
1150
|
+
asyncqualifier = ''
|
|
1151
|
+
|
|
1152
|
+
if name == realname:
|
|
1153
|
+
title = '<a name="%s"><strong>%s</strong></a>' % (anchor, realname)
|
|
1154
|
+
else:
|
|
1155
|
+
if (cl is not None and
|
|
1156
|
+
inspect.getattr_static(cl, realname, []) is object):
|
|
1157
|
+
reallink = '<a href="#%s">%s</a>' % (
|
|
1158
|
+
cl.__name__ + '-' + realname, realname)
|
|
1159
|
+
skipdocs = True
|
|
1160
|
+
if note.startswith(' from '):
|
|
1161
|
+
note = ''
|
|
1162
|
+
else:
|
|
1163
|
+
reallink = realname
|
|
1164
|
+
title = '<a name="%s"><strong>%s</strong></a> = %s' % (
|
|
1165
|
+
anchor, name, reallink)
|
|
1166
|
+
argspec = None
|
|
1167
|
+
if inspect.isroutine(object):
|
|
1168
|
+
argspec = _getargspec(object)
|
|
1169
|
+
if argspec and realname == '<lambda>':
|
|
1170
|
+
title = '<strong>%s</strong> <em>lambda</em> ' % name
|
|
1171
|
+
# XXX lambda's won't usually have func_annotations['return']
|
|
1172
|
+
# since the syntax doesn't support but it is possible.
|
|
1173
|
+
# So removing parentheses isn't truly safe.
|
|
1174
|
+
if not object.__annotations__:
|
|
1175
|
+
argspec = argspec[1:-1] # remove parentheses
|
|
1176
|
+
if not argspec:
|
|
1177
|
+
argspec = '(...)'
|
|
1178
|
+
|
|
1179
|
+
decl = asyncqualifier + title + self.escape(argspec) + (note and
|
|
1180
|
+
self.grey('<span class="heading-text">%s</span>' % note))
|
|
1181
|
+
|
|
1182
|
+
if skipdocs:
|
|
1183
|
+
return '<dl><dt>%s</dt></dl>\n' % decl
|
|
1184
|
+
else:
|
|
1185
|
+
doc = self.markup(
|
|
1186
|
+
getdoc(object), self.preformat, funcs, classes, methods)
|
|
1187
|
+
doc = doc and '<dd><span class="code">%s</span></dd>' % doc
|
|
1188
|
+
return '<dl><dt>%s</dt>%s</dl>\n' % (decl, doc)
|
|
1189
|
+
|
|
1190
|
+
def docdata(self, object, name=None, mod=None, cl=None, *ignored):
|
|
1191
|
+
"""Produce html documentation for a data descriptor."""
|
|
1192
|
+
results = []
|
|
1193
|
+
push = results.append
|
|
1194
|
+
|
|
1195
|
+
if name:
|
|
1196
|
+
push('<dl><dt><strong>%s</strong></dt>\n' % name)
|
|
1197
|
+
doc = self.markup(getdoc(object), self.preformat)
|
|
1198
|
+
if doc:
|
|
1199
|
+
push('<dd><span class="code">%s</span></dd>\n' % doc)
|
|
1200
|
+
push('</dl>\n')
|
|
1201
|
+
|
|
1202
|
+
return ''.join(results)
|
|
1203
|
+
|
|
1204
|
+
docproperty = docdata
|
|
1205
|
+
|
|
1206
|
+
def docother(self, object, name=None, mod=None, *ignored):
|
|
1207
|
+
"""Produce HTML documentation for a data object."""
|
|
1208
|
+
lhs = name and '<strong>%s</strong> = ' % name or ''
|
|
1209
|
+
return lhs + self.repr(object)
|
|
1210
|
+
|
|
1211
|
+
def index(self, dir, shadowed=None):
|
|
1212
|
+
"""Generate an HTML index for a directory of modules."""
|
|
1213
|
+
modpkgs = []
|
|
1214
|
+
if shadowed is None: shadowed = {}
|
|
1215
|
+
for importer, name, ispkg in pkgutil.iter_modules([dir]):
|
|
1216
|
+
if any((0xD800 <= ord(ch) <= 0xDFFF) for ch in name):
|
|
1217
|
+
# ignore a module if its name contains a surrogate character
|
|
1218
|
+
continue
|
|
1219
|
+
modpkgs.append((name, '', ispkg, name in shadowed))
|
|
1220
|
+
shadowed[name] = 1
|
|
1221
|
+
|
|
1222
|
+
modpkgs.sort()
|
|
1223
|
+
contents = self.multicolumn(modpkgs, self.modpkglink)
|
|
1224
|
+
return self.bigsection(dir, 'index', contents)
|
|
1225
|
+
|
|
1226
|
+
# -------------------------------------------- text documentation generator
|
|
1227
|
+
|
|
1228
|
+
class TextRepr(Repr):
|
|
1229
|
+
"""Class for safely making a text representation of a Python object."""
|
|
1230
|
+
def __init__(self):
|
|
1231
|
+
Repr.__init__(self)
|
|
1232
|
+
self.maxlist = self.maxtuple = 20
|
|
1233
|
+
self.maxdict = 10
|
|
1234
|
+
self.maxstring = self.maxother = 100
|
|
1235
|
+
|
|
1236
|
+
def repr1(self, x, level):
|
|
1237
|
+
if hasattr(type(x), '__name__'):
|
|
1238
|
+
methodname = 'repr_' + '_'.join(type(x).__name__.split())
|
|
1239
|
+
if hasattr(self, methodname):
|
|
1240
|
+
return getattr(self, methodname)(x, level)
|
|
1241
|
+
return cram(stripid(repr(x)), self.maxother)
|
|
1242
|
+
|
|
1243
|
+
def repr_string(self, x, level):
|
|
1244
|
+
test = cram(x, self.maxstring)
|
|
1245
|
+
testrepr = repr(test)
|
|
1246
|
+
if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
|
|
1247
|
+
# Backslashes are only literal in the string and are never
|
|
1248
|
+
# needed to make any special characters, so show a raw string.
|
|
1249
|
+
return 'r' + testrepr[0] + test + testrepr[0]
|
|
1250
|
+
return testrepr
|
|
1251
|
+
|
|
1252
|
+
repr_str = repr_string
|
|
1253
|
+
|
|
1254
|
+
def repr_instance(self, x, level):
|
|
1255
|
+
try:
|
|
1256
|
+
return cram(stripid(repr(x)), self.maxstring)
|
|
1257
|
+
except:
|
|
1258
|
+
return '<%s instance>' % x.__class__.__name__
|
|
1259
|
+
|
|
1260
|
+
class TextDoc(Doc):
|
|
1261
|
+
"""Formatter class for text documentation."""
|
|
1262
|
+
|
|
1263
|
+
# ------------------------------------------- text formatting utilities
|
|
1264
|
+
|
|
1265
|
+
_repr_instance = TextRepr()
|
|
1266
|
+
repr = _repr_instance.repr
|
|
1267
|
+
|
|
1268
|
+
def bold(self, text):
|
|
1269
|
+
"""Format a string in bold by overstriking."""
|
|
1270
|
+
return ''.join(ch + '\b' + ch for ch in text)
|
|
1271
|
+
|
|
1272
|
+
def indent(self, text, prefix=' '):
|
|
1273
|
+
"""Indent text by prepending a given prefix to each line."""
|
|
1274
|
+
if not text: return ''
|
|
1275
|
+
lines = [(prefix + line).rstrip() for line in text.split('\n')]
|
|
1276
|
+
return '\n'.join(lines)
|
|
1277
|
+
|
|
1278
|
+
def section(self, title, contents):
|
|
1279
|
+
"""Format a section with a given heading."""
|
|
1280
|
+
clean_contents = self.indent(contents).rstrip()
|
|
1281
|
+
return self.bold(title) + '\n' + clean_contents + '\n\n'
|
|
1282
|
+
|
|
1283
|
+
# ---------------------------------------------- type-specific routines
|
|
1284
|
+
|
|
1285
|
+
def formattree(self, tree, modname, parent=None, prefix=''):
|
|
1286
|
+
"""Render in text a class tree as returned by inspect.getclasstree()."""
|
|
1287
|
+
result = ''
|
|
1288
|
+
for entry in tree:
|
|
1289
|
+
if isinstance(entry, tuple):
|
|
1290
|
+
c, bases = entry
|
|
1291
|
+
result = result + prefix + classname(c, modname)
|
|
1292
|
+
if bases and bases != (parent,):
|
|
1293
|
+
parents = (classname(c, modname) for c in bases)
|
|
1294
|
+
result = result + '(%s)' % ', '.join(parents)
|
|
1295
|
+
result = result + '\n'
|
|
1296
|
+
elif isinstance(entry, list):
|
|
1297
|
+
result = result + self.formattree(
|
|
1298
|
+
entry, modname, c, prefix + ' ')
|
|
1299
|
+
return result
|
|
1300
|
+
|
|
1301
|
+
def docmodule(self, object, name=None, mod=None, *ignored):
|
|
1302
|
+
"""Produce text documentation for a given module object."""
|
|
1303
|
+
name = object.__name__ # ignore the passed-in name
|
|
1304
|
+
synop, desc = splitdoc(getdoc(object))
|
|
1305
|
+
result = self.section('NAME', name + (synop and ' - ' + synop))
|
|
1306
|
+
all = getattr(object, '__all__', None)
|
|
1307
|
+
docloc = self.getdocloc(object)
|
|
1308
|
+
if docloc is not None:
|
|
1309
|
+
result = result + self.section('MODULE REFERENCE', docloc + """
|
|
1310
|
+
|
|
1311
|
+
The following documentation is automatically generated from the Python
|
|
1312
|
+
source files. It may be incomplete, incorrect or include features that
|
|
1313
|
+
are considered implementation detail and may vary between Python
|
|
1314
|
+
implementations. When in doubt, consult the module reference at the
|
|
1315
|
+
location listed above.
|
|
1316
|
+
""")
|
|
1317
|
+
|
|
1318
|
+
if desc:
|
|
1319
|
+
result = result + self.section('DESCRIPTION', desc)
|
|
1320
|
+
|
|
1321
|
+
classes = []
|
|
1322
|
+
for key, value in inspect.getmembers(object, inspect.isclass):
|
|
1323
|
+
# if __all__ exists, believe it. Otherwise use old heuristic.
|
|
1324
|
+
if (all is not None
|
|
1325
|
+
or (inspect.getmodule(value) or object) is object):
|
|
1326
|
+
if visiblename(key, all, object):
|
|
1327
|
+
classes.append((key, value))
|
|
1328
|
+
funcs = []
|
|
1329
|
+
for key, value in inspect.getmembers(object, inspect.isroutine):
|
|
1330
|
+
# if __all__ exists, believe it. Otherwise use a heuristic.
|
|
1331
|
+
if (all is not None
|
|
1332
|
+
or inspect.isbuiltin(value)
|
|
1333
|
+
or (inspect.getmodule(value) or object) is object):
|
|
1334
|
+
if visiblename(key, all, object):
|
|
1335
|
+
funcs.append((key, value))
|
|
1336
|
+
data = []
|
|
1337
|
+
for key, value in inspect.getmembers(object, isdata):
|
|
1338
|
+
if visiblename(key, all, object):
|
|
1339
|
+
data.append((key, value))
|
|
1340
|
+
|
|
1341
|
+
modpkgs = []
|
|
1342
|
+
modpkgs_names = set()
|
|
1343
|
+
if hasattr(object, '__path__'):
|
|
1344
|
+
for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
|
|
1345
|
+
modpkgs_names.add(modname)
|
|
1346
|
+
if ispkg:
|
|
1347
|
+
modpkgs.append(modname + ' (package)')
|
|
1348
|
+
else:
|
|
1349
|
+
modpkgs.append(modname)
|
|
1350
|
+
|
|
1351
|
+
modpkgs.sort()
|
|
1352
|
+
result = result + self.section(
|
|
1353
|
+
'PACKAGE CONTENTS', '\n'.join(modpkgs))
|
|
1354
|
+
|
|
1355
|
+
# Detect submodules as sometimes created by C extensions
|
|
1356
|
+
submodules = []
|
|
1357
|
+
for key, value in inspect.getmembers(object, inspect.ismodule):
|
|
1358
|
+
if value.__name__.startswith(name + '.') and key not in modpkgs_names:
|
|
1359
|
+
submodules.append(key)
|
|
1360
|
+
if submodules:
|
|
1361
|
+
submodules.sort()
|
|
1362
|
+
result = result + self.section(
|
|
1363
|
+
'SUBMODULES', '\n'.join(submodules))
|
|
1364
|
+
|
|
1365
|
+
if classes:
|
|
1366
|
+
classlist = [value for key, value in classes]
|
|
1367
|
+
contents = [self.formattree(
|
|
1368
|
+
inspect.getclasstree(classlist, 1), name)]
|
|
1369
|
+
for key, value in classes:
|
|
1370
|
+
contents.append(self.document(value, key, name))
|
|
1371
|
+
result = result + self.section('CLASSES', '\n'.join(contents))
|
|
1372
|
+
|
|
1373
|
+
if funcs:
|
|
1374
|
+
contents = []
|
|
1375
|
+
for key, value in funcs:
|
|
1376
|
+
contents.append(self.document(value, key, name))
|
|
1377
|
+
result = result + self.section('FUNCTIONS', '\n'.join(contents))
|
|
1378
|
+
|
|
1379
|
+
if data:
|
|
1380
|
+
contents = []
|
|
1381
|
+
for key, value in data:
|
|
1382
|
+
contents.append(self.docother(value, key, name, maxlen=70))
|
|
1383
|
+
result = result + self.section('DATA', '\n'.join(contents))
|
|
1384
|
+
|
|
1385
|
+
if hasattr(object, '__version__'):
|
|
1386
|
+
version = str(object.__version__)
|
|
1387
|
+
if version[:11] == '$' + 'Revision: ' and version[-1:] == '$':
|
|
1388
|
+
version = version[11:-1].strip()
|
|
1389
|
+
result = result + self.section('VERSION', version)
|
|
1390
|
+
if hasattr(object, '__date__'):
|
|
1391
|
+
result = result + self.section('DATE', str(object.__date__))
|
|
1392
|
+
if hasattr(object, '__author__'):
|
|
1393
|
+
result = result + self.section('AUTHOR', str(object.__author__))
|
|
1394
|
+
if hasattr(object, '__credits__'):
|
|
1395
|
+
result = result + self.section('CREDITS', str(object.__credits__))
|
|
1396
|
+
try:
|
|
1397
|
+
file = inspect.getabsfile(object)
|
|
1398
|
+
except TypeError:
|
|
1399
|
+
file = '(built-in)'
|
|
1400
|
+
result = result + self.section('FILE', file)
|
|
1401
|
+
return result
|
|
1402
|
+
|
|
1403
|
+
def docclass(self, object, name=None, mod=None, *ignored):
|
|
1404
|
+
"""Produce text documentation for a given class object."""
|
|
1405
|
+
realname = object.__name__
|
|
1406
|
+
name = name or realname
|
|
1407
|
+
bases = object.__bases__
|
|
1408
|
+
|
|
1409
|
+
def makename(c, m=object.__module__):
|
|
1410
|
+
return classname(c, m)
|
|
1411
|
+
|
|
1412
|
+
if name == realname:
|
|
1413
|
+
title = 'class ' + self.bold(realname)
|
|
1414
|
+
else:
|
|
1415
|
+
title = self.bold(name) + ' = class ' + realname
|
|
1416
|
+
if bases:
|
|
1417
|
+
parents = map(makename, bases)
|
|
1418
|
+
title = title + '(%s)' % ', '.join(parents)
|
|
1419
|
+
|
|
1420
|
+
contents = []
|
|
1421
|
+
push = contents.append
|
|
1422
|
+
|
|
1423
|
+
argspec = _getargspec(object)
|
|
1424
|
+
if argspec and argspec != '()':
|
|
1425
|
+
push(name + argspec + '\n')
|
|
1426
|
+
|
|
1427
|
+
doc = getdoc(object)
|
|
1428
|
+
if doc:
|
|
1429
|
+
push(doc + '\n')
|
|
1430
|
+
|
|
1431
|
+
# List the mro, if non-trivial.
|
|
1432
|
+
mro = deque(inspect.getmro(object))
|
|
1433
|
+
if len(mro) > 2:
|
|
1434
|
+
push("Method resolution order:")
|
|
1435
|
+
for base in mro:
|
|
1436
|
+
push(' ' + makename(base))
|
|
1437
|
+
push('')
|
|
1438
|
+
|
|
1439
|
+
# List the built-in subclasses, if any:
|
|
1440
|
+
subclasses = sorted(
|
|
1441
|
+
(str(cls.__name__) for cls in type.__subclasses__(object)
|
|
1442
|
+
if (not cls.__name__.startswith("_") and
|
|
1443
|
+
getattr(cls, '__module__', '') == "builtins")),
|
|
1444
|
+
key=str.lower
|
|
1445
|
+
)
|
|
1446
|
+
no_of_subclasses = len(subclasses)
|
|
1447
|
+
MAX_SUBCLASSES_TO_DISPLAY = 4
|
|
1448
|
+
if subclasses:
|
|
1449
|
+
push("Built-in subclasses:")
|
|
1450
|
+
for subclassname in subclasses[:MAX_SUBCLASSES_TO_DISPLAY]:
|
|
1451
|
+
push(' ' + subclassname)
|
|
1452
|
+
if no_of_subclasses > MAX_SUBCLASSES_TO_DISPLAY:
|
|
1453
|
+
push(' ... and ' +
|
|
1454
|
+
str(no_of_subclasses - MAX_SUBCLASSES_TO_DISPLAY) +
|
|
1455
|
+
' other subclasses')
|
|
1456
|
+
push('')
|
|
1457
|
+
|
|
1458
|
+
# Cute little class to pump out a horizontal rule between sections.
|
|
1459
|
+
class HorizontalRule:
|
|
1460
|
+
def __init__(self):
|
|
1461
|
+
self.needone = 0
|
|
1462
|
+
def maybe(self):
|
|
1463
|
+
if self.needone:
|
|
1464
|
+
push('-' * 70)
|
|
1465
|
+
self.needone = 1
|
|
1466
|
+
hr = HorizontalRule()
|
|
1467
|
+
|
|
1468
|
+
def spill(msg, attrs, predicate):
|
|
1469
|
+
ok, attrs = _split_list(attrs, predicate)
|
|
1470
|
+
if ok:
|
|
1471
|
+
hr.maybe()
|
|
1472
|
+
push(msg)
|
|
1473
|
+
for name, kind, homecls, value in ok:
|
|
1474
|
+
try:
|
|
1475
|
+
value = getattr(object, name)
|
|
1476
|
+
except Exception:
|
|
1477
|
+
# Some descriptors may meet a failure in their __get__.
|
|
1478
|
+
# (bug #1785)
|
|
1479
|
+
push(self.docdata(value, name, mod))
|
|
1480
|
+
else:
|
|
1481
|
+
push(self.document(value,
|
|
1482
|
+
name, mod, object, homecls))
|
|
1483
|
+
return attrs
|
|
1484
|
+
|
|
1485
|
+
def spilldescriptors(msg, attrs, predicate):
|
|
1486
|
+
ok, attrs = _split_list(attrs, predicate)
|
|
1487
|
+
if ok:
|
|
1488
|
+
hr.maybe()
|
|
1489
|
+
push(msg)
|
|
1490
|
+
for name, kind, homecls, value in ok:
|
|
1491
|
+
push(self.docdata(value, name, mod))
|
|
1492
|
+
return attrs
|
|
1493
|
+
|
|
1494
|
+
def spilldata(msg, attrs, predicate):
|
|
1495
|
+
ok, attrs = _split_list(attrs, predicate)
|
|
1496
|
+
if ok:
|
|
1497
|
+
hr.maybe()
|
|
1498
|
+
push(msg)
|
|
1499
|
+
for name, kind, homecls, value in ok:
|
|
1500
|
+
doc = getdoc(value)
|
|
1501
|
+
try:
|
|
1502
|
+
obj = getattr(object, name)
|
|
1503
|
+
except AttributeError:
|
|
1504
|
+
obj = homecls.__dict__[name]
|
|
1505
|
+
push(self.docother(obj, name, mod, maxlen=70, doc=doc) +
|
|
1506
|
+
'\n')
|
|
1507
|
+
return attrs
|
|
1508
|
+
|
|
1509
|
+
attrs = [(name, kind, cls, value)
|
|
1510
|
+
for name, kind, cls, value in classify_class_attrs(object)
|
|
1511
|
+
if visiblename(name, obj=object)]
|
|
1512
|
+
|
|
1513
|
+
while attrs:
|
|
1514
|
+
if mro:
|
|
1515
|
+
thisclass = mro.popleft()
|
|
1516
|
+
else:
|
|
1517
|
+
thisclass = attrs[0][2]
|
|
1518
|
+
attrs, inherited = _split_list(attrs, lambda t: t[2] is thisclass)
|
|
1519
|
+
|
|
1520
|
+
if object is not builtins.object and thisclass is builtins.object:
|
|
1521
|
+
attrs = inherited
|
|
1522
|
+
continue
|
|
1523
|
+
elif thisclass is object:
|
|
1524
|
+
tag = "defined here"
|
|
1525
|
+
else:
|
|
1526
|
+
tag = "inherited from %s" % classname(thisclass,
|
|
1527
|
+
object.__module__)
|
|
1528
|
+
|
|
1529
|
+
sort_attributes(attrs, object)
|
|
1530
|
+
|
|
1531
|
+
# Pump out the attrs, segregated by kind.
|
|
1532
|
+
attrs = spill("Methods %s:\n" % tag, attrs,
|
|
1533
|
+
lambda t: t[1] == 'method')
|
|
1534
|
+
attrs = spill("Class methods %s:\n" % tag, attrs,
|
|
1535
|
+
lambda t: t[1] == 'class method')
|
|
1536
|
+
attrs = spill("Static methods %s:\n" % tag, attrs,
|
|
1537
|
+
lambda t: t[1] == 'static method')
|
|
1538
|
+
attrs = spilldescriptors("Readonly properties %s:\n" % tag, attrs,
|
|
1539
|
+
lambda t: t[1] == 'readonly property')
|
|
1540
|
+
attrs = spilldescriptors("Data descriptors %s:\n" % tag, attrs,
|
|
1541
|
+
lambda t: t[1] == 'data descriptor')
|
|
1542
|
+
attrs = spilldata("Data and other attributes %s:\n" % tag, attrs,
|
|
1543
|
+
lambda t: t[1] == 'data')
|
|
1544
|
+
|
|
1545
|
+
assert attrs == []
|
|
1546
|
+
attrs = inherited
|
|
1547
|
+
|
|
1548
|
+
contents = '\n'.join(contents)
|
|
1549
|
+
if not contents:
|
|
1550
|
+
return title + '\n'
|
|
1551
|
+
return title + '\n' + self.indent(contents.rstrip(), ' | ') + '\n'
|
|
1552
|
+
|
|
1553
|
+
def formatvalue(self, object):
|
|
1554
|
+
"""Format an argument default value as text."""
|
|
1555
|
+
return '=' + self.repr(object)
|
|
1556
|
+
|
|
1557
|
+
def docroutine(self, object, name=None, mod=None, cl=None, homecls=None):
|
|
1558
|
+
"""Produce text documentation for a function or method object."""
|
|
1559
|
+
realname = object.__name__
|
|
1560
|
+
name = name or realname
|
|
1561
|
+
if homecls is None:
|
|
1562
|
+
homecls = cl
|
|
1563
|
+
note = ''
|
|
1564
|
+
skipdocs = False
|
|
1565
|
+
imfunc = None
|
|
1566
|
+
if _is_bound_method(object):
|
|
1567
|
+
imself = object.__self__
|
|
1568
|
+
if imself is cl:
|
|
1569
|
+
imfunc = getattr(object, '__func__', None)
|
|
1570
|
+
elif inspect.isclass(imself):
|
|
1571
|
+
note = ' class method of %s' % classname(imself, mod)
|
|
1572
|
+
else:
|
|
1573
|
+
note = ' method of %s instance' % classname(
|
|
1574
|
+
imself.__class__, mod)
|
|
1575
|
+
elif (inspect.ismethoddescriptor(object) or
|
|
1576
|
+
inspect.ismethodwrapper(object)):
|
|
1577
|
+
try:
|
|
1578
|
+
objclass = object.__objclass__
|
|
1579
|
+
except AttributeError:
|
|
1580
|
+
pass
|
|
1581
|
+
else:
|
|
1582
|
+
if cl is None:
|
|
1583
|
+
note = ' unbound %s method' % classname(objclass, mod)
|
|
1584
|
+
elif objclass is not homecls:
|
|
1585
|
+
note = ' from ' + classname(objclass, mod)
|
|
1586
|
+
else:
|
|
1587
|
+
imfunc = object
|
|
1588
|
+
if inspect.isfunction(imfunc) and homecls is not None and (
|
|
1589
|
+
imfunc.__module__ != homecls.__module__ or
|
|
1590
|
+
imfunc.__qualname__ != homecls.__qualname__ + '.' + realname):
|
|
1591
|
+
pname = parentname(imfunc, mod)
|
|
1592
|
+
if pname:
|
|
1593
|
+
note = ' from %s' % pname
|
|
1594
|
+
|
|
1595
|
+
if (inspect.iscoroutinefunction(object) or
|
|
1596
|
+
inspect.isasyncgenfunction(object)):
|
|
1597
|
+
asyncqualifier = 'async '
|
|
1598
|
+
else:
|
|
1599
|
+
asyncqualifier = ''
|
|
1600
|
+
|
|
1601
|
+
if name == realname:
|
|
1602
|
+
title = self.bold(realname)
|
|
1603
|
+
else:
|
|
1604
|
+
if (cl is not None and
|
|
1605
|
+
inspect.getattr_static(cl, realname, []) is object):
|
|
1606
|
+
skipdocs = True
|
|
1607
|
+
if note.startswith(' from '):
|
|
1608
|
+
note = ''
|
|
1609
|
+
title = self.bold(name) + ' = ' + realname
|
|
1610
|
+
argspec = None
|
|
1611
|
+
|
|
1612
|
+
if inspect.isroutine(object):
|
|
1613
|
+
argspec = _getargspec(object)
|
|
1614
|
+
if argspec and realname == '<lambda>':
|
|
1615
|
+
title = self.bold(name) + ' lambda '
|
|
1616
|
+
# XXX lambda's won't usually have func_annotations['return']
|
|
1617
|
+
# since the syntax doesn't support but it is possible.
|
|
1618
|
+
# So removing parentheses isn't truly safe.
|
|
1619
|
+
if not object.__annotations__:
|
|
1620
|
+
argspec = argspec[1:-1]
|
|
1621
|
+
if not argspec:
|
|
1622
|
+
argspec = '(...)'
|
|
1623
|
+
decl = asyncqualifier + title + argspec + note
|
|
1624
|
+
|
|
1625
|
+
if skipdocs:
|
|
1626
|
+
return decl + '\n'
|
|
1627
|
+
else:
|
|
1628
|
+
doc = getdoc(object) or ''
|
|
1629
|
+
return decl + '\n' + (doc and self.indent(doc).rstrip() + '\n')
|
|
1630
|
+
|
|
1631
|
+
def docdata(self, object, name=None, mod=None, cl=None, *ignored):
|
|
1632
|
+
"""Produce text documentation for a data descriptor."""
|
|
1633
|
+
results = []
|
|
1634
|
+
push = results.append
|
|
1635
|
+
|
|
1636
|
+
if name:
|
|
1637
|
+
push(self.bold(name))
|
|
1638
|
+
push('\n')
|
|
1639
|
+
doc = getdoc(object) or ''
|
|
1640
|
+
if doc:
|
|
1641
|
+
push(self.indent(doc))
|
|
1642
|
+
push('\n')
|
|
1643
|
+
return ''.join(results)
|
|
1644
|
+
|
|
1645
|
+
docproperty = docdata
|
|
1646
|
+
|
|
1647
|
+
def docother(self, object, name=None, mod=None, parent=None, *ignored,
|
|
1648
|
+
maxlen=None, doc=None):
|
|
1649
|
+
"""Produce text documentation for a data object."""
|
|
1650
|
+
repr = self.repr(object)
|
|
1651
|
+
if maxlen:
|
|
1652
|
+
line = (name and name + ' = ' or '') + repr
|
|
1653
|
+
chop = maxlen - len(line)
|
|
1654
|
+
if chop < 0: repr = repr[:chop] + '...'
|
|
1655
|
+
line = (name and self.bold(name) + ' = ' or '') + repr
|
|
1656
|
+
if not doc:
|
|
1657
|
+
doc = getdoc(object)
|
|
1658
|
+
if doc:
|
|
1659
|
+
line += '\n' + self.indent(str(doc)) + '\n'
|
|
1660
|
+
return line
|
|
1661
|
+
|
|
1662
|
+
class _PlainTextDoc(TextDoc):
|
|
1663
|
+
"""Subclass of TextDoc which overrides string styling"""
|
|
1664
|
+
def bold(self, text):
|
|
1665
|
+
return text
|
|
1666
|
+
|
|
1667
|
+
# --------------------------------------------------------- user interfaces
|
|
1668
|
+
|
|
1669
|
+
def pager(text, title=''):
|
|
1670
|
+
"""The first time this is called, determine what kind of pager to use."""
|
|
1671
|
+
global pager
|
|
1672
|
+
pager = get_pager()
|
|
1673
|
+
pager(text, title)
|
|
1674
|
+
|
|
1675
|
+
def describe(thing):
|
|
1676
|
+
"""Produce a short description of the given thing."""
|
|
1677
|
+
if inspect.ismodule(thing):
|
|
1678
|
+
if thing.__name__ in sys.builtin_module_names:
|
|
1679
|
+
return 'built-in module ' + thing.__name__
|
|
1680
|
+
if hasattr(thing, '__path__'):
|
|
1681
|
+
return 'package ' + thing.__name__
|
|
1682
|
+
else:
|
|
1683
|
+
return 'module ' + thing.__name__
|
|
1684
|
+
if inspect.isbuiltin(thing):
|
|
1685
|
+
return 'built-in function ' + thing.__name__
|
|
1686
|
+
if inspect.isgetsetdescriptor(thing):
|
|
1687
|
+
return 'getset descriptor %s.%s.%s' % (
|
|
1688
|
+
thing.__objclass__.__module__, thing.__objclass__.__name__,
|
|
1689
|
+
thing.__name__)
|
|
1690
|
+
if inspect.ismemberdescriptor(thing):
|
|
1691
|
+
return 'member descriptor %s.%s.%s' % (
|
|
1692
|
+
thing.__objclass__.__module__, thing.__objclass__.__name__,
|
|
1693
|
+
thing.__name__)
|
|
1694
|
+
if inspect.isclass(thing):
|
|
1695
|
+
return 'class ' + thing.__name__
|
|
1696
|
+
if inspect.isfunction(thing):
|
|
1697
|
+
return 'function ' + thing.__name__
|
|
1698
|
+
if inspect.ismethod(thing):
|
|
1699
|
+
return 'method ' + thing.__name__
|
|
1700
|
+
if inspect.ismethodwrapper(thing):
|
|
1701
|
+
return 'method wrapper ' + thing.__name__
|
|
1702
|
+
if inspect.ismethoddescriptor(thing):
|
|
1703
|
+
try:
|
|
1704
|
+
return 'method descriptor ' + thing.__name__
|
|
1705
|
+
except AttributeError:
|
|
1706
|
+
pass
|
|
1707
|
+
return type(thing).__name__
|
|
1708
|
+
|
|
1709
|
+
def locate(path, forceload=0):
|
|
1710
|
+
"""Locate an object by name or dotted path, importing as necessary."""
|
|
1711
|
+
parts = [part for part in path.split('.') if part]
|
|
1712
|
+
module, n = None, 0
|
|
1713
|
+
while n < len(parts):
|
|
1714
|
+
nextmodule = safeimport('.'.join(parts[:n+1]), forceload)
|
|
1715
|
+
if nextmodule: module, n = nextmodule, n + 1
|
|
1716
|
+
else: break
|
|
1717
|
+
if module:
|
|
1718
|
+
object = module
|
|
1719
|
+
else:
|
|
1720
|
+
object = builtins
|
|
1721
|
+
for part in parts[n:]:
|
|
1722
|
+
try:
|
|
1723
|
+
object = getattr(object, part)
|
|
1724
|
+
except AttributeError:
|
|
1725
|
+
return None
|
|
1726
|
+
return object
|
|
1727
|
+
|
|
1728
|
+
# --------------------------------------- interactive interpreter interface
|
|
1729
|
+
|
|
1730
|
+
text = TextDoc()
|
|
1731
|
+
plaintext = _PlainTextDoc()
|
|
1732
|
+
html = HTMLDoc()
|
|
1733
|
+
|
|
1734
|
+
def resolve(thing, forceload=0):
|
|
1735
|
+
"""Given an object or a path to an object, get the object and its name."""
|
|
1736
|
+
if isinstance(thing, str):
|
|
1737
|
+
object = locate(thing, forceload)
|
|
1738
|
+
if object is None:
|
|
1739
|
+
raise ImportError('''\
|
|
1740
|
+
No Python documentation found for %r.
|
|
1741
|
+
Use help() to get the interactive help utility.
|
|
1742
|
+
Use help(str) for help on the str class.''' % thing)
|
|
1743
|
+
return object, thing
|
|
1744
|
+
else:
|
|
1745
|
+
name = getattr(thing, '__name__', None)
|
|
1746
|
+
return thing, name if isinstance(name, str) else None
|
|
1747
|
+
|
|
1748
|
+
def render_doc(thing, title='Python Library Documentation: %s', forceload=0,
|
|
1749
|
+
renderer=None):
|
|
1750
|
+
"""Render text documentation, given an object or a path to an object."""
|
|
1751
|
+
if renderer is None:
|
|
1752
|
+
renderer = text
|
|
1753
|
+
object, name = resolve(thing, forceload)
|
|
1754
|
+
desc = describe(object)
|
|
1755
|
+
module = inspect.getmodule(object)
|
|
1756
|
+
if name and '.' in name:
|
|
1757
|
+
desc += ' in ' + name[:name.rfind('.')]
|
|
1758
|
+
elif module and module is not object:
|
|
1759
|
+
desc += ' in module ' + module.__name__
|
|
1760
|
+
|
|
1761
|
+
if not (inspect.ismodule(object) or
|
|
1762
|
+
inspect.isclass(object) or
|
|
1763
|
+
inspect.isroutine(object) or
|
|
1764
|
+
inspect.isdatadescriptor(object) or
|
|
1765
|
+
_getdoc(object)):
|
|
1766
|
+
# If the passed object is a piece of data or an instance,
|
|
1767
|
+
# document its available methods instead of its value.
|
|
1768
|
+
if hasattr(object, '__origin__'):
|
|
1769
|
+
object = object.__origin__
|
|
1770
|
+
else:
|
|
1771
|
+
object = type(object)
|
|
1772
|
+
desc += ' object'
|
|
1773
|
+
return title % desc + '\n\n' + renderer.document(object, name)
|
|
1774
|
+
|
|
1775
|
+
def doc(thing, title='Python Library Documentation: %s', forceload=0,
|
|
1776
|
+
output=None, is_cli=False):
|
|
1777
|
+
"""Display text documentation, given an object or a path to an object."""
|
|
1778
|
+
if output is None:
|
|
1779
|
+
try:
|
|
1780
|
+
if isinstance(thing, str):
|
|
1781
|
+
what = thing
|
|
1782
|
+
else:
|
|
1783
|
+
what = getattr(thing, '__qualname__', None)
|
|
1784
|
+
if not isinstance(what, str):
|
|
1785
|
+
what = getattr(thing, '__name__', None)
|
|
1786
|
+
if not isinstance(what, str):
|
|
1787
|
+
what = type(thing).__name__ + ' object'
|
|
1788
|
+
pager(render_doc(thing, title, forceload), f'Help on {what!s}')
|
|
1789
|
+
except ImportError as exc:
|
|
1790
|
+
if is_cli:
|
|
1791
|
+
raise
|
|
1792
|
+
print(exc)
|
|
1793
|
+
else:
|
|
1794
|
+
try:
|
|
1795
|
+
s = render_doc(thing, title, forceload, plaintext)
|
|
1796
|
+
except ImportError as exc:
|
|
1797
|
+
s = str(exc)
|
|
1798
|
+
output.write(s)
|
|
1799
|
+
|
|
1800
|
+
def writedoc(thing, forceload=0):
|
|
1801
|
+
"""Write HTML documentation to a file in the current directory."""
|
|
1802
|
+
object, name = resolve(thing, forceload)
|
|
1803
|
+
page = html.page(describe(object), html.document(object, name))
|
|
1804
|
+
with open(name + '.html', 'w', encoding='utf-8') as file:
|
|
1805
|
+
file.write(page)
|
|
1806
|
+
print('wrote', name + '.html')
|
|
1807
|
+
|
|
1808
|
+
def writedocs(dir, pkgpath='', done=None):
|
|
1809
|
+
"""Write out HTML documentation for all modules in a directory tree."""
|
|
1810
|
+
if done is None: done = {}
|
|
1811
|
+
for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
|
|
1812
|
+
writedoc(modname)
|
|
1813
|
+
return
|
|
1814
|
+
|
|
1815
|
+
|
|
1816
|
+
def _introdoc():
|
|
1817
|
+
import textwrap
|
|
1818
|
+
ver = '%d.%d' % sys.version_info[:2]
|
|
1819
|
+
if os.environ.get('PYTHON_BASIC_REPL'):
|
|
1820
|
+
pyrepl_keys = ''
|
|
1821
|
+
else:
|
|
1822
|
+
# Additional help for keyboard shortcuts if enhanced REPL is used.
|
|
1823
|
+
pyrepl_keys = '''
|
|
1824
|
+
You can use the following keyboard shortcuts at the main interpreter prompt.
|
|
1825
|
+
F1: enter interactive help, F2: enter history browsing mode, F3: enter paste
|
|
1826
|
+
mode (press again to exit).
|
|
1827
|
+
'''
|
|
1828
|
+
return textwrap.dedent(f'''\
|
|
1829
|
+
Welcome to Python {ver}'s help utility! If this is your first time using
|
|
1830
|
+
Python, you should definitely check out the tutorial at
|
|
1831
|
+
https://docs.python.org/{ver}/tutorial/.
|
|
1832
|
+
|
|
1833
|
+
Enter the name of any module, keyword, or topic to get help on writing
|
|
1834
|
+
Python programs and using Python modules. To get a list of available
|
|
1835
|
+
modules, keywords, symbols, or topics, enter "modules", "keywords",
|
|
1836
|
+
"symbols", or "topics".
|
|
1837
|
+
{pyrepl_keys}
|
|
1838
|
+
Each module also comes with a one-line summary of what it does; to list
|
|
1839
|
+
the modules whose name or summary contain a given string such as "spam",
|
|
1840
|
+
enter "modules spam".
|
|
1841
|
+
|
|
1842
|
+
To quit this help utility and return to the interpreter,
|
|
1843
|
+
enter "q", "quit" or "exit".
|
|
1844
|
+
''')
|
|
1845
|
+
|
|
1846
|
+
class Helper:
|
|
1847
|
+
|
|
1848
|
+
# These dictionaries map a topic name to either an alias, or a tuple
|
|
1849
|
+
# (label, seealso-items). The "label" is the label of the corresponding
|
|
1850
|
+
# section in the .rst file under Doc/ and an index into the dictionary
|
|
1851
|
+
# in pydoc_data/topics.py.
|
|
1852
|
+
#
|
|
1853
|
+
# CAUTION: if you change one of these dictionaries, be sure to adapt the
|
|
1854
|
+
# list of needed labels in Doc/tools/extensions/pyspecific.py and
|
|
1855
|
+
# regenerate the pydoc_data/topics.py file by running
|
|
1856
|
+
# make pydoc-topics
|
|
1857
|
+
# in Doc/ and copying the output file into the Lib/ directory.
|
|
1858
|
+
|
|
1859
|
+
keywords = {
|
|
1860
|
+
'False': '',
|
|
1861
|
+
'None': '',
|
|
1862
|
+
'True': '',
|
|
1863
|
+
'and': 'BOOLEAN',
|
|
1864
|
+
'as': 'with',
|
|
1865
|
+
'assert': ('assert', ''),
|
|
1866
|
+
'async': ('async', ''),
|
|
1867
|
+
'await': ('await', ''),
|
|
1868
|
+
'break': ('break', 'while for'),
|
|
1869
|
+
'class': ('class', 'CLASSES SPECIALMETHODS'),
|
|
1870
|
+
'continue': ('continue', 'while for'),
|
|
1871
|
+
'def': ('function', ''),
|
|
1872
|
+
'del': ('del', 'BASICMETHODS'),
|
|
1873
|
+
'elif': 'if',
|
|
1874
|
+
'else': ('else', 'while for'),
|
|
1875
|
+
'except': 'try',
|
|
1876
|
+
'finally': 'try',
|
|
1877
|
+
'for': ('for', 'break continue while'),
|
|
1878
|
+
'from': 'import',
|
|
1879
|
+
'global': ('global', 'nonlocal NAMESPACES'),
|
|
1880
|
+
'if': ('if', 'TRUTHVALUE'),
|
|
1881
|
+
'import': ('import', 'MODULES'),
|
|
1882
|
+
'in': ('in', 'SEQUENCEMETHODS'),
|
|
1883
|
+
'is': 'COMPARISON',
|
|
1884
|
+
'lambda': ('lambda', 'FUNCTIONS'),
|
|
1885
|
+
'nonlocal': ('nonlocal', 'global NAMESPACES'),
|
|
1886
|
+
'not': 'BOOLEAN',
|
|
1887
|
+
'or': 'BOOLEAN',
|
|
1888
|
+
'pass': ('pass', ''),
|
|
1889
|
+
'raise': ('raise', 'EXCEPTIONS'),
|
|
1890
|
+
'return': ('return', 'FUNCTIONS'),
|
|
1891
|
+
'try': ('try', 'EXCEPTIONS'),
|
|
1892
|
+
'while': ('while', 'break continue if TRUTHVALUE'),
|
|
1893
|
+
'with': ('with', 'CONTEXTMANAGERS EXCEPTIONS yield'),
|
|
1894
|
+
'yield': ('yield', ''),
|
|
1895
|
+
}
|
|
1896
|
+
# Either add symbols to this dictionary or to the symbols dictionary
|
|
1897
|
+
# directly: Whichever is easier. They are merged later.
|
|
1898
|
+
_strprefixes = [p + q for p in ('b', 'f', 'r', 'u') for q in ("'", '"')]
|
|
1899
|
+
_symbols_inverse = {
|
|
1900
|
+
'STRINGS' : ("'", "'''", '"', '"""', *_strprefixes),
|
|
1901
|
+
'OPERATORS' : ('+', '-', '*', '**', '/', '//', '%', '<<', '>>', '&',
|
|
1902
|
+
'|', '^', '~', '<', '>', '<=', '>=', '==', '!=', '<>'),
|
|
1903
|
+
'COMPARISON' : ('<', '>', '<=', '>=', '==', '!=', '<>'),
|
|
1904
|
+
'UNARY' : ('-', '~'),
|
|
1905
|
+
'AUGMENTEDASSIGNMENT' : ('+=', '-=', '*=', '/=', '%=', '&=', '|=',
|
|
1906
|
+
'^=', '<<=', '>>=', '**=', '//='),
|
|
1907
|
+
'BITWISE' : ('<<', '>>', '&', '|', '^', '~'),
|
|
1908
|
+
'COMPLEX' : ('j', 'J')
|
|
1909
|
+
}
|
|
1910
|
+
symbols = {
|
|
1911
|
+
'%': 'OPERATORS FORMATTING',
|
|
1912
|
+
'**': 'POWER',
|
|
1913
|
+
',': 'TUPLES LISTS FUNCTIONS',
|
|
1914
|
+
'.': 'ATTRIBUTES FLOAT MODULES OBJECTS',
|
|
1915
|
+
'...': 'ELLIPSIS',
|
|
1916
|
+
':': 'SLICINGS DICTIONARYLITERALS',
|
|
1917
|
+
'@': 'def class',
|
|
1918
|
+
'\\': 'STRINGS',
|
|
1919
|
+
':=': 'ASSIGNMENTEXPRESSIONS',
|
|
1920
|
+
'_': 'PRIVATENAMES',
|
|
1921
|
+
'__': 'PRIVATENAMES SPECIALMETHODS',
|
|
1922
|
+
'`': 'BACKQUOTES',
|
|
1923
|
+
'(': 'TUPLES FUNCTIONS CALLS',
|
|
1924
|
+
')': 'TUPLES FUNCTIONS CALLS',
|
|
1925
|
+
'[': 'LISTS SUBSCRIPTS SLICINGS',
|
|
1926
|
+
']': 'LISTS SUBSCRIPTS SLICINGS'
|
|
1927
|
+
}
|
|
1928
|
+
for topic, symbols_ in _symbols_inverse.items():
|
|
1929
|
+
for symbol in symbols_:
|
|
1930
|
+
topics = symbols.get(symbol, topic)
|
|
1931
|
+
if topic not in topics:
|
|
1932
|
+
topics = topics + ' ' + topic
|
|
1933
|
+
symbols[symbol] = topics
|
|
1934
|
+
del topic, symbols_, symbol, topics
|
|
1935
|
+
|
|
1936
|
+
topics = {
|
|
1937
|
+
'TYPES': ('types', 'STRINGS UNICODE NUMBERS SEQUENCES MAPPINGS '
|
|
1938
|
+
'FUNCTIONS CLASSES MODULES FILES inspect'),
|
|
1939
|
+
'STRINGS': ('strings', 'str UNICODE SEQUENCES STRINGMETHODS '
|
|
1940
|
+
'FORMATTING TYPES'),
|
|
1941
|
+
'STRINGMETHODS': ('string-methods', 'STRINGS FORMATTING'),
|
|
1942
|
+
'FORMATTING': ('formatstrings', 'OPERATORS'),
|
|
1943
|
+
'UNICODE': ('strings', 'encodings unicode SEQUENCES STRINGMETHODS '
|
|
1944
|
+
'FORMATTING TYPES'),
|
|
1945
|
+
'NUMBERS': ('numbers', 'INTEGER FLOAT COMPLEX TYPES'),
|
|
1946
|
+
'INTEGER': ('integers', 'int range'),
|
|
1947
|
+
'FLOAT': ('floating', 'float math'),
|
|
1948
|
+
'COMPLEX': ('imaginary', 'complex cmath'),
|
|
1949
|
+
'SEQUENCES': ('typesseq', 'STRINGMETHODS FORMATTING range LISTS'),
|
|
1950
|
+
'MAPPINGS': 'DICTIONARIES',
|
|
1951
|
+
'FUNCTIONS': ('typesfunctions', 'def TYPES'),
|
|
1952
|
+
'METHODS': ('typesmethods', 'class def CLASSES TYPES'),
|
|
1953
|
+
'CODEOBJECTS': ('bltin-code-objects', 'compile FUNCTIONS TYPES'),
|
|
1954
|
+
'TYPEOBJECTS': ('bltin-type-objects', 'types TYPES'),
|
|
1955
|
+
'FRAMEOBJECTS': 'TYPES',
|
|
1956
|
+
'TRACEBACKS': 'TYPES',
|
|
1957
|
+
'NONE': ('bltin-null-object', ''),
|
|
1958
|
+
'ELLIPSIS': ('bltin-ellipsis-object', 'SLICINGS'),
|
|
1959
|
+
'SPECIALATTRIBUTES': ('specialattrs', ''),
|
|
1960
|
+
'CLASSES': ('types', 'class SPECIALMETHODS PRIVATENAMES'),
|
|
1961
|
+
'MODULES': ('typesmodules', 'import'),
|
|
1962
|
+
'PACKAGES': 'import',
|
|
1963
|
+
'EXPRESSIONS': ('operator-summary', 'lambda or and not in is BOOLEAN '
|
|
1964
|
+
'COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER '
|
|
1965
|
+
'UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES '
|
|
1966
|
+
'LISTS DICTIONARIES'),
|
|
1967
|
+
'OPERATORS': 'EXPRESSIONS',
|
|
1968
|
+
'PRECEDENCE': 'EXPRESSIONS',
|
|
1969
|
+
'OBJECTS': ('objects', 'TYPES'),
|
|
1970
|
+
'SPECIALMETHODS': ('specialnames', 'BASICMETHODS ATTRIBUTEMETHODS '
|
|
1971
|
+
'CALLABLEMETHODS SEQUENCEMETHODS MAPPINGMETHODS '
|
|
1972
|
+
'NUMBERMETHODS CLASSES'),
|
|
1973
|
+
'BASICMETHODS': ('customization', 'hash repr str SPECIALMETHODS'),
|
|
1974
|
+
'ATTRIBUTEMETHODS': ('attribute-access', 'ATTRIBUTES SPECIALMETHODS'),
|
|
1975
|
+
'CALLABLEMETHODS': ('callable-types', 'CALLS SPECIALMETHODS'),
|
|
1976
|
+
'SEQUENCEMETHODS': ('sequence-types', 'SEQUENCES SEQUENCEMETHODS '
|
|
1977
|
+
'SPECIALMETHODS'),
|
|
1978
|
+
'MAPPINGMETHODS': ('sequence-types', 'MAPPINGS SPECIALMETHODS'),
|
|
1979
|
+
'NUMBERMETHODS': ('numeric-types', 'NUMBERS AUGMENTEDASSIGNMENT '
|
|
1980
|
+
'SPECIALMETHODS'),
|
|
1981
|
+
'EXECUTION': ('execmodel', 'NAMESPACES DYNAMICFEATURES EXCEPTIONS'),
|
|
1982
|
+
'NAMESPACES': ('naming', 'global nonlocal ASSIGNMENT DELETION DYNAMICFEATURES'),
|
|
1983
|
+
'DYNAMICFEATURES': ('dynamic-features', ''),
|
|
1984
|
+
'SCOPING': 'NAMESPACES',
|
|
1985
|
+
'FRAMES': 'NAMESPACES',
|
|
1986
|
+
'EXCEPTIONS': ('exceptions', 'try except finally raise'),
|
|
1987
|
+
'CONVERSIONS': ('conversions', ''),
|
|
1988
|
+
'IDENTIFIERS': ('identifiers', 'keywords SPECIALIDENTIFIERS'),
|
|
1989
|
+
'SPECIALIDENTIFIERS': ('id-classes', ''),
|
|
1990
|
+
'PRIVATENAMES': ('atom-identifiers', ''),
|
|
1991
|
+
'LITERALS': ('atom-literals', 'STRINGS NUMBERS TUPLELITERALS '
|
|
1992
|
+
'LISTLITERALS DICTIONARYLITERALS'),
|
|
1993
|
+
'TUPLES': 'SEQUENCES',
|
|
1994
|
+
'TUPLELITERALS': ('exprlists', 'TUPLES LITERALS'),
|
|
1995
|
+
'LISTS': ('typesseq-mutable', 'LISTLITERALS'),
|
|
1996
|
+
'LISTLITERALS': ('lists', 'LISTS LITERALS'),
|
|
1997
|
+
'DICTIONARIES': ('typesmapping', 'DICTIONARYLITERALS'),
|
|
1998
|
+
'DICTIONARYLITERALS': ('dict', 'DICTIONARIES LITERALS'),
|
|
1999
|
+
'ATTRIBUTES': ('attribute-references', 'getattr hasattr setattr ATTRIBUTEMETHODS'),
|
|
2000
|
+
'SUBSCRIPTS': ('subscriptions', 'SEQUENCEMETHODS'),
|
|
2001
|
+
'SLICINGS': ('slicings', 'SEQUENCEMETHODS'),
|
|
2002
|
+
'CALLS': ('calls', 'EXPRESSIONS'),
|
|
2003
|
+
'POWER': ('power', 'EXPRESSIONS'),
|
|
2004
|
+
'UNARY': ('unary', 'EXPRESSIONS'),
|
|
2005
|
+
'BINARY': ('binary', 'EXPRESSIONS'),
|
|
2006
|
+
'SHIFTING': ('shifting', 'EXPRESSIONS'),
|
|
2007
|
+
'BITWISE': ('bitwise', 'EXPRESSIONS'),
|
|
2008
|
+
'COMPARISON': ('comparisons', 'EXPRESSIONS BASICMETHODS'),
|
|
2009
|
+
'BOOLEAN': ('booleans', 'EXPRESSIONS TRUTHVALUE'),
|
|
2010
|
+
'ASSERTION': 'assert',
|
|
2011
|
+
'ASSIGNMENT': ('assignment', 'AUGMENTEDASSIGNMENT'),
|
|
2012
|
+
'AUGMENTEDASSIGNMENT': ('augassign', 'NUMBERMETHODS'),
|
|
2013
|
+
'ASSIGNMENTEXPRESSIONS': ('assignment-expressions', ''),
|
|
2014
|
+
'DELETION': 'del',
|
|
2015
|
+
'RETURNING': 'return',
|
|
2016
|
+
'IMPORTING': 'import',
|
|
2017
|
+
'CONDITIONAL': 'if',
|
|
2018
|
+
'LOOPING': ('compound', 'for while break continue'),
|
|
2019
|
+
'TRUTHVALUE': ('truth', 'if while and or not BASICMETHODS'),
|
|
2020
|
+
'DEBUGGING': ('debugger', 'pdb'),
|
|
2021
|
+
'CONTEXTMANAGERS': ('context-managers', 'with'),
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
def __init__(self, input=None, output=None):
|
|
2025
|
+
self._input = input
|
|
2026
|
+
self._output = output
|
|
2027
|
+
|
|
2028
|
+
@property
|
|
2029
|
+
def input(self):
|
|
2030
|
+
return self._input or sys.stdin
|
|
2031
|
+
|
|
2032
|
+
@property
|
|
2033
|
+
def output(self):
|
|
2034
|
+
return self._output or sys.stdout
|
|
2035
|
+
|
|
2036
|
+
def __repr__(self):
|
|
2037
|
+
if inspect.stack()[1][3] == '?':
|
|
2038
|
+
self()
|
|
2039
|
+
return ''
|
|
2040
|
+
return '<%s.%s instance>' % (self.__class__.__module__,
|
|
2041
|
+
self.__class__.__qualname__)
|
|
2042
|
+
|
|
2043
|
+
_GoInteractive = object()
|
|
2044
|
+
def __call__(self, request=_GoInteractive):
|
|
2045
|
+
if request is not self._GoInteractive:
|
|
2046
|
+
try:
|
|
2047
|
+
self.help(request)
|
|
2048
|
+
except ImportError as err:
|
|
2049
|
+
self.output.write(f'{err}\n')
|
|
2050
|
+
else:
|
|
2051
|
+
self.intro()
|
|
2052
|
+
self.interact()
|
|
2053
|
+
self.output.write('''
|
|
2054
|
+
You are now leaving help and returning to the Python interpreter.
|
|
2055
|
+
If you want to ask for help on a particular object directly from the
|
|
2056
|
+
interpreter, you can type "help(object)". Executing "help('string')"
|
|
2057
|
+
has the same effect as typing a particular string at the help> prompt.
|
|
2058
|
+
''')
|
|
2059
|
+
|
|
2060
|
+
def interact(self):
|
|
2061
|
+
self.output.write('\n')
|
|
2062
|
+
while True:
|
|
2063
|
+
try:
|
|
2064
|
+
request = self.getline('help> ')
|
|
2065
|
+
if not request: break
|
|
2066
|
+
except (KeyboardInterrupt, EOFError):
|
|
2067
|
+
break
|
|
2068
|
+
request = request.strip()
|
|
2069
|
+
|
|
2070
|
+
# Make sure significant trailing quoting marks of literals don't
|
|
2071
|
+
# get deleted while cleaning input
|
|
2072
|
+
if (len(request) > 2 and request[0] == request[-1] in ("'", '"')
|
|
2073
|
+
and request[0] not in request[1:-1]):
|
|
2074
|
+
request = request[1:-1]
|
|
2075
|
+
if request.lower() in ('q', 'quit', 'exit'): break
|
|
2076
|
+
if request == 'help':
|
|
2077
|
+
self.intro()
|
|
2078
|
+
else:
|
|
2079
|
+
self.help(request)
|
|
2080
|
+
|
|
2081
|
+
def getline(self, prompt):
|
|
2082
|
+
"""Read one line, using input() when appropriate."""
|
|
2083
|
+
if self.input is sys.stdin:
|
|
2084
|
+
return input(prompt)
|
|
2085
|
+
else:
|
|
2086
|
+
self.output.write(prompt)
|
|
2087
|
+
self.output.flush()
|
|
2088
|
+
return self.input.readline()
|
|
2089
|
+
|
|
2090
|
+
def help(self, request, is_cli=False):
|
|
2091
|
+
if isinstance(request, str):
|
|
2092
|
+
request = request.strip()
|
|
2093
|
+
if request == 'keywords': self.listkeywords()
|
|
2094
|
+
elif request == 'symbols': self.listsymbols()
|
|
2095
|
+
elif request == 'topics': self.listtopics()
|
|
2096
|
+
elif request == 'modules': self.listmodules()
|
|
2097
|
+
elif request[:8] == 'modules ':
|
|
2098
|
+
self.listmodules(request.split()[1])
|
|
2099
|
+
elif request in self.symbols: self.showsymbol(request)
|
|
2100
|
+
elif request in ['True', 'False', 'None']:
|
|
2101
|
+
# special case these keywords since they are objects too
|
|
2102
|
+
doc(eval(request), 'Help on %s:', output=self._output, is_cli=is_cli)
|
|
2103
|
+
elif request in self.keywords: self.showtopic(request)
|
|
2104
|
+
elif request in self.topics: self.showtopic(request)
|
|
2105
|
+
elif request: doc(request, 'Help on %s:', output=self._output, is_cli=is_cli)
|
|
2106
|
+
else: doc(str, 'Help on %s:', output=self._output, is_cli=is_cli)
|
|
2107
|
+
elif isinstance(request, Helper): self()
|
|
2108
|
+
else: doc(request, 'Help on %s:', output=self._output, is_cli=is_cli)
|
|
2109
|
+
self.output.write('\n')
|
|
2110
|
+
|
|
2111
|
+
def intro(self):
|
|
2112
|
+
self.output.write(_introdoc())
|
|
2113
|
+
|
|
2114
|
+
def list(self, items, columns=4, width=80):
|
|
2115
|
+
items = sorted(items)
|
|
2116
|
+
colw = width // columns
|
|
2117
|
+
rows = (len(items) + columns - 1) // columns
|
|
2118
|
+
for row in range(rows):
|
|
2119
|
+
for col in range(columns):
|
|
2120
|
+
i = col * rows + row
|
|
2121
|
+
if i < len(items):
|
|
2122
|
+
self.output.write(items[i])
|
|
2123
|
+
if col < columns - 1:
|
|
2124
|
+
self.output.write(' ' + ' ' * (colw - 1 - len(items[i])))
|
|
2125
|
+
self.output.write('\n')
|
|
2126
|
+
|
|
2127
|
+
def listkeywords(self):
|
|
2128
|
+
self.output.write('''
|
|
2129
|
+
Here is a list of the Python keywords. Enter any keyword to get more help.
|
|
2130
|
+
|
|
2131
|
+
''')
|
|
2132
|
+
self.list(self.keywords.keys())
|
|
2133
|
+
|
|
2134
|
+
def listsymbols(self):
|
|
2135
|
+
self.output.write('''
|
|
2136
|
+
Here is a list of the punctuation symbols which Python assigns special meaning
|
|
2137
|
+
to. Enter any symbol to get more help.
|
|
2138
|
+
|
|
2139
|
+
''')
|
|
2140
|
+
self.list(self.symbols.keys())
|
|
2141
|
+
|
|
2142
|
+
def listtopics(self):
|
|
2143
|
+
self.output.write('''
|
|
2144
|
+
Here is a list of available topics. Enter any topic name to get more help.
|
|
2145
|
+
|
|
2146
|
+
''')
|
|
2147
|
+
self.list(self.topics.keys(), columns=3)
|
|
2148
|
+
|
|
2149
|
+
def showtopic(self, topic, more_xrefs=''):
|
|
2150
|
+
try:
|
|
2151
|
+
import pydoc_data.topics
|
|
2152
|
+
except ImportError:
|
|
2153
|
+
self.output.write('''
|
|
2154
|
+
Sorry, topic and keyword documentation is not available because the
|
|
2155
|
+
module "pydoc_data.topics" could not be found.
|
|
2156
|
+
''')
|
|
2157
|
+
return
|
|
2158
|
+
target = self.topics.get(topic, self.keywords.get(topic))
|
|
2159
|
+
if not target:
|
|
2160
|
+
self.output.write('no documentation found for %s\n' % repr(topic))
|
|
2161
|
+
return
|
|
2162
|
+
if isinstance(target, str):
|
|
2163
|
+
return self.showtopic(target, more_xrefs)
|
|
2164
|
+
|
|
2165
|
+
label, xrefs = target
|
|
2166
|
+
try:
|
|
2167
|
+
doc = pydoc_data.topics.topics[label]
|
|
2168
|
+
except KeyError:
|
|
2169
|
+
self.output.write('no documentation found for %s\n' % repr(topic))
|
|
2170
|
+
return
|
|
2171
|
+
doc = doc.strip() + '\n'
|
|
2172
|
+
if more_xrefs:
|
|
2173
|
+
xrefs = (xrefs or '') + ' ' + more_xrefs
|
|
2174
|
+
if xrefs:
|
|
2175
|
+
import textwrap
|
|
2176
|
+
text = 'Related help topics: ' + ', '.join(xrefs.split()) + '\n'
|
|
2177
|
+
wrapped_text = textwrap.wrap(text, 72)
|
|
2178
|
+
doc += '\n%s\n' % '\n'.join(wrapped_text)
|
|
2179
|
+
|
|
2180
|
+
if self._output is None:
|
|
2181
|
+
pager(doc, f'Help on {topic!s}')
|
|
2182
|
+
else:
|
|
2183
|
+
self.output.write(doc)
|
|
2184
|
+
|
|
2185
|
+
def _gettopic(self, topic, more_xrefs=''):
|
|
2186
|
+
"""Return unbuffered tuple of (topic, xrefs).
|
|
2187
|
+
|
|
2188
|
+
If an error occurs here, the exception is caught and displayed by
|
|
2189
|
+
the url handler.
|
|
2190
|
+
|
|
2191
|
+
This function duplicates the showtopic method but returns its
|
|
2192
|
+
result directly so it can be formatted for display in an html page.
|
|
2193
|
+
"""
|
|
2194
|
+
try:
|
|
2195
|
+
import pydoc_data.topics
|
|
2196
|
+
except ImportError:
|
|
2197
|
+
return('''
|
|
2198
|
+
Sorry, topic and keyword documentation is not available because the
|
|
2199
|
+
module "pydoc_data.topics" could not be found.
|
|
2200
|
+
''' , '')
|
|
2201
|
+
target = self.topics.get(topic, self.keywords.get(topic))
|
|
2202
|
+
if not target:
|
|
2203
|
+
raise ValueError('could not find topic')
|
|
2204
|
+
if isinstance(target, str):
|
|
2205
|
+
return self._gettopic(target, more_xrefs)
|
|
2206
|
+
label, xrefs = target
|
|
2207
|
+
doc = pydoc_data.topics.topics[label]
|
|
2208
|
+
if more_xrefs:
|
|
2209
|
+
xrefs = (xrefs or '') + ' ' + more_xrefs
|
|
2210
|
+
return doc, xrefs
|
|
2211
|
+
|
|
2212
|
+
def showsymbol(self, symbol):
|
|
2213
|
+
target = self.symbols[symbol]
|
|
2214
|
+
topic, _, xrefs = target.partition(' ')
|
|
2215
|
+
self.showtopic(topic, xrefs)
|
|
2216
|
+
|
|
2217
|
+
def listmodules(self, key=''):
|
|
2218
|
+
if key:
|
|
2219
|
+
self.output.write('''
|
|
2220
|
+
Here is a list of modules whose name or summary contains '{}'.
|
|
2221
|
+
If there are any, enter a module name to get more help.
|
|
2222
|
+
|
|
2223
|
+
'''.format(key))
|
|
2224
|
+
apropos(key)
|
|
2225
|
+
else:
|
|
2226
|
+
self.output.write('''
|
|
2227
|
+
Please wait a moment while I gather a list of all available modules...
|
|
2228
|
+
|
|
2229
|
+
''')
|
|
2230
|
+
modules = {}
|
|
2231
|
+
def callback(path, modname, desc, modules=modules):
|
|
2232
|
+
if modname and modname[-9:] == '.__init__':
|
|
2233
|
+
modname = modname[:-9] + ' (package)'
|
|
2234
|
+
if modname.find('.') < 0:
|
|
2235
|
+
modules[modname] = 1
|
|
2236
|
+
def onerror(modname):
|
|
2237
|
+
callback(None, modname, None)
|
|
2238
|
+
ModuleScanner().run(callback, onerror=onerror)
|
|
2239
|
+
self.list(modules.keys())
|
|
2240
|
+
self.output.write('''
|
|
2241
|
+
Enter any module name to get more help. Or, type "modules spam" to search
|
|
2242
|
+
for modules whose name or summary contain the string "spam".
|
|
2243
|
+
''')
|
|
2244
|
+
|
|
2245
|
+
help = Helper()
|
|
2246
|
+
|
|
2247
|
+
class ModuleScanner:
|
|
2248
|
+
"""An interruptible scanner that searches module synopses."""
|
|
2249
|
+
|
|
2250
|
+
def run(self, callback, key=None, completer=None, onerror=None):
|
|
2251
|
+
if key: key = key.lower()
|
|
2252
|
+
self.quit = False
|
|
2253
|
+
seen = {}
|
|
2254
|
+
|
|
2255
|
+
for modname in sys.builtin_module_names:
|
|
2256
|
+
if modname != '__main__':
|
|
2257
|
+
seen[modname] = 1
|
|
2258
|
+
if key is None:
|
|
2259
|
+
callback(None, modname, '')
|
|
2260
|
+
else:
|
|
2261
|
+
name = __import__(modname).__doc__ or ''
|
|
2262
|
+
desc = name.split('\n')[0]
|
|
2263
|
+
name = modname + ' - ' + desc
|
|
2264
|
+
if name.lower().find(key) >= 0:
|
|
2265
|
+
callback(None, modname, desc)
|
|
2266
|
+
|
|
2267
|
+
for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
|
|
2268
|
+
if self.quit:
|
|
2269
|
+
break
|
|
2270
|
+
|
|
2271
|
+
if key is None:
|
|
2272
|
+
callback(None, modname, '')
|
|
2273
|
+
else:
|
|
2274
|
+
try:
|
|
2275
|
+
spec = importer.find_spec(modname)
|
|
2276
|
+
except SyntaxError:
|
|
2277
|
+
# raised by tests for bad coding cookies or BOM
|
|
2278
|
+
continue
|
|
2279
|
+
loader = spec.loader
|
|
2280
|
+
if hasattr(loader, 'get_source'):
|
|
2281
|
+
try:
|
|
2282
|
+
source = loader.get_source(modname)
|
|
2283
|
+
except Exception:
|
|
2284
|
+
if onerror:
|
|
2285
|
+
onerror(modname)
|
|
2286
|
+
continue
|
|
2287
|
+
desc = source_synopsis(io.StringIO(source)) or ''
|
|
2288
|
+
if hasattr(loader, 'get_filename'):
|
|
2289
|
+
path = loader.get_filename(modname)
|
|
2290
|
+
else:
|
|
2291
|
+
path = None
|
|
2292
|
+
else:
|
|
2293
|
+
try:
|
|
2294
|
+
module = importlib._bootstrap._load(spec)
|
|
2295
|
+
except ImportError:
|
|
2296
|
+
if onerror:
|
|
2297
|
+
onerror(modname)
|
|
2298
|
+
continue
|
|
2299
|
+
desc = module.__doc__.splitlines()[0] if module.__doc__ else ''
|
|
2300
|
+
path = getattr(module,'__file__',None)
|
|
2301
|
+
name = modname + ' - ' + desc
|
|
2302
|
+
if name.lower().find(key) >= 0:
|
|
2303
|
+
callback(path, modname, desc)
|
|
2304
|
+
|
|
2305
|
+
if completer:
|
|
2306
|
+
completer()
|
|
2307
|
+
|
|
2308
|
+
def apropos(key):
|
|
2309
|
+
"""Print all the one-line module summaries that contain a substring."""
|
|
2310
|
+
def callback(path, modname, desc):
|
|
2311
|
+
if modname[-9:] == '.__init__':
|
|
2312
|
+
modname = modname[:-9] + ' (package)'
|
|
2313
|
+
print(modname, desc and '- ' + desc)
|
|
2314
|
+
def onerror(modname):
|
|
2315
|
+
pass
|
|
2316
|
+
with warnings.catch_warnings():
|
|
2317
|
+
warnings.filterwarnings('ignore') # ignore problems during import
|
|
2318
|
+
ModuleScanner().run(callback, key, onerror=onerror)
|
|
2319
|
+
|
|
2320
|
+
# --------------------------------------- enhanced web browser interface
|
|
2321
|
+
|
|
2322
|
+
def _start_server(urlhandler, hostname, port):
|
|
2323
|
+
"""Start an HTTP server thread on a specific port.
|
|
2324
|
+
|
|
2325
|
+
Start an HTML/text server thread, so HTML or text documents can be
|
|
2326
|
+
browsed dynamically and interactively with a web browser. Example use:
|
|
2327
|
+
|
|
2328
|
+
>>> import time
|
|
2329
|
+
>>> import pydoc
|
|
2330
|
+
|
|
2331
|
+
Define a URL handler. To determine what the client is asking
|
|
2332
|
+
for, check the URL and content_type.
|
|
2333
|
+
|
|
2334
|
+
Then get or generate some text or HTML code and return it.
|
|
2335
|
+
|
|
2336
|
+
>>> def my_url_handler(url, content_type):
|
|
2337
|
+
... text = 'the URL sent was: (%s, %s)' % (url, content_type)
|
|
2338
|
+
... return text
|
|
2339
|
+
|
|
2340
|
+
Start server thread on port 0.
|
|
2341
|
+
If you use port 0, the server will pick a random port number.
|
|
2342
|
+
You can then use serverthread.port to get the port number.
|
|
2343
|
+
|
|
2344
|
+
>>> port = 0
|
|
2345
|
+
>>> serverthread = pydoc._start_server(my_url_handler, port)
|
|
2346
|
+
|
|
2347
|
+
Check that the server is really started. If it is, open browser
|
|
2348
|
+
and get first page. Use serverthread.url as the starting page.
|
|
2349
|
+
|
|
2350
|
+
>>> if serverthread.serving:
|
|
2351
|
+
... import webbrowser
|
|
2352
|
+
|
|
2353
|
+
The next two lines are commented out so a browser doesn't open if
|
|
2354
|
+
doctest is run on this module.
|
|
2355
|
+
|
|
2356
|
+
#... webbrowser.open(serverthread.url)
|
|
2357
|
+
#True
|
|
2358
|
+
|
|
2359
|
+
Let the server do its thing. We just need to monitor its status.
|
|
2360
|
+
Use time.sleep so the loop doesn't hog the CPU.
|
|
2361
|
+
|
|
2362
|
+
>>> starttime = time.monotonic()
|
|
2363
|
+
>>> timeout = 1 #seconds
|
|
2364
|
+
|
|
2365
|
+
This is a short timeout for testing purposes.
|
|
2366
|
+
|
|
2367
|
+
>>> while serverthread.serving:
|
|
2368
|
+
... time.sleep(.01)
|
|
2369
|
+
... if serverthread.serving and time.monotonic() - starttime > timeout:
|
|
2370
|
+
... serverthread.stop()
|
|
2371
|
+
... break
|
|
2372
|
+
|
|
2373
|
+
Print any errors that may have occurred.
|
|
2374
|
+
|
|
2375
|
+
>>> print(serverthread.error)
|
|
2376
|
+
None
|
|
2377
|
+
"""
|
|
2378
|
+
import http.server
|
|
2379
|
+
import email.message
|
|
2380
|
+
import select
|
|
2381
|
+
import threading
|
|
2382
|
+
|
|
2383
|
+
class DocHandler(http.server.BaseHTTPRequestHandler):
|
|
2384
|
+
|
|
2385
|
+
def do_GET(self):
|
|
2386
|
+
"""Process a request from an HTML browser.
|
|
2387
|
+
|
|
2388
|
+
The URL received is in self.path.
|
|
2389
|
+
Get an HTML page from self.urlhandler and send it.
|
|
2390
|
+
"""
|
|
2391
|
+
if self.path.endswith('.css'):
|
|
2392
|
+
content_type = 'text/css'
|
|
2393
|
+
else:
|
|
2394
|
+
content_type = 'text/html'
|
|
2395
|
+
self.send_response(200)
|
|
2396
|
+
self.send_header('Content-Type', '%s; charset=UTF-8' % content_type)
|
|
2397
|
+
self.end_headers()
|
|
2398
|
+
self.wfile.write(self.urlhandler(
|
|
2399
|
+
self.path, content_type).encode('utf-8'))
|
|
2400
|
+
|
|
2401
|
+
def log_message(self, *args):
|
|
2402
|
+
# Don't log messages.
|
|
2403
|
+
pass
|
|
2404
|
+
|
|
2405
|
+
class DocServer(http.server.HTTPServer):
|
|
2406
|
+
|
|
2407
|
+
def __init__(self, host, port, callback):
|
|
2408
|
+
self.host = host
|
|
2409
|
+
self.address = (self.host, port)
|
|
2410
|
+
self.callback = callback
|
|
2411
|
+
self.base.__init__(self, self.address, self.handler)
|
|
2412
|
+
self.quit = False
|
|
2413
|
+
|
|
2414
|
+
def serve_until_quit(self):
|
|
2415
|
+
while not self.quit:
|
|
2416
|
+
rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
|
|
2417
|
+
if rd:
|
|
2418
|
+
self.handle_request()
|
|
2419
|
+
self.server_close()
|
|
2420
|
+
|
|
2421
|
+
def server_activate(self):
|
|
2422
|
+
self.base.server_activate(self)
|
|
2423
|
+
if self.callback:
|
|
2424
|
+
self.callback(self)
|
|
2425
|
+
|
|
2426
|
+
class ServerThread(threading.Thread):
|
|
2427
|
+
|
|
2428
|
+
def __init__(self, urlhandler, host, port):
|
|
2429
|
+
self.urlhandler = urlhandler
|
|
2430
|
+
self.host = host
|
|
2431
|
+
self.port = int(port)
|
|
2432
|
+
threading.Thread.__init__(self)
|
|
2433
|
+
self.serving = False
|
|
2434
|
+
self.error = None
|
|
2435
|
+
self.docserver = None
|
|
2436
|
+
|
|
2437
|
+
def run(self):
|
|
2438
|
+
"""Start the server."""
|
|
2439
|
+
try:
|
|
2440
|
+
DocServer.base = http.server.HTTPServer
|
|
2441
|
+
DocServer.handler = DocHandler
|
|
2442
|
+
DocHandler.MessageClass = email.message.Message
|
|
2443
|
+
DocHandler.urlhandler = staticmethod(self.urlhandler)
|
|
2444
|
+
docsvr = DocServer(self.host, self.port, self.ready)
|
|
2445
|
+
self.docserver = docsvr
|
|
2446
|
+
docsvr.serve_until_quit()
|
|
2447
|
+
except Exception as err:
|
|
2448
|
+
self.error = err
|
|
2449
|
+
|
|
2450
|
+
def ready(self, server):
|
|
2451
|
+
self.serving = True
|
|
2452
|
+
self.host = server.host
|
|
2453
|
+
self.port = server.server_port
|
|
2454
|
+
self.url = 'http://%s:%d/' % (self.host, self.port)
|
|
2455
|
+
|
|
2456
|
+
def stop(self):
|
|
2457
|
+
"""Stop the server and this thread nicely"""
|
|
2458
|
+
self.docserver.quit = True
|
|
2459
|
+
self.join()
|
|
2460
|
+
# explicitly break a reference cycle: DocServer.callback
|
|
2461
|
+
# has indirectly a reference to ServerThread.
|
|
2462
|
+
self.docserver = None
|
|
2463
|
+
self.serving = False
|
|
2464
|
+
self.url = None
|
|
2465
|
+
|
|
2466
|
+
thread = ServerThread(urlhandler, hostname, port)
|
|
2467
|
+
thread.start()
|
|
2468
|
+
# Wait until thread.serving is True and thread.docserver is set
|
|
2469
|
+
# to make sure we are really up before returning.
|
|
2470
|
+
while not thread.error and not (thread.serving and thread.docserver):
|
|
2471
|
+
time.sleep(.01)
|
|
2472
|
+
return thread
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
def _url_handler(url, content_type="text/html"):
|
|
2476
|
+
"""The pydoc url handler for use with the pydoc server.
|
|
2477
|
+
|
|
2478
|
+
If the content_type is 'text/css', the _pydoc.css style
|
|
2479
|
+
sheet is read and returned if it exits.
|
|
2480
|
+
|
|
2481
|
+
If the content_type is 'text/html', then the result of
|
|
2482
|
+
get_html_page(url) is returned.
|
|
2483
|
+
"""
|
|
2484
|
+
class _HTMLDoc(HTMLDoc):
|
|
2485
|
+
|
|
2486
|
+
def page(self, title, contents):
|
|
2487
|
+
"""Format an HTML page."""
|
|
2488
|
+
css_path = "pydoc_data/_pydoc.css"
|
|
2489
|
+
css_link = (
|
|
2490
|
+
'<link rel="stylesheet" type="text/css" href="%s">' %
|
|
2491
|
+
css_path)
|
|
2492
|
+
return '''\
|
|
2493
|
+
<!DOCTYPE>
|
|
2494
|
+
<html lang="en">
|
|
2495
|
+
<head>
|
|
2496
|
+
<meta charset="utf-8">
|
|
2497
|
+
<title>Pydoc: %s</title>
|
|
2498
|
+
%s</head><body>%s<div style="clear:both;padding-top:.5em;">%s</div>
|
|
2499
|
+
</body></html>''' % (title, css_link, html_navbar(), contents)
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
html = _HTMLDoc()
|
|
2503
|
+
|
|
2504
|
+
def html_navbar():
|
|
2505
|
+
version = html.escape("%s [%s, %s]" % (platform.python_version(),
|
|
2506
|
+
platform.python_build()[0],
|
|
2507
|
+
platform.python_compiler()))
|
|
2508
|
+
return """
|
|
2509
|
+
<div style='float:left'>
|
|
2510
|
+
Python %s<br>%s
|
|
2511
|
+
</div>
|
|
2512
|
+
<div style='float:right'>
|
|
2513
|
+
<div style='text-align:center'>
|
|
2514
|
+
<a href="index.html">Module Index</a>
|
|
2515
|
+
: <a href="topics.html">Topics</a>
|
|
2516
|
+
: <a href="keywords.html">Keywords</a>
|
|
2517
|
+
</div>
|
|
2518
|
+
<div>
|
|
2519
|
+
<form action="get" style='display:inline;'>
|
|
2520
|
+
<input type=text name=key size=15>
|
|
2521
|
+
<input type=submit value="Get">
|
|
2522
|
+
</form>
|
|
2523
|
+
<form action="search" style='display:inline;'>
|
|
2524
|
+
<input type=text name=key size=15>
|
|
2525
|
+
<input type=submit value="Search">
|
|
2526
|
+
</form>
|
|
2527
|
+
</div>
|
|
2528
|
+
</div>
|
|
2529
|
+
""" % (version, html.escape(platform.platform(terse=True)))
|
|
2530
|
+
|
|
2531
|
+
def html_index():
|
|
2532
|
+
"""Module Index page."""
|
|
2533
|
+
|
|
2534
|
+
def bltinlink(name):
|
|
2535
|
+
return '<a href="%s.html">%s</a>' % (name, name)
|
|
2536
|
+
|
|
2537
|
+
heading = html.heading(
|
|
2538
|
+
'<strong class="title">Index of Modules</strong>'
|
|
2539
|
+
)
|
|
2540
|
+
names = [name for name in sys.builtin_module_names
|
|
2541
|
+
if name != '__main__']
|
|
2542
|
+
contents = html.multicolumn(names, bltinlink)
|
|
2543
|
+
contents = [heading, '<p>' + html.bigsection(
|
|
2544
|
+
'Built-in Modules', 'index', contents)]
|
|
2545
|
+
|
|
2546
|
+
seen = {}
|
|
2547
|
+
for dir in sys.path:
|
|
2548
|
+
contents.append(html.index(dir, seen))
|
|
2549
|
+
|
|
2550
|
+
contents.append(
|
|
2551
|
+
'<p align=right class="heading-text grey"><strong>pydoc</strong> by Ka-Ping Yee'
|
|
2552
|
+
'<ping@lfw.org></p>')
|
|
2553
|
+
return 'Index of Modules', ''.join(contents)
|
|
2554
|
+
|
|
2555
|
+
def html_search(key):
|
|
2556
|
+
"""Search results page."""
|
|
2557
|
+
# scan for modules
|
|
2558
|
+
search_result = []
|
|
2559
|
+
|
|
2560
|
+
def callback(path, modname, desc):
|
|
2561
|
+
if modname[-9:] == '.__init__':
|
|
2562
|
+
modname = modname[:-9] + ' (package)'
|
|
2563
|
+
search_result.append((modname, desc and '- ' + desc))
|
|
2564
|
+
|
|
2565
|
+
with warnings.catch_warnings():
|
|
2566
|
+
warnings.filterwarnings('ignore') # ignore problems during import
|
|
2567
|
+
def onerror(modname):
|
|
2568
|
+
pass
|
|
2569
|
+
ModuleScanner().run(callback, key, onerror=onerror)
|
|
2570
|
+
|
|
2571
|
+
# format page
|
|
2572
|
+
def bltinlink(name):
|
|
2573
|
+
return '<a href="%s.html">%s</a>' % (name, name)
|
|
2574
|
+
|
|
2575
|
+
results = []
|
|
2576
|
+
heading = html.heading(
|
|
2577
|
+
'<strong class="title">Search Results</strong>',
|
|
2578
|
+
)
|
|
2579
|
+
for name, desc in search_result:
|
|
2580
|
+
results.append(bltinlink(name) + desc)
|
|
2581
|
+
contents = heading + html.bigsection(
|
|
2582
|
+
'key = %s' % key, 'index', '<br>'.join(results))
|
|
2583
|
+
return 'Search Results', contents
|
|
2584
|
+
|
|
2585
|
+
def html_topics():
|
|
2586
|
+
"""Index of topic texts available."""
|
|
2587
|
+
|
|
2588
|
+
def bltinlink(name):
|
|
2589
|
+
return '<a href="topic?key=%s">%s</a>' % (name, name)
|
|
2590
|
+
|
|
2591
|
+
heading = html.heading(
|
|
2592
|
+
'<strong class="title">INDEX</strong>',
|
|
2593
|
+
)
|
|
2594
|
+
names = sorted(Helper.topics.keys())
|
|
2595
|
+
|
|
2596
|
+
contents = html.multicolumn(names, bltinlink)
|
|
2597
|
+
contents = heading + html.bigsection(
|
|
2598
|
+
'Topics', 'index', contents)
|
|
2599
|
+
return 'Topics', contents
|
|
2600
|
+
|
|
2601
|
+
def html_keywords():
|
|
2602
|
+
"""Index of keywords."""
|
|
2603
|
+
heading = html.heading(
|
|
2604
|
+
'<strong class="title">INDEX</strong>',
|
|
2605
|
+
)
|
|
2606
|
+
names = sorted(Helper.keywords.keys())
|
|
2607
|
+
|
|
2608
|
+
def bltinlink(name):
|
|
2609
|
+
return '<a href="topic?key=%s">%s</a>' % (name, name)
|
|
2610
|
+
|
|
2611
|
+
contents = html.multicolumn(names, bltinlink)
|
|
2612
|
+
contents = heading + html.bigsection(
|
|
2613
|
+
'Keywords', 'index', contents)
|
|
2614
|
+
return 'Keywords', contents
|
|
2615
|
+
|
|
2616
|
+
def html_topicpage(topic):
|
|
2617
|
+
"""Topic or keyword help page."""
|
|
2618
|
+
buf = io.StringIO()
|
|
2619
|
+
htmlhelp = Helper(buf, buf)
|
|
2620
|
+
contents, xrefs = htmlhelp._gettopic(topic)
|
|
2621
|
+
if topic in htmlhelp.keywords:
|
|
2622
|
+
title = 'KEYWORD'
|
|
2623
|
+
else:
|
|
2624
|
+
title = 'TOPIC'
|
|
2625
|
+
heading = html.heading(
|
|
2626
|
+
'<strong class="title">%s</strong>' % title,
|
|
2627
|
+
)
|
|
2628
|
+
contents = '<pre>%s</pre>' % html.markup(contents)
|
|
2629
|
+
contents = html.bigsection(topic , 'index', contents)
|
|
2630
|
+
if xrefs:
|
|
2631
|
+
xrefs = sorted(xrefs.split())
|
|
2632
|
+
|
|
2633
|
+
def bltinlink(name):
|
|
2634
|
+
return '<a href="topic?key=%s">%s</a>' % (name, name)
|
|
2635
|
+
|
|
2636
|
+
xrefs = html.multicolumn(xrefs, bltinlink)
|
|
2637
|
+
xrefs = html.section('Related help topics: ', 'index', xrefs)
|
|
2638
|
+
return ('%s %s' % (title, topic),
|
|
2639
|
+
''.join((heading, contents, xrefs)))
|
|
2640
|
+
|
|
2641
|
+
def html_getobj(url):
|
|
2642
|
+
obj = locate(url, forceload=1)
|
|
2643
|
+
if obj is None and url != 'None':
|
|
2644
|
+
raise ValueError('could not find object')
|
|
2645
|
+
title = describe(obj)
|
|
2646
|
+
content = html.document(obj, url)
|
|
2647
|
+
return title, content
|
|
2648
|
+
|
|
2649
|
+
def html_error(url, exc):
|
|
2650
|
+
heading = html.heading(
|
|
2651
|
+
'<strong class="title">Error</strong>',
|
|
2652
|
+
)
|
|
2653
|
+
contents = '<br>'.join(html.escape(line) for line in
|
|
2654
|
+
format_exception_only(type(exc), exc))
|
|
2655
|
+
contents = heading + html.bigsection(url, 'error', contents)
|
|
2656
|
+
return "Error - %s" % url, contents
|
|
2657
|
+
|
|
2658
|
+
def get_html_page(url):
|
|
2659
|
+
"""Generate an HTML page for url."""
|
|
2660
|
+
complete_url = url
|
|
2661
|
+
if url.endswith('.html'):
|
|
2662
|
+
url = url[:-5]
|
|
2663
|
+
try:
|
|
2664
|
+
if url in ("", "index"):
|
|
2665
|
+
title, content = html_index()
|
|
2666
|
+
elif url == "topics":
|
|
2667
|
+
title, content = html_topics()
|
|
2668
|
+
elif url == "keywords":
|
|
2669
|
+
title, content = html_keywords()
|
|
2670
|
+
elif '=' in url:
|
|
2671
|
+
op, _, url = url.partition('=')
|
|
2672
|
+
if op == "search?key":
|
|
2673
|
+
title, content = html_search(url)
|
|
2674
|
+
elif op == "topic?key":
|
|
2675
|
+
# try topics first, then objects.
|
|
2676
|
+
try:
|
|
2677
|
+
title, content = html_topicpage(url)
|
|
2678
|
+
except ValueError:
|
|
2679
|
+
title, content = html_getobj(url)
|
|
2680
|
+
elif op == "get?key":
|
|
2681
|
+
# try objects first, then topics.
|
|
2682
|
+
if url in ("", "index"):
|
|
2683
|
+
title, content = html_index()
|
|
2684
|
+
else:
|
|
2685
|
+
try:
|
|
2686
|
+
title, content = html_getobj(url)
|
|
2687
|
+
except ValueError:
|
|
2688
|
+
title, content = html_topicpage(url)
|
|
2689
|
+
else:
|
|
2690
|
+
raise ValueError('bad pydoc url')
|
|
2691
|
+
else:
|
|
2692
|
+
title, content = html_getobj(url)
|
|
2693
|
+
except Exception as exc:
|
|
2694
|
+
# Catch any errors and display them in an error page.
|
|
2695
|
+
title, content = html_error(complete_url, exc)
|
|
2696
|
+
return html.page(title, content)
|
|
2697
|
+
|
|
2698
|
+
if url.startswith('/'):
|
|
2699
|
+
url = url[1:]
|
|
2700
|
+
if content_type == 'text/css':
|
|
2701
|
+
path_here = os.path.dirname(os.path.realpath(__file__))
|
|
2702
|
+
css_path = os.path.join(path_here, url)
|
|
2703
|
+
with open(css_path) as fp:
|
|
2704
|
+
return ''.join(fp.readlines())
|
|
2705
|
+
elif content_type == 'text/html':
|
|
2706
|
+
return get_html_page(url)
|
|
2707
|
+
# Errors outside the url handler are caught by the server.
|
|
2708
|
+
raise TypeError('unknown content type %r for url %s' % (content_type, url))
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
def browse(port=0, *, open_browser=True, hostname='localhost'):
|
|
2712
|
+
"""Start the enhanced pydoc web server and open a web browser.
|
|
2713
|
+
|
|
2714
|
+
Use port '0' to start the server on an arbitrary port.
|
|
2715
|
+
Set open_browser to False to suppress opening a browser.
|
|
2716
|
+
"""
|
|
2717
|
+
import webbrowser
|
|
2718
|
+
serverthread = _start_server(_url_handler, hostname, port)
|
|
2719
|
+
if serverthread.error:
|
|
2720
|
+
print(serverthread.error)
|
|
2721
|
+
return
|
|
2722
|
+
if serverthread.serving:
|
|
2723
|
+
server_help_msg = 'Server commands: [b]rowser, [q]uit'
|
|
2724
|
+
if open_browser:
|
|
2725
|
+
webbrowser.open(serverthread.url)
|
|
2726
|
+
try:
|
|
2727
|
+
print('Server ready at', serverthread.url)
|
|
2728
|
+
print(server_help_msg)
|
|
2729
|
+
while serverthread.serving:
|
|
2730
|
+
cmd = input('server> ')
|
|
2731
|
+
cmd = cmd.lower()
|
|
2732
|
+
if cmd == 'q':
|
|
2733
|
+
break
|
|
2734
|
+
elif cmd == 'b':
|
|
2735
|
+
webbrowser.open(serverthread.url)
|
|
2736
|
+
else:
|
|
2737
|
+
print(server_help_msg)
|
|
2738
|
+
except (KeyboardInterrupt, EOFError):
|
|
2739
|
+
print()
|
|
2740
|
+
finally:
|
|
2741
|
+
if serverthread.serving:
|
|
2742
|
+
serverthread.stop()
|
|
2743
|
+
print('Server stopped')
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
# -------------------------------------------------- command-line interface
|
|
2747
|
+
|
|
2748
|
+
def ispath(x):
|
|
2749
|
+
return isinstance(x, str) and x.find(os.sep) >= 0
|
|
2750
|
+
|
|
2751
|
+
def _get_revised_path(given_path, argv0):
|
|
2752
|
+
"""Ensures current directory is on returned path, and argv0 directory is not
|
|
2753
|
+
|
|
2754
|
+
Exception: argv0 dir is left alone if it's also pydoc's directory.
|
|
2755
|
+
|
|
2756
|
+
Returns a new path entry list, or None if no adjustment is needed.
|
|
2757
|
+
"""
|
|
2758
|
+
# Scripts may get the current directory in their path by default if they're
|
|
2759
|
+
# run with the -m switch, or directly from the current directory.
|
|
2760
|
+
# The interactive prompt also allows imports from the current directory.
|
|
2761
|
+
|
|
2762
|
+
# Accordingly, if the current directory is already present, don't make
|
|
2763
|
+
# any changes to the given_path
|
|
2764
|
+
if '' in given_path or os.curdir in given_path or os.getcwd() in given_path:
|
|
2765
|
+
return None
|
|
2766
|
+
|
|
2767
|
+
# Otherwise, add the current directory to the given path, and remove the
|
|
2768
|
+
# script directory (as long as the latter isn't also pydoc's directory.
|
|
2769
|
+
stdlib_dir = os.path.dirname(__file__)
|
|
2770
|
+
script_dir = os.path.dirname(argv0)
|
|
2771
|
+
revised_path = given_path.copy()
|
|
2772
|
+
if script_dir in given_path and not os.path.samefile(script_dir, stdlib_dir):
|
|
2773
|
+
revised_path.remove(script_dir)
|
|
2774
|
+
revised_path.insert(0, os.getcwd())
|
|
2775
|
+
return revised_path
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
# Note: the tests only cover _get_revised_path, not _adjust_cli_path itself
|
|
2779
|
+
def _adjust_cli_sys_path():
|
|
2780
|
+
"""Ensures current directory is on sys.path, and __main__ directory is not.
|
|
2781
|
+
|
|
2782
|
+
Exception: __main__ dir is left alone if it's also pydoc's directory.
|
|
2783
|
+
"""
|
|
2784
|
+
revised_path = _get_revised_path(sys.path, sys.argv[0])
|
|
2785
|
+
if revised_path is not None:
|
|
2786
|
+
sys.path[:] = revised_path
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
def cli():
|
|
2790
|
+
"""Command-line interface (looks at sys.argv to decide what to do)."""
|
|
2791
|
+
import getopt
|
|
2792
|
+
class BadUsage(Exception): pass
|
|
2793
|
+
|
|
2794
|
+
_adjust_cli_sys_path()
|
|
2795
|
+
|
|
2796
|
+
try:
|
|
2797
|
+
opts, args = getopt.getopt(sys.argv[1:], 'bk:n:p:w')
|
|
2798
|
+
writing = False
|
|
2799
|
+
start_server = False
|
|
2800
|
+
open_browser = False
|
|
2801
|
+
port = 0
|
|
2802
|
+
hostname = 'localhost'
|
|
2803
|
+
for opt, val in opts:
|
|
2804
|
+
if opt == '-b':
|
|
2805
|
+
start_server = True
|
|
2806
|
+
open_browser = True
|
|
2807
|
+
if opt == '-k':
|
|
2808
|
+
apropos(val)
|
|
2809
|
+
return
|
|
2810
|
+
if opt == '-p':
|
|
2811
|
+
start_server = True
|
|
2812
|
+
port = val
|
|
2813
|
+
if opt == '-w':
|
|
2814
|
+
writing = True
|
|
2815
|
+
if opt == '-n':
|
|
2816
|
+
start_server = True
|
|
2817
|
+
hostname = val
|
|
2818
|
+
|
|
2819
|
+
if start_server:
|
|
2820
|
+
browse(port, hostname=hostname, open_browser=open_browser)
|
|
2821
|
+
return
|
|
2822
|
+
|
|
2823
|
+
if not args: raise BadUsage
|
|
2824
|
+
for arg in args:
|
|
2825
|
+
if ispath(arg) and not os.path.exists(arg):
|
|
2826
|
+
print('file %r does not exist' % arg)
|
|
2827
|
+
sys.exit(1)
|
|
2828
|
+
try:
|
|
2829
|
+
if ispath(arg) and os.path.isfile(arg):
|
|
2830
|
+
arg = importfile(arg)
|
|
2831
|
+
if writing:
|
|
2832
|
+
if ispath(arg) and os.path.isdir(arg):
|
|
2833
|
+
writedocs(arg)
|
|
2834
|
+
else:
|
|
2835
|
+
writedoc(arg)
|
|
2836
|
+
else:
|
|
2837
|
+
help.help(arg, is_cli=True)
|
|
2838
|
+
except (ImportError, ErrorDuringImport) as value:
|
|
2839
|
+
print(value)
|
|
2840
|
+
sys.exit(1)
|
|
2841
|
+
|
|
2842
|
+
except (getopt.error, BadUsage):
|
|
2843
|
+
cmd = os.path.splitext(os.path.basename(sys.argv[0]))[0]
|
|
2844
|
+
print("""pydoc - the Python documentation tool
|
|
2845
|
+
|
|
2846
|
+
{cmd} <name> ...
|
|
2847
|
+
Show text documentation on something. <name> may be the name of a
|
|
2848
|
+
Python keyword, topic, function, module, or package, or a dotted
|
|
2849
|
+
reference to a class or function within a module or module in a
|
|
2850
|
+
package. If <name> contains a '{sep}', it is used as the path to a
|
|
2851
|
+
Python source file to document. If name is 'keywords', 'topics',
|
|
2852
|
+
or 'modules', a listing of these things is displayed.
|
|
2853
|
+
|
|
2854
|
+
{cmd} -k <keyword>
|
|
2855
|
+
Search for a keyword in the synopsis lines of all available modules.
|
|
2856
|
+
|
|
2857
|
+
{cmd} -n <hostname>
|
|
2858
|
+
Start an HTTP server with the given hostname (default: localhost).
|
|
2859
|
+
|
|
2860
|
+
{cmd} -p <port>
|
|
2861
|
+
Start an HTTP server on the given port on the local machine. Port
|
|
2862
|
+
number 0 can be used to get an arbitrary unused port.
|
|
2863
|
+
|
|
2864
|
+
{cmd} -b
|
|
2865
|
+
Start an HTTP server on an arbitrary unused port and open a web browser
|
|
2866
|
+
to interactively browse documentation. This option can be used in
|
|
2867
|
+
combination with -n and/or -p.
|
|
2868
|
+
|
|
2869
|
+
{cmd} -w <name> ...
|
|
2870
|
+
Write out the HTML documentation for a module to a file in the current
|
|
2871
|
+
directory. If <name> contains a '{sep}', it is treated as a filename; if
|
|
2872
|
+
it names a directory, documentation is written for all the contents.
|
|
2873
|
+
""".format(cmd=cmd, sep=os.sep))
|
|
2874
|
+
|
|
2875
|
+
if __name__ == '__main__':
|
|
2876
|
+
cli()
|