colorize-cli-0.1
توضیحات
Highlight matched strings in a text
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | colorize-cli-0.1 |
| نام | colorize-cli |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aleksandr Vinokurov |
| ایمیل نویسنده | aleksandr.vin@gmail.com |
| آدرس صفحه اصلی | https://github.com/aleksandr-vin/colorize |
| آدرس اینترنتی | https://pypi.org/project/colorize-cli/ |
| مجوز | MIT |
Highlight matched strings in a text
===================================
.. image:: https://asciinema.org/a/fYZQYgtftLeicD4ap4zMHveg6.png
:width: 400
:alt: Showcase
`See in action <https://asciinema.org/a/fYZQYgtftLeicD4ap4zMHveg6>`_
Usage
-----
Pipe text though it to highlight:
1. Numbers, try `| colorize '[0-9]+'`.
2. Lines matching phrase, try `| colorize '.*phrase.*'`.
3. Headers in curl, try `| colorize '^[^:]*:'`.
If you don't like distribution of the colors, add some random number as second argument.
نحوه نصب
نصب پکیج whl colorize-cli-0.1:
pip install colorize-cli-0.1.whl
نصب پکیج tar.gz colorize-cli-0.1:
pip install colorize-cli-0.1.tar.gz