DEPRECATED!!! Use tranci instead!
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
DEPRECATED!!!!!!!
Use tranci instead!!!!
Scroll down below for the original README
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tercol-1.0.0.tar.gz.
File metadata
- Download URL: tercol-1.0.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7be193bad07442b00526141db80c9601496fc6625313f32f8205a5b0aa595ea3
|
|
| MD5 |
4403449809c7ec354c0a2a4baa6d4c73
|
|
| BLAKE2b-256 |
307389cd5dea95b9fb4012d6ce8e542ccfa99b5f700978d4d5eba28aba2fc2e5
|
File details
Details for the file tercol-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tercol-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cfc3502cd7abf2740fa9d0b853cfa77be0dffd201a5c30894dc6dbc29b78780
|
|
| MD5 |
1bf8b559b9ce2da043f88a50efd7fb67
|
|
| BLAKE2b-256 |
2037e08999ded8d4eaea35afc16a7cb79a1c7b5f1d976ea30abecf86a94d5757
|