Metadata-Version: 2.1
Name: strip-ansi
Version: 0.1.0
Summary: Strip ANSI escape sequences from a string
Home-page: https://github.com/ewen-lbh/python-strip-ansi
Author: Ewen Le Bihan
Author-email: ewen.lebihan7@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Project-URL: Repository, https://github.com/ewen-lbh/python-strip-ansi
Description-Content-Type: text/x-rst

strip-ansi
----------

    Strip ANSI escape sequences from a string


Installation
============

`strip-ansi` is available on `on PyPI <https://pypi.org/project/strip-ansi>`_:

.. code:: shell
   
   pip install strip_ansi

Usage
=====

.. WARNING::
   This package only supports python 3.6 and up. It may work on older versions (maybe even python 2)
   but I'm not sure.

.. code:: python

   >>> from strip_ansi import strip_ansi
   >>> strip_ansi("\033[38mLorem ipsum\033[0m")
   "Lorem ipsum"

