Package Info

python-ansiwrap


Textwrap, but savvy to ANSI colors and styles


Development/Languages/Python

Ansiwrap wraps text, like the standard textwrap module. But it also correctly wraps text that contains ANSI control sequences that colorize or style text.

Where textwrap is fooled by the raw string length of those control codes, ansiwrap is not; it understands that however much those codes affect color and display style, they have no logical length.


License: Apache-2.0
URL: https://github.com/jonathaneunice/ansiwrap

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.8.4-bp155.2.9 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-ansiwrap
0.8.4-bp154.1.20 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-ansiwrap
0.8.4-bp153.1.16 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-ansiwrap
  • python3-ansiwrap
0.8.4-bp152.1.12 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-ansiwrap
  • python3-ansiwrap