Metadata-Version: 2.1
Name: tercol
Version: 0.1.5
Summary: TerCol is a library that colors your text.
Author-email: Butterroach <butterroach@proton.me>
Project-URL: Homepage, https://butterroach.github.io/tercol
Project-URL: Bug Tracker, https://github.com/butterroach/tercol/issues
Project-URL: Source Code, https://github.com/butterroach/tercol
Keywords: terminal styling,colors,style
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# **[TerCol](https://pypi.org/project/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

```python
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.
