Metadata-Version: 2.4
Name: fansi_text
Version: 0.1.0
Summary: A Python module for formatting text with ANSI escape codes.
Author-email: Hal Kolb <hal@kolb.com>
License: MIT License
Project-URL: homepage, https://github.com/hal609/fANSI-text
Project-URL: repository, https://github.com/hal609/fANSI-text
Project-URL: bug-tracker, https://github.com/hal609/fANSI-text/issues
Keywords: ANSI,formatting,text,colorizer,python
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENCE
Dynamic: license-file

# fansi_text

A Python module for formatting text with ANSI escape codes.

## Installation

```
pip install fansi_text
```

## Usage

```python
from fansi_text import Red

print(Red("Red text"))
```

```python
from fansi_text import RGBColor

print(RGBColor("RGB Text", 200, 130, 60))
```

You can also form complex combinations of overlapping effects.
```python
from fansi_text import *

print(
    Bold("Bold, " +
         Green("green and bold. ")) + 
    "Then normal text. Then " +
    Underline(Overline("under and over lined. ")) +
    "Next " + 
    Italic("italics. Add " + 
           Yellow("yellow " + 
                  Bold("and bold too! ") +
                  "Then back to yellow and italics, ") + 
           "then just italics, ") + 
    "and finally back to normal."
)
```
