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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file colorparse-1.1.6.tar.gz.

File metadata

  • Download URL: colorparse-1.1.6.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for colorparse-1.1.6.tar.gz
Algorithm Hash digest
SHA256 10c3ed5fbe82929d2bfcfb7d2e9726826b152aab81e499dc654ef005154aaa01
MD5 31d70771747b740712660951c6db7e54
BLAKE2b-256 848f7eee3d6369a4871634ddb85ce8090989891e02bbeebb539ad9fb72cc51bc

See more details on using hashes here.

File details

Details for the file colorparse-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: colorparse-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for colorparse-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 072172f479b0413eda0247c6f1581ad9577b5d88aa9bf7643e1b67b84fa50572
MD5 ecdfb841063da69cd3d5867b80bae5fd
BLAKE2b-256 07153253b32ed71781c9a842573cca02a17122ac5dcc1aee90f5a8c3097d0639

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page