types-tabulate
Typing stubs for tabulate
What it is and what it does
types-tabulate is a type stub package that provides static type annotations for the tabulate library, which formats data into human-readable tables. It is part of the typeshed project and allows type checkers to understand the types and signatures of tabulate's functions and classes without modifying tabulate itself.
When installed alongside tabulate, this package enables mypy, pyright, and other compatible type checkers to validate calls to tabulate functions at development time. It targets tabulate version 0.10.* and has been tested against mypy 1.20.0 and pyright 1.1.408. Since it contains no runtime code, it adds no overhead to your application.
Use it for:
- Enable mypy or pyright to catch type errors in code that calls tabulate functions before runtime.
- Provide IDE autocomplete and inline type hints for tabulate's API in editors that support type stubs.
- Ensure type safety in data formatting pipelines that use tabulate to generate reports or CLI output.
- Validate that table data structures passed to tabulate match expected column and row types.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type hints for the tabulate package, enabling static type checkers like mypy and pyright to validate code that formats data into tables.
Yes, if you use tabulate and run a static type checker. It has no runtime cost, low install friction, and is actively maintained. Install it only if you are already using tabulate and want type checking; it is not useful on its own.
Install
types-tabulate on PyPI
pip
pip install types-tabulateuv
uv add types-tabulatepoetry
poetry add types-tabulateInstalling types-tabulate
Before you install
Low friction install with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14. Tested against mypy 1.20.0 and pyright 1.1.408.
License in practice
Apache-2.0 permissive license; no restrictions on use or modification in most contexts.
Quickstart
pip install types-tabulate
# In your code using tabulate:
import tabulate
data = [["Name", "Age"], ["Alice", "Bob"]]
print(tabulate.tabulate(data))
Requires Python 3.10 or later.
Verify before relying
- Whether these stubs are compatible with tabulate versions outside the 0.10.* series
- Whether the stubs cover the full public API surface of tabulate 0.10.*
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 98 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 15,972,507/month — #1,169 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_tabulate-0.10.0.20260508-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
types-chevronProvides type hints for the chevron Mustache…
permissive · top 15,000 on PyPI
types-Flask-MigrateProvides type hints for Flask-Migrate, enabling…
permissive · top 15,000 on PyPI
types-nanoidProvides type hints for the nanoid package,…
permissive · top 15,000 on PyPI
types-retryProvides type hints for the retry package,…
permissive · top 5,000 on PyPI
types-tomlProvides type hints for the toml package,…
permissive · top 1,000 on PyPI
types-toposortProvides type hints for the toposort package,…
permissive · top 15,000 on PyPI
types-pyperclipProvides type annotations for the pyperclip…
permissive · top 15,000 on PyPI
types-mysqlclientProvides type annotations for the mysqlclient…
permissive · top 15,000 on PyPI
types-defusedxmlProvides type hints for the defusedxml library,…
permissive · top 5,000 on PyPI
types-MarkdownProvides type stubs for the Markdown package,…
permissive · top 5,000 on PyPI