skillfed

types-tabulate

Typing stubs for tabulate

types-tabulate v0.10.0.20260508 16.0M downloads/30d#1,169 on PyPI37
Permissive license Apache-2.0 Active released

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-tabulate

uv

uv add types-tabulate

poetry

poetry add types-tabulate

Installing 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs for tabulatetabulate type hintsmypy stubs tabulatestatic typing table formattingpyright tabulate annotations
type-stubsstatic-typing

More Software Development packages