strip-ansi-0.1.1
توضیحات
Strip ANSI escape sequences from a string
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | strip-ansi-0.1.1 |
| نام | strip-ansi |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ewen Le Bihan |
| ایمیل نویسنده | ewen.lebihan7@gmail.com |
| آدرس صفحه اصلی | https://github.com/ewen-lbh/python-strip-ansi |
| آدرس اینترنتی | https://pypi.org/project/strip-ansi/ |
| مجوز | - |
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"
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl strip-ansi-0.1.1:
pip install strip-ansi-0.1.1.whl
نصب پکیج tar.gz strip-ansi-0.1.1:
pip install strip-ansi-0.1.1.tar.gz