Skip to main content

strip-ansi

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"

Metadata

Release files for strip-ansi 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for strip-ansi 0.1.1
File Size Uploaded Provenance
strip-ansi-0.1.1.tar.gz 1.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for strip-ansi 0.1.1
File Interpreter ABI Platform
strip_ansi-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / strip-ansi-0.1.1.tar.gz

Download URL strip-ansi-0.1.1.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5d60f239cc8a37fdd52b43c3e66e893d45ba0423115db59eca0d2eef83b07729
BLAKE2b-256 checksum
How to use checksums
b9bd273a435b7f9fd111b22f740b2661b6b734938c93d86531f9689747323c43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.3 Linux/5.6.16-1-MANJARO

Release files / strip_ansi-0.1.1-py3-none-any.whl

Download URL strip_ansi-0.1.1-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f55280e1b0ba84dac49d4f18aa6b51b90ff766b22e4918ffc01cc87b394ecd1
BLAKE2b-256 checksum
How to use checksums
22a1077deda41f949b3412434fda858396ee9927a3260a43537c2ae333bd688c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.3 Linux/5.6.16-1-MANJARO

Security for strip-ansi 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page