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
Bot releases are hidden (Show)
enable_style_filter
method and disable_style_filter
method to writer classescheck_style_filter_kwargs
method to the Theme
classpytablewriter-altcol-theme
to theme extrasmargin
support to the CssTableWriter
classadd_col_separator_style_filter
method that raises NotImplementedError
to debug-log outputtypepy
to 1.3.2margin
, stream
, and style_filter_kwargs
to be propagated correctly in from_writer
method
HtmlTableWriter.write_table
method when the method called with write_css=True
HtmlTableWriter.write_table
method was called with write_css=True
when table_name
was not specifiedCssTableWriter
writer classFull Changelog: https://github.com/thombashi/pytablewriter/compare/v1.1.0...v1.2.0
Published by thombashi about 1 year ago
MarkdownTableWriter
classFontStyle.TYPEWRITER
Style.fg_color
Style.decoration_line
: DecorationLine.STRIKE
, DecorationLine.LINE_THROUGH
Style.decoration_line
: DecorationLine.UNDERLINE
DataProperty
to 1.0.1Full Changelog: https://github.com/thombashi/pytablewriter/compare/v1.0.0...v1.1.0
Published by thombashi over 1 year ago
pathvalidate
dependency to allow v3SimpleSQLite
zip_safe=False
Cell
class to an immutable data classsetup.py
callspandas
extras__all__
to __init__.py
dump_tabledata
set_log_level
AbstractTableWriter.header_list
AbstractTableWriter.type_hint_list
AbstractTableWriter.styles
AbstractTableWriter.style_list
AbstractTableWriter.value_preprocessor.setter
Full Changelog: https://github.com/thombashi/pytablewriter/compare/v0.64.2...v1.0.0
Published by thombashi over 2 years ago
thousand_separator
of default_style
not properly applied: #55 (Thanks to @riklopfer)PyYAML
v7setuptools>=58
default_style
propertyStyleFilterFunc.__call__
methodColSeparatorStyleFilterFunc.__call__
methodFull Changelog: https://github.com/thombashi/pytablewriter/compare/v0.64.1...v0.64.2
Published by thombashi about 3 years ago
dict
values: #52 (Thanks to @rutsam)Full Changelog: https://github.com/thombashi/pytablewriter/compare/v0.64.0...v0.64.1
max_precision
argument to writer class constructors: #44CodeQL
analysisXlsxWriter
v3setup-ci
target to MakefileCommonMark
as a flavor for MarkdownTableWriter
classkramdown
/Jeklly
as a flavor for MarkdownTableWriter
classfg_color
, bg_color
, font_weight
, font_style
) for AsciiDocTableWriter
classtable_style
for MediaWikiTableWriter
: #43overwrite_type_hints
argument to from_dataframe
methodpytablewirter.typehint
flavor
as a keyword argument of MarkdownTableWriter
constructorflavor
keyword argument properly applied when executing write_table
method at the second timeset_theme
method failedStyle.color
as Style.fg_color
theme
via writer class constructorsdataframe
via writer class constructorsStyle.__eq__
methodHtmlTableWriter.write_table
method when write_css=True
msgfy
packagemargin
#36 (Thanks to @shawalli)_repr_html_
method to properly apply writer settingsmargin
value setting changes are properly applied after written a tabletable_format
property to writer classesclear_theme
method to writer classesTableFormat.from_file_extension
class methodset_theme
/list_themes
functions to writer classeses
extras__repr__
method for text writer classesmax_workers
value to a dependency packageenable_ansi_escape
attribute to writer classes: #30 (Thanks to @calebstewart)update
method to Style classdump
method executiondump
methodenable_ansi_escape
/colorize_terminal
at _repr_html_
methodcolorize_terminal
to clear preprocess data when the value changedkwargs
to dump
method of writer classesindent
keyword argument support for write_table
/dump
/dumps
methodssort_keys
keyword argument support for write_table
/dump
/dumps
method of JSON writer classesJsonTableWriter
classJsonLinesTableWriter
for None
valuesJsonTableWriter.write_table
methodEmptyHeaderError
YamlTableWriter
writer classCell
classstyle_filter_kwargs
attribute to writer classespytablewriter.typehint
moduleNone
values for Style class constructor arguments to default values.StyleFilterFunc
max_workers
attribute default value to 1TomlTableWriter
not properly rendered when including Decimal
valuesfrom_tabledata
method not properly propagate table_name
when the value is None__repr__
method of Style
classBoldUnicodeTableWriter
classBorderlessTableWriter
classTableFormat.from_name
class methodfrom_writer
method to writersHtmlTableWriter
): #13 (Thanks to @jimkohl)write_css
argument add an interface to write CSS with HtmlTableWriter
: #16 (Thanks to @domino-blake)AbstractTableWriter
class to public pathsAbstractTableWriter
class to avoid lint errorsHtmlTableWriter
HtmlTableWriter
CssTableWriter
classpy.typed
to the packagexlsx
format within TableFormat
table_name
value to an empty string