Colorparse

Latest version: v1.1.6

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

Scan your dependencies

Page 1 of 2

1.1.6

- Fixed color code overflow when ending specific color types consecutively (e.g. "/;g:w/ green text/;; with white background/:: would make this text green", returns the part of the string "would make this text green" with the former color green).

1.1.5

- Fixed raised error when using RGB or HEX color codes without true color active (now just ignores the color code).

1.1.4

- Re-did regular expression that obtained color codes, now works properly.
- Fixed ``end`` argument of ``paint`` function.
- Now, by default, ``end`` uses ``Color.ENDC`` before the new line character.
- Fixed the white color being the same as light gray (non-true color version).
- [d] Changed some examples and other descriptions.

1.1.3

- [m] Fixed ``end`` argument for the ``paint`` function not working properly.

1.1.2

+ color codes are parsed in ``sep`` and ``end`` arguments (``-s`` and ``-e`` arguments in the terminal, respectively)

1.1.1

+ [m] Objects that have a ``__str__`` method (e.g. iterables) can be used in ``paint``.
+ [d] Changed documentation, now using rST (sphinx) instead of md (mkdocs).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.