Rich-tools

Latest version: v0.5.0

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

Scan your dependencies

0.5.0

Added

- Added a new function `rich_tools.strip_markup_tags()` that removes rich markup tags from a string.
It's a simple helper function to call the rich library's method: `Text.from_markup("[i]str[/i]").plain`

Changed

- `rich_tools.table_to_df()` now supports a `remove_markup` argument that when False will leave rich markup in the
values added to the `df`.

0.4.0

Added

- Added a new function `table_to_dicts()` that converts a `Table` instance's records into dictionaries and
yields them back one at a time.

0.3.0

Changed

- Made the passing of a `Table` instance to `df_to_table` optional.

0.2.0

Changed

- Support (and encourage) importing functions directly from `rich_tools`.
- Previously we would use `from rich_tools.table import df_to_table`
- Now we support `from rich_tools import df_to_table`
- The old import is still available if the extra namespace is your preference.

0.1.2

Changed

- Changed the import of `pandas` in `rich_tools/table.py`.

0.1.0

Added

- Added base code, tests, and examples for the first release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.