1. pytablewriter

PyPI package version conda-forge package version Supported Python versions Supported Python implementations CI status of Linux/macOS/Windows Test coverage CodeQL

1.1. Summary

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.



1.2. Features

2. Installation

2.1. Installation: pip

pip install pytablewriter

Some of the formats require additional dependency packages, you can install these packages as follows:

Installation of optional dependencies

Installation example

Remark

pip install pytablewriter[es]

Elasticsearch

pip install pytablewriter[excel]

Excel

pip install pytablewriter[html]

HTML

pip install pytablewriter[sqlite]

SQLite database

pip install pytablewriter[toml]

TOML

pip install pytablewriter[theme]

pytablewriter theme plugins

pip install pytablewriter[all]

Install all of the optional dependencies

2.2. Installation: conda

conda install -c conda-forge pytablewriter

2.3. Installation: apt

sudo add-apt-repository ppa:thombashi/ppa
sudo apt update
sudo apt install python3-pytablewriter

3. Dependencies

3.1. Optional dependencies