Rich-argparse

Latest version: v1.5.2

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

Scan your dependencies

Page 2 of 4

1.1.1

Fixes
- [GH-67](https://github.com/hamdanal/rich-argparse/issues/67),
[PR-69](https://github.com/hamdanal/rich-argparse/pull/69)
Fix `%` not being escaped properly
- [PR-68](https://github.com/hamdanal/rich-argparse/pull/68)
Restore lazy loading of `rich`. Delay its import until it is needed.

1.1.0

Features
- [GH-55](https://github.com/hamdanal/rich-argparse/issues/55),
[PR-56](https://github.com/hamdanal/rich-argparse/pull/56)
Add a new style for `%(prog)s` in the usage. The style is applied in argparse-generated usage and
in user defined usage whether the user usage is plain text or rich markup.

1.0.0

Fixes
- [GH-49](https://github.com/hamdanal/rich-argparse/issues/49),
[PR-50](https://github.com/hamdanal/rich-argparse/pull/50)
`RichHelpFormatter` now respects format conversion types in help strings

0.7.0

Features
- [GH-47](https://github.com/hamdanal/rich-argparse/issues/47),
[PR-48](https://github.com/hamdanal/rich-argparse/pull/48)
The default `group_name_formatter` has changed from `str.upper` to `str.title`. This renders
better with long group names and follows the convention of popular CLI tools and programs.
Please note that if you test the output of your CLI **verbatim** and rely on the default behavior
of rich_argparse, you will have to either set the formatter explicitly or update the tests.

0.6.0

Features
- [PR-43](https://github.com/hamdanal/rich-argparse/pull/43)
Support type checking for users. Bundle type information in the wheel and sdist.

Fixes
- [PR-43](https://github.com/hamdanal/rich-argparse/pull/43)
Fix annotations of class variables previously typed as instance variables.

0.5.0

Features
- [PR-38](https://github.com/hamdanal/rich-argparse/pull/38)
Support console markup in **custom** `usage` messages. Note that this feature is not activated by
default. To enable it, set `RichHelpFormatter.usage_markup = True`.


Fixes
- [PR-35](https://github.com/hamdanal/rich-argparse/pull/35)
Use `soft_wrap` in `console.print` instead of a large fixed console width for wrapping
- [GH-36](https://github.com/hamdanal/rich-argparse/issues/36),
[PR-37](https://github.com/hamdanal/rich-argparse/pull/37)
Fix a regression in highlight regexes that caused the formatter to crash when using the same
style multiple times.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.