--- id: prettytable version: "3.18.0" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # prettytable — A simple Python library for easily displaying tabular data in a visually appealing ASCII table format License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install prettytable uv add prettytable poetry add prettytable ## Description # PrettyTable [![PyPI version](https://img.shields.io/pypi/v/prettytable.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/prettytable/) [![Supported Python versions](https://img.shields.io/pypi/pyversions/prettytable.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/prettytable/) [![PyPI downloads](https://img.shields.io/pypi/dm/prettytable.svg)](https://pypistats.org/packages/prettytable) [![GitHub Actions status](https://github.com/prettytable/prettytable/workflows/Test/badge.svg)](https://github.com/prettytable/prettytable/actions) [![Codecov](https://codecov.io/gh/prettytable/prettytable/branch/main/graph/badge.svg)](https://codecov.io/gh/prettytable/prettytable) [![Licence](https://img.shields.io/github/license/prettytable/prettytable.svg)](LICENSE) [![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black) [![Tidelift](https://tidelift.com/badges/package/pypi/prettytable)](https://tidelift.com/subscription/pkg/pypi-prettytable?utm_source=pypi-prettytable&utm_medium=badge) PrettyTable lets you print tables in an attractive ASCII form: ``` +-----------+------+------------+-----------------+ | City... ## AI interpretation — verify before relying PrettyTable formats and prints tabular data as visually appealing ASCII tables, with support for multiple output formats including HTML, JSON, CSV, and LaTeX. Verdict: A lightweight, actively maintained table-formatting library with permissive licensing and no known vulnerabilities. Low install friction and broad Python version support (3.10–3.16) make it a reliable choice for CLI and reporting applications. [View on SkillFed](https://skillfed.io/packages/prettytable) · [View on PyPI](https://pypi.org/project/prettytable/)