1. pytablewriter

https://badge.fury.io/py/pytablewriter.svg https://img.shields.io/pypi/pyversions/pytablewriter.svg https://img.shields.io/travis/thombashi/pytablewriter/master.svg?label=Linux/macOS https://img.shields.io/appveyor/ci/thombashi/pytablewriter/master.svg?label=Windows https://coveralls.io/repos/github/thombashi/pytablewriter/badge.svg?branch=master https://img.shields.io/github/stars/thombashi/pytablewriter.svg?style=social&label=Star

1.1. Summary

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

1.2. Features

  • Write a table in various formats:
  • Automatic tabular data formatting
    • Alignment
    • Padding
    • Decimal places of numbers
  • Multibyte character support
  • Write table to a stream such as a file/standard-output/string-buffer/Jupyter-Notebook
  • Get rendered tabular text
  • ANSI color support