--- id: texttable version: "1.7.0" license: MIT license_treatment: permissive maintenance: dormant --- # texttable — module to create simple ASCII tables License: permissive · Maintenance: dormant · Popularity: top 1,000 on PyPI ## Install pip install texttable uv add texttable poetry add texttable ## Description # texttable Python module to create simple ASCII tables ## Availability This module is available on [PyPI](https://pypi.org/project/texttable/), and has been packaged for several Linux/Unix platforms ([Debian](https://packages.debian.org/search?&searchon=names&keywords=python-texttable+), [FreeBSD](https://www.freebsd.org/cgi/ports.cgi?query=texttable&stype=all), Fedora, Suse...). ## Dependencies If available, [cjkwrap](https://github.com/fgallaire/cjkwrap) library is used instead of textwrap, for a better wrapping of CJK text. If available, [wcwidth](https://github.com/jquast/wcwidth) library is used for a better rendering (basic emoji support). ## Documentation ``` NAME texttable - module to create simple ASCII tables FILE /usr/local/lib/python2.7/dist-packages/texttable.py DESCRIPTION Example: table = Texttable() table.set_cols_align(["l", "r", "c"]) table.set_cols_valign(["t", "m", "b"]) table.add_rows([["Name", "Age", "Nickname"], ["Mr\nXavier\nHuon", 32, "Xav'"], ["Mr\nBaptiste\nClement", 1, "Baby"], ["Mme\nLouise\nBourgeau", 28,... ## AI interpretation — verify before relying texttable creates formatted ASCII tables from Python data, with support for alignment, decoration, data types, and optional CJK text wrapping via cjkwrap or emoji support via wcwidth. Verdict: texttable is a stable, dependency-free utility for generating ASCII tables in console applications. Its dormant maintenance (last update 2023-10-03) poses no immediate risk given its narrow, well-defined scope and zero known vulnerabilities, but users should verify it meets their Python version and CJK/emoji requirements before adoption. [View on SkillFed](https://skillfed.io/packages/texttable) · [View on PyPI](https://pypi.org/project/texttable/)