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.
margin
#36 (Thanks to @shawalli)_repr_html_
method to properly apply writer settingsmargin
value setting changes are properly applied after written a tablePandasDataFramePickleWriter
classTableWriterFactory
instantiationtable_format
property to writer classesclear_theme
method to writer classesTableFormat.from_file_extension
class methodtheme
extrasset_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
is_header_row
method to Cell
classYamlTableWriter
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