Skip to content

joblib-stubs 1.5.3.1.20260117

Version history | Download JSON

  • PyPI https://pypi.org/project/joblib-stubs/
    Repository https://github.com/phi-friday/joblib-stubs

  • py.typed
    stubs-only third-party

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 1020
        "Any" : 64
        "Untyped" : 384
    • 73.8% coverage
    • 69.5% coverage (strict)
    • 1468 typable
      • 1020 typed
      • 384 untyped
      • 64 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 345
        "classes" : 891
        "other" : 44
    • 99 functions (+0 overloads)
      • 246 parameters
    • 99 classes
      • 337 methods (+0 overloads)
        • 539 parameters
      • 15 properties
    • 39 modules
      • 44 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
joblib._cloudpickle_wrapper 100.0% 100.0% 3 0
joblib._memmapping_reducer 100.0% 95.2% 42 0
joblib._multiprocessing_helpers 100.0% 100.0% 3 0
joblib._parallel_backends 100.0% 94.5% 146 2
joblib._store_backends 100.0% 100.0% 32 0
joblib._typeshed 66.7% 66.7% 3 1
joblib._utils 100.0% 50.0% 2 0
joblib.backports 97.6% 97.6% 42 0
joblib.compressor 96.4% 92.8% 83 2
joblib.disk 100.0% 100.0% 19 0
joblib.executor 100.0% 85.7% 14 1
joblib.func_inspect 100.0% 100.0% 41 0
joblib.hashing 100.0% 77.4% 31 0
joblib.logger 98.9% 78.0% 91 0
joblib.memory 100.0% 99.0% 192 1
joblib.numpy_pickle 98.6% 88.6% 70 1
joblib.numpy_pickle_compat 100.0% 96.6% 58 0
joblib.numpy_pickle_utils 50.0% 50.0% 4 0
joblib.parallel 100.0% 95.2% 186 1
joblib.pool 100.0% 92.9% 28 0
joblib.externals.cloudpickle 0.0% 0.0% 1 0
joblib.externals.cloudpickle.cloudpickle 2.7% 2.7% 110 0
joblib.externals.loky 0.0% 0.0% 0 0
joblib.externals.loky._base 0.0% 0.0% 1 0
joblib.externals.loky.backend.context 0.0% 0.0% 28 0
joblib.externals.loky.backend.fork_exec 0.0% 0.0% 4 0
joblib.externals.loky.backend.popen_loky_posix 0.0% 0.0% 13 0
joblib.externals.loky.backend.popen_loky_win32 0.0% 0.0% 6 0
joblib.externals.loky.backend.process 0.0% 0.0% 22 0
joblib.externals.loky.backend.queues 0.0% 0.0% 30 0
joblib.externals.loky.backend.reduction 0.0% 0.0% 16 0
joblib.externals.loky.backend.resource_tracker 0.0% 0.0% 0 0
joblib.externals.loky.backend.spawn 0.0% 0.0% 7 0
joblib.externals.loky.backend.synchronize 0.0% 0.0% 34 0
joblib.externals.loky.backend.utils 0.0% 0.0% 8 0
joblib.externals.loky.cloudpickle_wrapper 0.0% 0.0% 15 0
joblib.externals.loky.process_executor 0.0% 0.0% 55 0
joblib.externals.loky.reusable_executor 0.0% 0.0% 22 0
joblib.testing 0.0% 0.0% 6 0

Incomplete Annotations

joblib._memmapping_reducer (0 missing, 2 any)

Symbol Typable Typed Any
func joblib.executor.get_memmapping_reducers 10 10 1
func joblib.pool.get_memmapping_reducers 10 10 1

joblib._parallel_backends (0 missing, 8 any)

Symbol Typable Typed Any
meth ParallelBackendBase.init 4 4 1
meth ParallelBackendBase.configure 6 6 1
meth AutoBatchingMixin.init 2 2 1
meth LokyBackend.configure 7 7 1
meth MultiprocessingBackend.configure 6 6 1
meth ThreadingBackend.configure 4 4 1
meth ParallelBackendBase.init 4 4 1
meth ParallelBackendBase.configure 6 6 1

joblib._typeshed (1 missing, 0 any)

Symbol Typable Typed Any
attr joblib.pool.np 1 0 0

joblib._utils (0 missing, 1 any)

Symbol Typable Typed Any
func joblib.parallel.eval_expr 2 2 1

joblib.backports (1 missing, 0 any)

Symbol Typable Typed Any
attr joblib.backports.access_denied_errors 1 0 0

joblib.compressor (3 missing, 3 any)

Symbol Typable Typed Any
meth CompressorWrapper.init 4 4 1
meth CompressorWrapper.compressor_file 3 3 1
meth CompressorWrapper.decompressor_file 2 2 1
attr joblib.compressor.lz4 1 0 0
attr joblib.compressor.bz2 1 0 0
attr joblib.compressor.lzma 1 0 0

joblib.executor (0 missing, 2 any)

Symbol Typable Typed Any
meth MemmappingExecutor.get_memmapping_executor 9 9 1
func joblib.executor.get_memmapping_executor 3 3 1

joblib.hashing (0 missing, 7 any)

Symbol Typable Typed Any
func joblib.hash 4 4 1
func joblib.hashing.hash 4 4 1
meth Hasher.hash 3 3 1
meth Hasher.save 2 2 1
meth Hasher.memoize 2 2 1
meth Hasher.save_global 4 4 1
meth NumpyHasher.save 2 2 1

joblib.logger (1 missing, 19 any)

Symbol Typable Typed Any
meth Logger.warn 2 2 1
meth Logger.info 2 2 1
meth Logger.debug 2 2 1
meth Logger.format 3 3 1
func joblib.func_inspect.pformat 4 4 1
meth Logger.warn 2 2 1
meth Logger.info 2 2 1
meth Logger.debug 2 2 1
meth Logger.format 3 3 1
func joblib.logger.pformat 4 4 1
meth Logger.warn 2 2 1
meth Logger.info 2 2 1
meth Logger.debug 2 2 1
meth Logger.format 3 3 1
func joblib.memory.pformat 4 4 1
meth Logger.warn 2 2 1
meth Logger.info 2 2 1
meth Logger.debug 2 2 1
meth Logger.format 3 3 1
attr joblib.func_inspect.full_argspec_type 1 0 0

joblib.memory (0 missing, 2 any)

Symbol Typable Typed Any
meth NotMemorizedFunc.check_call_in_cache 3 3 2

joblib.numpy_pickle (1 missing, 7 any)

Symbol Typable Typed Any
func joblib.load 4 4 1
func joblib.dump 5 5 1
func joblib.numpy_pickle.load 4 4 1
attr joblib.numpy_pickle.lz4 1 0 0
func joblib.numpy_pickle.load_temporary_memmap 4 4 1
meth NumpyPickler.save 2 2 1
meth NumpyArrayWrapper.safe_get_numpy_array_alignment_bytes 1 1 1
func joblib.numpy_pickle.dump 5 5 1

joblib.numpy_pickle_compat (0 missing, 2 any)

Symbol Typable Typed Any
func joblib.numpy_pickle.load_compatibility 2 2 1
func joblib.numpy_pickle_compat.load_compatibility 2 2 1

joblib.numpy_pickle_utils (2 missing, 0 any)

Symbol Typable Typed Any
attr joblib.numpy_pickle_utils.np 1 0 0
attr joblib.numpy_pickle_utils.bz2 1 0 0

joblib.parallel (0 missing, 9 any)

Symbol Typable Typed Any
meth parallel_backend.init 5 5 1
meth Parallel.init 14 14 1
meth parallel_config.init 11 11 1
meth BatchCompletionCallBack.get_result 2 2 1
meth BatchCompletionCallBack.call 3 3 2
meth Parallel.init 14 14 1
meth parallel_config.init 11 11 1
meth parallel_backend.init 5 5 1

joblib.pool (0 missing, 2 any)

Symbol Typable Typed Any
meth PicklingPool.init 5 5 1
meth MemmappingPool.init 10 10 1

joblib.externals.cloudpickle (1 missing, 0 any)

Symbol Typable Typed Any
attr CloudPickler 1 0 0

joblib.externals.cloudpickle.cloudpickle (107 missing, 0 any)

Symbol Typable Typed Any
meth Pickler._dynamic_function_reduce 2 0 0
meth Pickler._function_reduce 2 0 0
meth Pickler._function_getnewargs 2 0 0
meth Pickler.dump 2 0 0
meth Pickler.init 4 0 0
meth Pickler.reducer_override 2 0 0
meth Pickler._save_reduce_pickle5 8 0 0
meth Pickler.save_global 4 0 0
meth Pickler.save_function 3 0 0
meth Pickler.save_pypy_builtin_func 2 0 0
attr Pickler.dispatch_table 1 0 0
attr Pickler.globals_ref 1 0 0
attr Pickler.proto 1 0 0
attr Pickler.dispatch 1 0 0
func joblib.externals.cloudpickle.unregister_pickle_by_value 2 0 0
func joblib.externals.cloudpickle.register_pickle_by_value 2 0 0
func joblib.externals.cloudpickle.dump 5 0 0
func joblib.externals.cloudpickle.dumps 4 0 0
func subimport 2 0 0
func unregister_pickle_by_value 2 0 0
meth Pickler._dynamic_function_reduce 2 0 0
meth Pickler._function_reduce 2 0 0
meth Pickler._function_getnewargs 2 0 0
meth Pickler.dump 2 0 0
meth Pickler.init 4 0 0
meth Pickler.reducer_override 2 0 0
meth Pickler._save_reduce_pickle5 8 0 0
meth Pickler.save_global 4 0 0
meth Pickler.save_function 3 0 0
meth Pickler.save_pypy_builtin_func 2 0 0
attr Pickler.dispatch_table 1 0 0
attr Pickler.globals_ref 1 0 0
attr Pickler.proto 1 0 0
attr Pickler.dispatch 1 0 0
func dynamic_subimport 3 0 0
func list_registry_pickle_by_value 1 0 0
func instance 2 0 0
attr PYPY 1 0 0
func is_tornado_coroutine 2 0 0
func register_pickle_by_value 2 0 0
func dump 5 0 0
func dumps 4 0 0

joblib.externals.loky._base (1 missing, 0 any)

Symbol Typable Typed Any
meth Future._invoke_callbacks 1 0 0

joblib.externals.loky.backend.context (28 missing, 0 any)

Symbol Typable Typed Any
func joblib.externals.loky.cpu_count 2 0 0
func joblib.externals.loky.backend.get_context 2 0 0
func get_start_method 1 0 0
func cpu_count 2 0 0
attr ctx_loky 1 0 0
func set_start_method 3 0 0
func get_context 2 0 0
meth LokyContext.Queue 3 0 0
meth LokyContext.SimpleQueue 2 0 0
meth LokyContext.Semaphore 2 0 0
meth LokyContext.BoundedSemaphore 2 0 0
meth LokyContext.Lock 1 0 0
meth LokyContext.RLock 1 0 0
meth LokyContext.Condition 2 0 0
meth LokyContext.Event 1 0 0
attr LokyContext.cpu_count 1 0 0

joblib.externals.loky.backend.fork_exec (4 missing, 0 any)

Symbol Typable Typed Any
func fork_exec 4 0 0

joblib.externals.loky.backend.popen_loky_posix (13 missing, 0 any)

Symbol Typable Typed Any
meth Popen.init 2 0 0
meth Popen.duplicate_for_child 2 0 0
meth Popen.poll 2 0 0
meth Popen.wait 2 0 0
meth Popen.terminate 1 0 0
meth Popen._launch 2 0 0
meth Popen.thread_is_spawning 1 0 0
attr Popen.returncode 1 0 0

joblib.externals.loky.backend.popen_loky_win32 (6 missing, 0 any)

Symbol Typable Typed Any
meth Popen.init 2 0 0
attr Popen.pid 1 0 0
attr Popen.returncode 1 0 0
attr Popen.sentinel 1 0 0
attr Popen.finalizer 1 0 0

joblib.externals.loky.backend.process (22 missing, 0 any)

Symbol Typable Typed Any
meth LokyInitMainProcess.init 7 0 0
meth AuthenticationKey.reduce 1 0 0
meth LokyProcess.init 9 0 0
meth LokyProcess._Popen 2 0 0
attr LokyProcess.env 1 0 0
attr LokyProcess.authkey 1 0 0
attr LokyProcess.init_main_module 1 0 0

joblib.externals.loky.backend.queues (30 missing, 0 any)

Symbol Typable Typed Any
meth SimpleQueue.init 3 0 0
meth SimpleQueue.close 1 0 0
meth SimpleQueue.getstate 1 0 0
meth SimpleQueue.setstate 2 0 0
meth SimpleQueue.put 2 0 0
meth Queue.init 4 0 0
meth Queue.getstate 1 0 0
meth Queue.setstate 2 0 0
meth Queue._start_thread 1 0 0
meth Queue._feed 10 0 0
meth Queue._on_queue_feeder_error 3 0 0

joblib.externals.loky.backend.reduction (16 missing, 0 any)

Symbol Typable Typed Any
func joblib.externals.loky.set_loky_pickler 2 0 0
func set_loky_pickler 2 0 0
func register 3 0 0
func dump 5 0 0
func dumps 4 0 0

joblib.externals.loky.backend.spawn (7 missing, 0 any)

Symbol Typable Typed Any
func prepare 3 0 0
func get_preparation_data 3 0 0
func get_executable 1 0 0

joblib.externals.loky.backend.synchronize (34 missing, 0 any)

Symbol Typable Typed Any
meth Lock.init 1 0 0
meth Lock.repr 1 0 0
meth Event.init 1 0 0
meth Event.is_set 1 0 0
meth Event.set 1 0 0
meth Event.clear 1 0 0
meth Event.wait 2 0 0
meth Condition.init 2 0 0
meth Condition.getstate 1 0 0
meth Condition.setstate 2 0 0
meth Condition.enter 1 0 0
meth Condition.exit 2 0 0
meth Condition._make_methods 1 0 0
meth Condition.repr 1 0 0
meth Condition.wait 2 0 0
meth Condition.notify 1 0 0
meth Condition.notify_all 1 0 0
meth Condition.wait_for 3 0 0
meth RLock.init 1 0 0
meth RLock.repr 1 0 0
meth BoundedSemaphore.init 2 0 0
meth BoundedSemaphore.repr 1 0 0
meth Semaphore.init 2 0 0
meth Semaphore.get_value 1 0 0
meth Semaphore.repr 1 0 0

joblib.externals.loky.backend.utils (8 missing, 0 any)

Symbol Typable Typed Any
func get_exitcodes_terminated_worker 2 0 0
func kill_process_tree 3 0 0
func recursive_terminate 3 0 0

joblib.externals.loky.cloudpickle_wrapper (15 missing, 0 any)

Symbol Typable Typed Any
func joblib.externals.loky.wrap_non_picklable_objects 3 0 0
meth CloudpickledObjectWrapper.init 3 0 0
meth CloudpickledObjectWrapper.reduce 1 0 0
meth CloudpickledObjectWrapper.getattr 2 0 0
meth CallableObjectWrapper.call 3 0 0
func wrap_non_picklable_objects 3 0 0

joblib.externals.loky.process_executor (55 missing, 0 any)

Symbol Typable Typed Any
meth ProcessPoolExecutor.init 9 0 0
meth ProcessPoolExecutor._setup_queues 4 0 0
meth ProcessPoolExecutor._start_executor_manager_thread 1 0 0
meth ProcessPoolExecutor._adjust_process_count 1 0 0
meth ProcessPoolExecutor._ensure_executor_running 1 0 0
meth ProcessPoolExecutor.submit 4 0 0
meth ProcessPoolExecutor.map 4 0 0
meth ProcessPoolExecutor.shutdown 3 0 0
attr MAX_DEPTH 1 0 0
meth ProcessPoolExecutor.init 9 0 0
meth ProcessPoolExecutor._setup_queues 4 0 0
meth ProcessPoolExecutor._start_executor_manager_thread 1 0 0
meth ProcessPoolExecutor._adjust_process_count 1 0 0
meth ProcessPoolExecutor._ensure_executor_running 1 0 0
meth ProcessPoolExecutor.submit 4 0 0
meth ProcessPoolExecutor.map 4 0 0
meth ProcessPoolExecutor.shutdown 3 0 0

joblib.externals.loky.reusable_executor (22 missing, 0 any)

Symbol Typable Typed Any
func joblib.externals.loky.get_reusable_executor 11 0 0
func get_reusable_executor 11 0 0

joblib.testing (6 missing, 0 any)

Symbol Typable Typed Any
func check_subprocess_call 5 0 0
func warnings_to_stdout 1 0 0

Type-Ignore Comments

Flavor Count
pyright: ignore[reportIncompatibleMethodOverride] 6
type: ignore[attr-defined] 1
type: ignore[import-not-found] 1
type: ignore[misc] 1