anstrip is a minimal library to strip ANSI sequences from strings.
Python tool to safely remove comments and docstrings from source files using libcst.
Mini-lib to strip ANSI escape codes from strings