Releases: thombashi/pytablewriter
Releases · thombashi/pytablewriter
v1.2.0
- Add
enable_style_filter
method anddisable_style_filter
method to writer classes - Add
check_style_filter_kwargs
method to theTheme
class - Add
pytablewriter-altcol-theme
to theme extras - Add
margin
support to theCssTableWriter
class - Add support for Python 3.12
- Modify the style filter to be applicable to table headers: #37 (Thanks to @shawalli)
- Change the
add_col_separator_style_filter
method that raisesNotImplementedError
to debug-log output - Improve discovery of pytablewriter plugins
- Bump minimum required version of
typepy
to 1.3.2 - Fix
margin
,stream
, andstyle_filter_kwargs
to be propagated correctly infrom_writer
method- Fix the output of
HtmlTableWriter.write_table
method when the method called withwrite_css=True
- Fix the output of
- Fix an issue where the CSS output would be incorrect if the
HtmlTableWriter.write_table
method was called withwrite_css=True
whentable_name
was not specified - Fix style applying for headers of
CssTableWriter
writer class - Fix type annotations
Full Changelog: v1.1.0...v1.2.0
v1.1.0
- Add color support for GFM to
MarkdownTableWriter
class - Add
FontStyle.TYPEWRITER
- Add styles supported by Latex writers
Style.fg_color
Style.decoration_line
:DecorationLine.STRIKE
,DecorationLine.LINE_THROUGH
Style.decoration_line
:DecorationLine.UNDERLINE
- Add warnings for when invalid style attributes are passed to the Style class
- Modify the output format of Latex table writers
- Improve type annotations
- Fix Excel worksheet name generation
- Bump minimum required version of
DataProperty
to 1.0.1
Full Changelog: v1.0.0...v1.1.0
v1.0.0
- Add support for Python 3.11
- Drop support for Python 3.6
- Fix a regular expression range of LatexWriter: #57
- Add support for Elasticsearch 8
- Drop support for Elasticsearch 7
- Reduce import time for non-pandas use
- Update
pathvalidate
dependency to allow v3 - Bump minimum version requirement of
SimpleSQLite
- Improve type annotations
- Add
zip_safe=False
- Change the
Cell
class to an immutable data class - Update docs
- Replace deprecated
setup.py
calls - Add
pandas
extras - Add
__all__
to__init__.py
- Remove deprecated functions and properties
dump_tabledata
set_log_level
AbstractTableWriter.header_list
AbstractTableWriter.type_hint_list
AbstractTableWriter.styles
AbstractTableWriter.style_list
AbstractTableWriter.value_preprocessor.setter
Full Changelog: v0.64.2...v1.0.0
v0.64.2
- Fix to
thousand_separator
ofdefault_style
not properly applied: #55 (Thanks to @riklopfer) - Add support for
PyYAML
v7 - Avoid installation error with
setuptools>=58
- Modify type annotations:
default_style
propertyStyleFilterFunc.__call__
methodColSeparatorStyleFilterFunc.__call__
method
Full Changelog: v0.64.1...v0.64.2
v0.64.1
v0.64.0
v0.63.0
- Add
max_precision
argument to writer class constructors: #44 - Improve output precision of real numbers: #44
- Remove trailing whitespace when table does not have a name #46 (Thanks to @movermeyer)
- Fix AsciiDoc table header output: #47 (Thanks to @jvdvegt)
- Fix to dequote in cells properly: #49 (Thanks to @hugovk)
- Modify to accept type hints by strings as well
- Add
CodeQL
analysis - Add type annotations
- Allow
XlsxWriter
v3 - Add
setup-ci
target to Makefile
v0.62.0
- Add support for
CommonMark
as a flavor forMarkdownTableWriter
class - Add support for
kramdown
/Jeklly
as a flavor forMarkdownTableWriter
class - Add support styles(
fg_color
,bg_color
,font_weight
,font_style
) forAsciiDocTableWriter
class - Add
table_style
forMediaWikiTableWriter
: #43 - Add
overwrite_type_hints
argument tofrom_dataframe
method - Add types to
pytablewirter.typehint
- Add support for string with thousand separators as integer: #44
- Add support for string with thousand separators as integer
- Made it possible to set
flavor
as a keyword argument ofMarkdownTableWriter
constructor - Fix to
flavor
keyword argument properly applied when executingwrite_table
method at the second time - Change to just output warning instead of raising exception when
set_theme
method failed - Improve error messages when a theme not found
- Improve output precision of numbers: #44
- This may increase output decimal places of real numbers compared to the previous versions
- Remove an unused class
v0.61.0
- Add an alias for
Style.color
asStyle.fg_color
- Make it possible to set
theme
via writer class constructors - Make it possible to initialize writer from
dataframe
via writer class constructors - Fix comparison of
Style.__eq__
method - Fix CSS output of
HtmlTableWriter.write_table
method whenwrite_css=True
- Vendoring
msgfy
package