Pytablewriter Versions Save

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.

v0.59.0

3 years ago
  • Add support for Python 3.10
  • Drop support for Python 3.5
  • Markdown alignment cells respect margin #36 (Thanks to @shawalli)
  • Add validation to margin setter
  • Make it possible to set more writer settings via writer class constructors
  • Forced to set margin to zero for CSV/sourcecode writer classes
  • Fix _repr_html_ method to properly apply writer settings
  • Fix to margin value setting changes are properly applied after written a table
  • Modify type annotations
  • Update requirements

v0.58.0

3 years ago
  • Add PandasDataFramePickleWriter class
  • Add support for keyword arguments initialization to TableWriterFactory instantiation
  • Fix initialization by keyword arguments of writer class constructor
  • Remove deprecated properties

v0.57.0

3 years ago
  • Add table_format property to writer classes
  • Add clear_theme method to writer classes
  • Add TableFormat.from_file_extension class method
  • Make it possible to initialize writer instance with constructor
  • Fix plugin discovery to avoid errors when some of the functions not implemented
  • Fix the case that style filters are not properly applied

v0.56.1

3 years ago
  • Add theme extras

v0.56.0

3 years ago
  • Add set_theme/list_themes functions to writer classes
  • Add es extras
  • Implement __repr__ method for text writer classes
  • Modify pytest stream detection
  • Modify not to raise an error when input data is empty
  • Fix to properly propagate max_workers value to a dependency package
  • Update requirements

v0.55.0

3 years ago
  • Add enable_ansi_escape attribute to writer classes: #30 (Thanks to @calebstewart)
  • Add update method to Style class
  • Modify to disable ANSI escapes during dump method execution
  • Modify type annotations for dump method
  • Fix to propagate enable_ansi_escape/colorize_terminal at _repr_html_ method
  • Fix colorize_terminal to clear preprocess data when the value changed
  • Update requirements

v0.54.0

4 years ago
  • Add kwargs to dump method of writer classes
  • Add indent keyword argument support for write_table/dump/dumps methods
  • Add sort_keys keyword argument support for write_table/dump/dumps method of JSON writer classes
  • Changes to accept list of dict as value_matrix for JSON table writer classes
  • Change the default indent level of JsonTableWriter class
  • Fix output of JsonLinesTableWriter for None values
  • Modify output format of JsonTableWriter.write_table method
  • Remove EmptyHeaderError
  • Update requirements

v0.53.0

4 years ago
  • Add GitHub Flavored Markdown support
  • Add DecorationLine support as a style
  • Add is_header_row method to Cell class
  • Modify type annotations

v0.52.0

4 years ago
  • Add YamlTableWriter writer class
  • Add Cell class
  • Add style_filter_kwargs attribute to writer classes
  • Add pytablewriter.typehint module
  • Add color support with style
  • Make it possible to apply style filter to column separators
  • Make it possible to apply part of the style filter to headers
  • Make it configurable header row crosspoint characters for text format writer classes
  • Make "sort_keys" not True by default #15 (Thanks to @Zackhardtoname)
  • Change to convert None values for Style class constructor arguments to default values.
  • Improve an error message: #26 (Thanks to @hugovk)
  • Change signatures of StyleFilterFunc
  • Change max_workers attribute default value to 1
  • Allow non ascii characters for JSON formats
  • Fix changing chars for text format tables not properly applied due to initialization order
  • Fix TomlTableWriter not properly rendered when including Decimal values
  • Fix from_tabledata method not properly propagate table_name when the value is None
  • Fix __repr__ method of Style class
  • Fix style filter to properly apply align
  • Update requirements
  • Minor bug fixes

v0.51.0

4 years ago
  • Add BoldUnicodeTableWriter class
  • Add BorderlessTableWriter class
  • Add underscore support for thousand separators
  • Add TableFormat.from_name class method
  • Add from_writer method to writers
  • Add vertical align to style (only for HtmlTableWriter): #13 (Thanks to @jimkohl)
  • Add write_css argument add an interface to write CSS with HtmlTableWriter: #16 (Thanks to @domino-blake)
  • Add AbstractTableWriter class to public paths
  • Add margin property to AbstractTableWriter class to avoid lint errors
  • Make it possible to apply styles to headers
  • Fix to properly apply align for HtmlTableWriter
  • Make style filter applicable to HtmlTableWriter
  • Add CssTableWriter class
  • Fix to include py.typed to the package
  • Modify type annotations
  • Increase priority of the xlsx format within TableFormat
  • Change the default table_name value to an empty string
  • Update requirements
  • Minor bug fixes