texttable
module to create simple ASCII tables
Decision gist · record as of 2026-08-14
Yes, if you need simple ASCII table formatting in a terminal or console context. The package is stable, dependency-free, and widely used (top 1000 on PyPI). However, maintenance is dormant—no updates in over 1000 days—so consider it for stable, low-change use cases only. Not suitable if you need active development or frequent bug fixes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Maintenance is dormant—last release was 1046 days ago—but the package is marked Production/Stable and has accumulated no known security issues.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
last release 2023-10-03 (1046 days) · last repo commit 2023-10-03 · 360 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 25,130,778 downloads/mo, #906 on PyPI
Alternatives
Verify before relying
from texttable import Texttable
table = Texttable()
table.add_rows([["Name", "Age"], ["Alice", "Bob"]])
print(table.draw())- Whether optional dependencies (cjkwrap, wcwidth) are automatically detected and used, or require explicit configuration.
- Current state of CJK text wrapping and emoji support quality relative to the optional dependencies.
- Practical performance and output quality for large tables or deeply nested multi-line cell content.
What it is and what it does
texttable is a lightweight Python module that generates formatted ASCII tables for terminal and console output. It provides a simple API to construct tables row by row, configure column alignment (left, center, right), vertical alignment (top, middle, bottom), data type formatting (text, float, integer, exponential, automatic), and table decoration (borders, header lines, column separators). The module handles cell wrapping within a configurable maximum width and supports multi-line cell content via embedded newlines and tabs.
The package has no required runtime dependencies but optionally integrates cjkwrap for better CJK text wrapping and wcwidth for improved rendering of wide characters and basic emoji support. It is a stable, mature tool for generating simple tabular output in scripts, CLI tools, and data reporting utilities where formatted console output is needed.
Use it for
- Display query results or structured data in CLI scripts and command-line tools with aligned columns and borders.
- Generate formatted reports or summaries in terminal-based applications with automatic number formatting and column width control.
- Format CJK text tables with proper wrapping and emoji rendering when cjkwrap and wcwidth are installed.
- Create ASCII art tables for documentation, logs, or debug output with customizable decoration and alignment.
- Build data presentation layers in Python scripts that need human-readable tabular output without external dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need simple ASCII table formatting in a terminal or console context.
The package is stable, dependency-free, and widely used (top 1000 on PyPI). However, maintenance is dormant—no updates in over 1000 days—so consider it for stable, low-change use cases only. Not suitable if you need active development or frequent bug fixes.
Install
texttable on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Maintenance is dormant—last release was 1046 days ago—but the package is marked Production/Stable and has accumulated no known security issues.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
from texttable import Texttable
table = Texttable()
table.add_rows([["Name", "Age"], ["Alice", "Bob"]])
print(table.draw())
Verify before relying
- Whether optional dependencies (cjkwrap, wcwidth) are automatically detected and used, or require explicit configuration.
- Current state of CJK text wrapping and emoji support quality relative to the optional dependencies.
- Practical performance and output quality for large tables or deeply nested multi-line cell content.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,046 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 25,130,778 / month, #906 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: End Users/DesktopLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Text ProcessingTopic :: Utilities |
Evidence: texttable-1.7.0-py2.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 › “console table output”
- texttableCreates formatted ASCII tables for console output with support for…
- table-loggerTableLogger formats and outputs tabular data to console or file with…
- terminaltables3Renders formatted tables in terminal output from nested lists of…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also beautifultable · columnar · PTable · py-markdown-table · sttable · tabulate · treetable · prettytable · html-table-parser-python3 · table-logger