argparse-color-formatter

A `formatter_class` for `argparse` that deals with ANSI colour escapes. Specifically, this formatter does not count escape characters as displayed characters when wrapping `argparse`'s help text into…

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install argparse-color-formatter

Dependencies

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
3.0.0 2026-07-27
2.0.0.post1 2024-03-18
2.0.0 2024-03-15
1.2.2.post2 2020-01-03
1.2.1 2018-07-16
1.2.0 2018-01-04
1.1.1 2018-01-02
1.1.0 2018-01-02
1.0.0 2017-11-27

Issues with this package?

Page last updated 2026-09-03 09:42:33 UTC