anstrip
anstrip is a minimal library to strip ANSI sequences from strings.
It provides:
PATTERN, the regex pattern used by the functions of anstripstrip, a function to remove all the escape sequences from a stringauto_strip, a function that is similar tostrip, except that it only removes if the output is a TTYprint, a function that is similar to the built-inprintbut with sequence auto-strippingprinted_length, a function that returns the length of the string as seen on the screen
Release files for anstrip 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anstrip-0.2.2.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anstrip-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / anstrip-0.2.2.tar.gz
| Download URL | anstrip-0.2.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb959e44d2513d4453c576ed0c15e49bc278dc5175cff78a9dcb551c6341af6e
|
|
BLAKE2b-256 checksum How to use checksums |
ca466793b9564f5132cae98d9bfef46f73f3b5f160265d1c9aeea84726af3365
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / anstrip-0.2.2-py3-none-any.whl
| Download URL | anstrip-0.2.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52d19b8c2d83ed60afbb0306bd88377d87832b69a78966e8357e32e6e9973032
|
|
BLAKE2b-256 checksum How to use checksums |
32cdef72268605e99026d43a2ce523a9cddd1416285e35f8f2c4fbaa384696d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|