types-futures
Typing stubs for futures
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
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 · maintenance · safety
Apache-2.0 license (permissive) — 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.
last release 2022-01-27 (1660 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 497,741 downloads/mo, #6,332 on PyPI
Alternatives
Verify before relying
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- 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
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 on it.
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
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 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseTyping :: Stubs Only |
Evidence: types_futures-3.3.8-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 › “type stubs futures”
- types-futuresProvides type stubs for the futures package, enabling static type…
- unsyncDecorator-based library that runs async functions in an ambient event…
- futuristFuturist provides futures utilities and executors that add…
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 scipy-stubs · types-typed-ast · types-enum34 · types-atomicwrites · types-click · types-tzlocal · types-backports · types-DateTimeRange · types-termcolor · types-factory-boy