Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

DEPRECATED!!!!!!!

Use tranci instead!!!!

Scroll down below for the original README























































Code style: black

TerCol

TerCol is a small, pure Python library that allows you to color and style text output. TerCol has no dependencies and only requires Python 3.7 or newer. It also supports true color.

Usage

import tercol

print(tercol.red('Red text'))
print(tercol.blue('Blue text'))
print(tercol.rgb(255, 215, 0, 'Gold text using RGB'))
print(tercol.hexa(0xffd700, 'Gold text using HEX'))
print(tercol.hsv(51, 100, 100, 'Gold text using HSV'))
print(tercol.rainbowtext('Rainbow text'))

Requirements

TerCol only requires Python 3.7 or newer. No additional dependencies are needed.

Pros

  • Small size
  • Pure Python
  • No dependencies
  • Simple automatic reset handling
  • IDE-autocomplete friendly
  • True color support

Cons

  • Limited support of nested styles
  • Only supports Python 3.7+

License

TerCol is licensed under the MIT license. See the LICENSE file for more info.

Metadata

Release files for tercol 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tercol 1.0.0
File Size Uploaded Provenance Actions
tercol-1.0.0.tar.gz 5.3 kB Without provenance Details for tercol-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tercol 1.0.0
File Interpreter ABI Platform Actions
tercol-1.0.0-py3-none-any.whl Python 3 none any Details for tercol-1.0.0-py3-none-any.whl

Total release size: 10.9 kB

Release files / tercol-1.0.0.tar.gz

Download URL tercol-1.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7be193bad07442b00526141db80c9601496fc6625313f32f8205a5b0aa595ea3
BLAKE2b-256 checksum
How to use checksums
307389cd5dea95b9fb4012d6ce8e542ccfa99b5f700978d4d5eba28aba2fc2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / tercol-1.0.0-py3-none-any.whl

Download URL tercol-1.0.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cfc3502cd7abf2740fa9d0b853cfa77be0dffd201a5c30894dc6dbc29b78780
BLAKE2b-256 checksum
How to use checksums
2037e08999ded8d4eaea35afc16a7cb79a1c7b5f1d976ea30abecf86a94d5757
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for tercol 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page