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 visible (Hide)

pytablewriter -

Published by thombashi over 4 years ago

  • Add add_style_filter method to writers
  • Add type annotations and py.typed to the package
  • Minor bug fixes
pytablewriter -

Published by thombashi over 4 years ago

  • Add max_workers property to writers
  • Add validation for default_style setter
  • Change _font_size_map to cache
pytablewriter -

Published by thombashi over 4 years ago

  • Drop Python 2 support: #24 (Thanks to @hugovk)
  • Add support for Python 3.9
  • Add support for platforms that lacks support sem_open such as Android Termux
  • Add default_style to writers
  • Add update_preprocessor method to writers
  • Fix backward compatibility with getting pandas.DataFrame: #25 (Thanks to @hugovk )
  • Replace the logging library from Logbook to loguru
  • Remove deprecated methods/properties
  • Remove dev extras_require
  • Rename a property from styles to column_styles
pytablewriter -

Published by thombashi over 4 years ago

  • Add support for escape formula injection: #20 (Thanks to @randomstuff)
    • for CSV/Excel writers
  • Replace line breaks to <br> tag for HTML table writer: #22 (Thanks to @kesyog)
  • Modify to replace line breaks separately
pytablewriter -

Published by thombashi almost 5 years ago

  • Add support for PyPy
  • Add es7 extras
  • Integrate release and build extras to dev extras
  • Update requirements
pytablewriter -

Published by thombashi over 5 years ago

  • Drop support for Python 3.4
  • Add deb package to PPA
  • Loosen some of the external dependencies version restriction
  • Bug fixes
pytablewriter -

Published by thombashi over 5 years ago

  • Fix improper type hints behavior for SQLite table writer: #12 (Thanks to @smcat8)
pytablewriter -

Published by thombashi over 5 years ago

  • Add UnicodeTableWriter class
  • Bug fixes
  • Do not install on Python 3.3: #11 (Thanks to @hugovk)
pytablewriter -

Published by thombashi over 5 years ago

  • Add pandas.DataFrame pickle support for from_dataframe method
  • Add from_series method
  • Bug fixes
pytablewriter -

Published by thombashi over 5 years ago

  • Improve processing performance
  • Suppress excessive DeprecationWarning
pytablewriter -

Published by thombashi over 5 years ago

  • Improve processing performance
  • Add add_index_column argument to from_dataframe
  • Add register_trans_func method
  • Rename properties:
    • from type_hint_list to type_hints
    • from header_list to headers
    • from style_list to styles
  • Remove value_map property
pytablewriter -

Published by thombashi over 5 years ago

  • Add trans_func property
  • Change to forbid to assign a stream to binary writers
  • Change to be more informative when optional packages not installed
  • Bug fixes
pytablewriter -

Published by thombashi almost 6 years ago

  • Fix missing extras_require for html (Thanks to @hugovk)
pytablewriter -

Published by thombashi almost 6 years ago

  • Fix the case that changing styles by using set_style not properly applied
  • Fix __repr__/__eq__ method for Style class
  • Avoid closing ipykernel OutStream
  • Bug fixes
pytablewriter -

Published by thombashi almost 6 years ago

  • Add dump method to writers
  • Add support for italic style
  • Add is_opened method to binary writers
  • Fix to apply styles for _repr_html_ method
  • Avoid overwriting the stream when executing dumps method
  • Loosen external package dependencies
    • Change HTML writer to an extra require
  • Bug fixes
pytablewriter -

Published by thombashi almost 6 years ago

  • Fix Excel writers failed to write
pytablewriter -

Published by thombashi almost 6 years ago

  • Add set_style method to writers
  • Add value_map attribute to writers
  • Improve precision of column ASCII char width calculation
  • Suppress applying styles when the value is null
  • Bug fixes
pytablewriter -

Published by thombashi almost 6 years ago

  • Add support for Style to ReStructuredText writers
  • Bug fixes
pytablewriter -

Published by thombashi almost 6 years ago

  • Change to accept string values for the line_break_handling attribute of writers
  • Change is_write_null_line_after_table default value of writers from True to False
  • Change dump_tabledata function to pass arguments to writer
pytablewriter -

Published by thombashi almost 6 years ago

  • Add align/thousand_separator/font_weight to Style
  • Add line_break_handling attribute to writers
  • Bug fixes