types-futures
Typing stubs for futures
What it is and what it does
types-futures is a PEP 561 type stub package that provides type information for the standard library's futures module. It allows static type checkers—mypy, PyCharm, pytype, and similar tools—to understand the types and signatures of futures classes and functions when analyzing your code. The stubs are maintained as part of the typeshed project and are generated from its repository.
This package contains no runtime code; it exists solely to improve the type-checking experience. If you use a type checker and work with concurrent.futures or the futures package, installing this stub package will enable your checker to catch type errors and provide better IDE autocompletion. It has no runtime dependencies and installs as a lightweight wheel.
Use it for:
- Enable mypy or pyright to type-check code that uses ThreadPoolExecutor or ProcessPoolExecutor
- Get IDE autocompletion and type hints for futures module classes in development environments
- Validate callback signatures and return types in concurrent.futures workflows
- Ensure type safety in async or concurrent code before runtime execution
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for the futures package, enabling static type checkers like mypy and PyCharm to understand and validate code using futures.
Yes, if you use a static type checker with code that imports from futures or concurrent.futures. It is a lightweight, permissive-licensed stub package with no dependencies and active upstream maintenance. Install it as part of your development environment to catch type errors early. If you do not use type checking, it provides no value.
Install
types-futures on PyPI
pip
pip install types-futuresuv
uv add types-futurespoetry
poetry add types-futuresInstalling types-futures
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance is active with recent repository activity, though the package itself has not been released since 2022-01-27.
License in practice
Licensed under Apache-2.0, a permissive license that allows use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
Quickstart
pip install types-futures
# Then use in your code with a type checker:
from concurrent.futures import ThreadPoolExecutor
executor = ThreadPoolExecutor(max_workers=2)
# Type checker now understands ThreadPoolExecutor's interface
Verify before relying
- Whether this stub package is still synchronized with the current futures API or if newer versions exist elsewhere
- Compatibility with modern type checkers and their evolving stub resolution mechanisms
Package facts
| License | Apache-2.0 license (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 1,660 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 497,741/month — #6,332 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_futures-3.3.8-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
scipy-stubsProvides type stubs for the entire SciPy…
permissive · top 5,000 on PyPI
types-typed-astProvides type stubs for the typed-ast package,…
permissive · top 15,000 on PyPI
types-enum34Provides type stubs for the enum34 package,…
permissive · top 15,000 on PyPI
types-atomicwritesProvides type stubs for the atomicwrites…
permissive · top 15,000 on PyPI
types-clickProvides PEP 561 type stubs for the click…
permissive · top 5,000 on PyPI
types-tzlocalProvides type stubs for the tzlocal package,…
permissive · top 5,000 on PyPI
types-backportsProvides PEP 561 type stubs for the backports…
permissive · top 15,000 on PyPI
types-DateTimeRangeProvides type stubs for the DateTimeRange…
permissive · top 15,000 on PyPI
types-termcolorProvides type stubs for the termcolor package,…
permissive · top 15,000 on PyPI
types-factory-boyProvides PEP 561 type stubs for factory-boy,…
permissive · top 15,000 on PyPI