# Ansi Terminal

![Author](https://img.shields.io/badge/made%20by-Luca%20BARBISAN-blue?style=plastic)
![License](https://img.shields.io/badge/license-MIT-blue.svg?style=plastic)
![Python](https://img.shields.io/badge/python-3.6%2B-blue?style=plastic)

A lightweight Python library for styling and coloring terminal output using ANSI escape codes. Easily print text in bold, underlined, or colored formats across supported terminals.


## Features 🪴

- Foreground and background colors
- Text styles: bold, italic, underline, strikethrough
- RGB color support (24-bit color)
- Nestable and composable styles
- Reset and clear formatting helpers
- Cross-platform compatibility (Windows via colorama)

## Installation 💻

```bash
pip install ansi-terminal
```

## Example 🌻

```python
from ansi_terminal import ansi_print, Color, fg, bg, style

ansi_print(f", Color, fg, bg, style", color=Color(fg.red, bg.black, style.italic))
```
___

## Contributing 🌱

1. **Clone the repository**:  
   ```bash
   git clone https://...git
   ```

2. **Create your feature branch**
   ```bash
   git checkout develop
   git checkout -b feature/YourFeature
   ```

3. **Commit your changes**:  
   ```bash
   git commit -m "Add your feature description"
   ```

4. **Push your branch** to GitHub:  
   ```bash
   git push origin feature/YourFeature
   ```

4. **Open a merge request** to the `develop` branch.

For major changes, please open an issue first to discuss what you would like to change.
