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.

MIT License

Downloads
1.3M
Stars
593
Committers
8

Bot releases are hidden (Show)

pytablewriter -

Published by thombashi about 7 years ago

  • Add escape processing for vertical bar characters in Markdown table items to get consistent rendering result
pytablewriter -

Published by thombashi about 7 years ago

  • Add a table writer class for space aligned values
  • Add default headers for Markdown/SQLite table writers that used when headers are null
  • Change to preserve spaces in table items
  • Change to remove line breaks from headers for text table formats
  • Make headers are not mandatory for Pandas writer
  • Modify Markdown output format to get more consistent rendering result
  • Improve output consistency for SQLite
pytablewriter -

Published by thombashi over 7 years ago

  • Add support for LaTeX table/matrix
  • Improve real number output precision.for CSV/JSON/LTSV/TOML/TSV
pytablewriter -

Published by thombashi over 7 years ago

  • Add NumPy writer class
  • Add search_table_format method to TableFormat class
  • Add attributes to pandas writer class: import_pandas_as/import_numpy_as to specify import name
  • Modify to sanitize Elasticsearch index name
  • Bug fixes
pytablewriter -

Published by thombashi over 7 years ago

  • Fix the case that incorrect write result when matrix which has uniform size for each row
pytablewriter -

Published by thombashi over 7 years ago

  • Add support for Elasticsearch
  • Simplify pandas dataframe output
  • Change to accept non string values as headers
  • Modify log messages
  • Bug fixes
pytablewriter -

Published by thombashi over 7 years ago

  • Change to write a blank line after writing a text format table
pytablewriter -

Published by thombashi over 7 years ago

  • Add SQLite writer
  • Improve processing performance
  • Bug fixes
pytablewriter -

Published by thombashi almost 8 years ago

  • Add type hint interface to writer classes
  • Improve data type detection
  • Add get_variable_name method to source code writers to provide an interface that retrieves variable names to be written
  • Add an interface to change variable declaration type to JavaScriptTableWriter class
    • Change default variable declaration type from var to const
pytablewriter -

Published by thombashi almost 8 years ago

  • Add TOML format support
  • Add tabledata property
  • Change to all of the source code table writers are required table name
  • Improve multibyte character support
  • Bug fixes
pytablewriter -

Published by thombashi almost 8 years ago

  • Add TSV/LTSV support
  • Add dump_tabledata function
  • Bug fixes
pytablewriter -

Published by thombashi almost 8 years ago

  • Add from_csv method
  • Improve multi-byte character support
  • Bug fixes
pytablewriter -

Published by thombashi almost 8 years ago

  • Add pandas DataFrame as a data source
  • Improve multi-byte character support
pytablewriter -

Published by thombashi almost 8 years ago

  • Support multi-byte string formatting
  • Bug fixes
pytablewriter -

Published by thombashi almost 8 years ago

  • Add writer factory
  • Bug fixes
pytablewriter -

Published by thombashi about 8 years ago

  • Bug fixes
pytablewriter -

Published by thombashi about 8 years ago

  • Fix iterative table write
pytablewriter -

Published by thombashi about 8 years ago

  • Modify to support the iterative table write with PandasDataFrameWriter class
  • Add a switch that write datetime instance formatting to PythonCodeTableWriter/PandasDataFrameWriter
  • Bug fixes
pytablewriter -

Published by thombashi about 8 years ago

  • Modify error handling of the write_table_iter method
pytablewriter -

Published by thombashi about 8 years ago

  • Improve memory efficiency for Python 2