Skip to main content

A string-coloring package for terminals

Project description

colorparse

colorparse is a python package that will read and parse strings with defined color codes, showing their respective colors in the terminal. This way, a string can be easily colored, simplifying the work for the user. For the complete documentation, change log and more, visit the readthedocs page and the github page.

Installation

To install, upgrade or uninstall, use the following:

   $ pip install colorparse
   $ pip install --upgrade colorparse
   $ pip uninstall colorparse

Recent Changes

* the prefixes [t] refer to terminal-only, [m] for module-only and [d] for docs-only changes, respectively *

# version 1.1.6   (2020 - 03 - 12)
- Fixed color code overflow when ending specific color types consecutively (e.g. "/;g:w/ green text/;; with white background/:: would make this text green", returns the part of the string "would make this text green" with the former color green).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colorparse-1.1.6.tar.gz (8.1 kB view hashes)

Uploaded source

Built Distribution

colorparse-1.1.6-py3-none-any.whl (9.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page