Strip ANSI escape sequences from a string
Project description
Strip ANSI escape sequences from a string
Installation
strip-ansi is available on on PyPI:
pip install strip_ansi
Usage
>>> from strip_ansi import strip_ansi
>>> strip_ansi("\033[38mLorem ipsum\033[0m")
"Lorem ipsum"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
strip-ansi-0.1.0.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for strip_ansi-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17acee05e5ebbec040ac00630e033acaf1db393fbd6b779051151cd8ce6531ac |
|
MD5 | 8a751549d93f4a4b2cdc51091dd03d4a |
|
BLAKE2b-256 | 28d2d26ae56cbb0add72d2febb16b9d2c5a4ac960fdaddbba4f4b7a5db667522 |