Pytablewriter

Latest version: v1.2.0

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 16

0.52.0

- 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

0.51.0

- 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

0.50.0

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

0.49.0

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

0.48.0

- 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`

0.47.0

- 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

Page 4 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.