$npx skillfedfor your agent

pytablewriter

pytablewriter is a Python library to write a table in various formats: AsciiDoc / CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV / YAML.

Worth itPyPI LibrariesReleased Jan 202514.0M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytablewriter-1.2.1-py3-none-any.whl
v1.2.1 · released 2025-01-01 · Python >=3.9 · 7 runtime deps: setuptools, DataProperty, mbstrdecoder, pathvalidate, tabledata, tcolorpy, typepy

Yes. pytablewriter is stable (Production/Stable status), actively maintained, has no known vulnerabilities, and solves a concrete problem—multi-format table serialization—with low install friction. Install it if you need to generate formatted tables in any of its supported output formats; skip it only if your use case is limited to a single format where a simpler, format-specific library would suffice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with a pure-Python wheel.
  • Active maintenance with recent commits; 7 runtime dependencies are all established libraries.
  • No known vulnerabilities.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; attribution required.

last release 2025-01-01 (590 days) · last repo commit 2026-07-27 · 630 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,010,462 downloads/mo, #1,254 on PyPI

Verify before relying

pip install pytablewriter

from pytablewriter import MarkdownTableWriter

writer = MarkdownTableWriter(
    headers=["Name", "Value"],
    value_matrix=[["A", 1], ["B", 2]]
)
writer.write_table()
  • Performance characteristics with large datasets or deeply nested structures
  • Memory overhead when writing to multiple formats simultaneously
  • Behavior and compatibility with non-ASCII characters in all supported formats
  • Exact count of supported output formats beyond those explicitly named in documentation
Same gist for agents: .md · .json

What it is and what it does

pytablewriter is a table serialization library that takes tabular data—from nested lists, CSV, pandas DataFrames, or other sources—and renders it into output formats spanning text markup (Markdown, HTML, LaTeX, reStructuredText), data interchange (JSON, YAML, TOML), spreadsheets (Excel, SQLite), and specialized formats (Elasticsearch, JavaScript, NumPy, Pandas source code). It handles automatic cell alignment, padding, number formatting, and optional styling like text color and font weight.

The library is designed for developers who need to generate formatted tables programmatically—whether for documentation, reports, data export, or display in notebooks. It abstracts away format-specific syntax so you write data once and output it in multiple formats by changing the writer class. Dependencies include setuptools, DataProperty, mbstrdecoder, pathvalidate, tabledata, tcolorpy, and typepy, all of which handle data validation, encoding, and styling concerns.

Use it for

  • Generate Markdown tables for README files or documentation from Python data structures
  • Export analysis results to Excel or CSV for sharing with non-technical stakeholders
  • Create HTML tables for web pages or email reports from pandas DataFrames
  • Build reStructuredText grid tables for Sphinx documentation from nested lists
  • Serialize structured data to JSON or YAML formats for API responses or config files
  • Write SQLite tables from in-memory data for persistence and querying

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

pytablewriter is stable (Production/Stable status), actively maintained, has no known vulnerabilities, and solves a concrete problem—multi-format table serialization—with low install friction. Install it if you need to generate formatted tables in any of its supported output formats; skip it only if your use case is limited to a single format where a simpler, format-specific library would suffice.

Install

pytablewriter on PyPI

Before you install

Low friction installation with a pure-Python wheel. Active maintenance with recent commits; 7 runtime dependencies are all established libraries. No known vulnerabilities.

License in practice

MIT License permits commercial and private use with minimal restrictions; attribution required.

Quickstart

pip install pytablewriter

from pytablewriter import MarkdownTableWriter

writer = MarkdownTableWriter(
    headers=["Name", "Value"],
    value_matrix=[["A", 1], ["B", 2]]
)
writer.write_table()

Verify before relying

  • Performance characteristics with large datasets or deeply nested structures
  • Memory overhead when writing to multiple formats simultaneously
  • Behavior and compatibility with non-ASCII characters in all supported formats
  • Exact count of supported output formats beyond those explicitly named in documentation

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
setuptoolsDataPropertymbstrdecoderpathvalidatetabledatatcolorpytypepy
MaintenanceActively maintained 590 days since the last release
Last repo commit
First released
Downloads14,010,462 / month, #1,254 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Code GeneratorsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text ProcessingTopic :: Text Processing :: Markup :: HTMLTopic :: Text Processing :: Markup :: LaTeXTopic :: Text Processing :: Markup :: MarkdownTopic :: Text Processing :: Markup :: reStructuredTextTyping :: Typed

Evidence: pytablewriter-1.2.1-py3-none-any.whl

Tags

Capabilities
table formatting libraryconvert data to markdown tablegenerate html tables from dataexport to csv json exceltabular data writerformat table outputdata to multiple formats
Topics
table-serializationdata-exportmarkup-generation
PyPI keywords
AsciiDoctableCSVExcelJavaScriptJSONLaTeXLTSVMarkdownMediaWikiHTMLpandasreStructuredTextSQLiteTSVTOML

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 › “generate html tables from data”

  • pytablewriterConverts tabular data into formatted tables for output in multiple…
  • django-tables2django-tables2 generates HTML tables from Django querysets and other…
  • great-tablesGreat Tables transforms Pandas or Polars DataFrames into formatted,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also tabledata · tablib · markdown-table · pybtex · json2html · prettytable · csvkit · linear-tsv · dataflows-tabulator · tabulate