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.1.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for strip_ansi-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f55280e1b0ba84dac49d4f18aa6b51b90ff766b22e4918ffc01cc87b394ecd1 |
|
MD5 | 84350b15aa96d10672ce4602482251ce |
|
BLAKE2b-256 | 22a1077deda41f949b3412434fda858396ee9927a3260a43537c2ae333bd688c |