ASCII Screen Splash for SHYCD software.
Project description
Ansistrip
Module to strip ANSI Escape codes from a string.
Installation
Install with pip
pip3 install -U ansistrip
Usage
In [1]: import ansistrip
In [2]: text = "\x1b[1m\x1b[38;5;10mtest\x1b0m"
In [3]: ansistrip.ansi_strip(text)
Out[3]: 'test'
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
ansistrip-0.1.tar.gz
(1.6 kB
view details)
File details
Details for the file ansistrip-0.1.tar.gz
.
File metadata
- Download URL: ansistrip-0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d47b24679527af752989acd0ecd20c9b1453907b4122784bdcf6c7e937162c |
|
MD5 | f151de64a536423e3cd7d9a57f5b44df |
|
BLAKE2b-256 | 1bfeb4f6d04c17850ca32bd2b659a93431c193cd06229935c7372a5d341fda78 |