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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file strip-ansi-0.1.1.tar.gz.
File metadata
- Download URL: strip-ansi-0.1.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.16-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d60f239cc8a37fdd52b43c3e66e893d45ba0423115db59eca0d2eef83b07729
|
|
| MD5 |
bf9840c9ed7534c77177dcb2d4f520d5
|
|
| BLAKE2b-256 |
b9bd273a435b7f9fd111b22f740b2661b6b734938c93d86531f9689747323c43
|
File details
Details for the file strip_ansi-0.1.1-py3-none-any.whl.
File metadata
- Download URL: strip_ansi-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.16-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f55280e1b0ba84dac49d4f18aa6b51b90ff766b22e4918ffc01cc87b394ecd1
|
|
| MD5 |
84350b15aa96d10672ce4602482251ce
|
|
| BLAKE2b-256 |
22a1077deda41f949b3412434fda858396ee9927a3260a43537c2ae333bd688c
|