joblib-stubs
joblib stubs
Decision gist · record as of 2026-08-14
Yes, if you use joblib and want static type checking. Install it alongside joblib to enable type checkers to understand joblib's API. The package is lightweight, actively maintained, and has no security vulnerabilities. It imposes no runtime overhead since it contains only type information.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires joblib to be installed separately for runtime; stubs alone provide no execution capability.
- Requires Python 3.11 or later.
- Low friction installation with a single lightweight dependency (typing-extensions).
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in your own projects.
last release 2026-01-17 (209 days) · last repo commit 2026-06-19 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,577 downloads/mo, #12,508 on PyPI
Alternatives
Verify before relying
pip install joblib-stubs
from joblib import Parallel, delayed
results = Parallel(n_jobs=2)(delayed(lambda x: x**2)(i) for i in range(10))
# Type checker now understands joblib's types- Completeness of type coverage for all joblib modules and functions beyond externals
- Compatibility with type checkers other than mypy (pyright, pyre, etc.)
- Whether stub coverage keeps pace with joblib's own API evolution
What it is and what it does
joblib-stubs is a type stub package that teaches static type checkers how to understand joblib's public API. It contains no runtime code—only type annotations and signatures. When installed alongside joblib, type checkers like mypy can now infer correct types for joblib functions like Parallel and delayed, catching type errors at analysis time rather than runtime.
The package is designed for developers who use joblib for parallel computing and want static type safety in their codebase. It supports Python 3.11 through 3.14 and depends only on typing-extensions. The stubs do not cover joblib.externals (bundled cloudpickle and loky), so type checking for those modules remains unavailable.
Use it for
- Enable mypy or other type checkers to validate joblib usage in a data processing pipeline
- Catch type mismatches in Parallel and delayed calls before runtime
- Improve IDE autocomplete and inline documentation for joblib functions
- Maintain type safety in a large codebase that uses joblib for distributed computation
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use joblib and want static type checking.
Install it alongside joblib to enable type checkers to understand joblib's API. The package is lightweight, actively maintained, and has no security vulnerabilities. It imposes no runtime overhead since it contains only type information.
Install
joblib-stubs on PyPI
Before you install
Low friction installation with a single lightweight dependency (typing-extensions). Repository is actively maintained with recent commits, though the project is relatively young with modest adoption.
Requires joblib to be installed separately for runtime; stubs alone provide no execution capability. Requires Python 3.11 or later.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in your own projects.
Quickstart
pip install joblib-stubs
from joblib import Parallel, delayed
results = Parallel(n_jobs=2)(delayed(lambda x: x**2)(i) for i in range(10))
# Type checker now understands joblib's types
Verify before relying
- Completeness of type coverage for all joblib modules and functions beyond externals
- Compatibility with type checkers other than mypy (pyright, pyre, etc.)
- Whether stub coverage keeps pace with joblib's own API evolution
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Actively maintained 209 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 109,577 / month, #12,508 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only |
Evidence: joblib_stubs-1.5.3.1.20260117-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “joblib type stubs”
- joblib-stubsProvides type stubs for joblib, enabling static type checkers to…
- joblibsparkRegisters Apache Spark as a distributed backend for joblib's parallel…
- gamma-pytoolsA collection of machine learning and visualization utilities…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also diskcache-stubs · scipy-stubs · sqlalchemy-stubs · types-mypy-extensions · types-assertpy · types-pyflakes · types-greenlet · types-cffi · types-typed-ast