openpyxl-stubs
Type stubs for openpyxl
Decision gist · record as of 2026-08-14
Yes, if you are using openpyxl with a version released before or around January 2023 and want mypy type checking. No, if you rely on recent openpyxl features or expect ongoing maintenance—the package is abandoned and type stubs may be incomplete or outdated for current openpyxl versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no complex dependencies beyond mypy, typing-extensions, and openpyxl itself.
- However, the package is marked as abandoned with no commits since 2023-01-12, meaning type stubs may not reflect recent openpyxl API changes.
License · maintenance · safety
MIT license (permissive) — Licensed under MIT license, a permissive license allowing free use, modification, and distribution with minimal restrictions.
last release 2023-01-12 (1310 days) · last repo commit 2023-01-12 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 396,346 downloads/mo, #6,970 on PyPI
Alternatives
Verify before relying
pip install openpyxl-stubs
from openpyxl import load_workbook
wb = load_workbook('file.xlsx')- Whether type stub coverage is complete for the version of openpyxl you are using
- Compatibility with recent openpyxl releases given the package's abandoned status since January 2023
What it is and what it does
openpyxl-stubs is a type stub package that adds type annotations for openpyxl, enabling mypy to understand and validate code that uses openpyxl for reading and writing Excel files. Once installed, mypy automatically recognizes the type information without requiring any additional configuration.
The package works by providing type definitions that mypy consults during static analysis. It depends on mypy, typing-extensions, and openpyxl itself. The package is classified as Alpha and has not been actively maintained since 2023-01-12, so its type coverage may lag behind newer openpyxl releases.
Use it for
- Enable mypy type checking in projects that use openpyxl to read or write Excel spreadsheets
- Catch type errors at development time when passing openpyxl objects between functions
- Document expected types for openpyxl function parameters and return values in your codebase
- Integrate openpyxl into a strictly typed Python project without disabling type checking for Excel-related code
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using openpyxl with a version released before or around January 2023 and want mypy type checking.
No, if you rely on recent openpyxl features or expect ongoing maintenance—the package is abandoned and type stubs may be incomplete or outdated for current openpyxl versions.
Install
openpyxl-stubs on PyPI
Before you install
Installation is straightforward with no complex dependencies beyond mypy, typing-extensions, and openpyxl itself. However, the package is marked as abandoned with no commits since 2023-01-12, meaning type stubs may not reflect recent openpyxl API changes.
License in practice
Licensed under MIT license, a permissive license allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install openpyxl-stubs
from openpyxl import load_workbook
wb = load_workbook('file.xlsx')
Verify before relying
- Whether type stub coverage is complete for the version of openpyxl you are using
- Compatibility with recent openpyxl releases given the package's abandoned status since January 2023
Package facts
| License | MIT license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesmypytyping-extensionsopenpyxl |
| Maintenance | Abandoned 1,310 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 396,346 / month, #6,970 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersNatural Language :: English |
Evidence: openpyxl_stubs-0.1.25-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 › “mypy type stubs openpyxl”
- openpyxl-stubsProvides type stubs for openpyxl to enable static type checking with…
- types-openpyxlProvides type hints for openpyxl, enabling static type checkers like…
- types-auth0-pythonProvides type stubs for auth0-python 4.10.x, enabling type checkers…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also types-openpyxl · openpyxl · pyxlsx · xls2xlsx · robotframework-excellib · drf-excel · pyexcel-xlsx · pylightxl · xlcalculator