Metadata-Version: 2.2
Name: colorsx
Version: 0.1.0
Summary: Colored text printing library for the terminal.
Home-page: https://github.com/oguzh3n/colorsx
Author: oguzh3n
Author-email: oguzyavvak@gmail.com
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
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# colorsx

🖌 **colorsx** is a Python library that allows you to use colors in terminal output.  
Users can optionally define an **alias** (shortcut) for easier usage.

## 🚀 Installation
To install via PyPI:
```sh
pip install colorsx
```

For local installation:
```sh
pip install dist/colorsx-0.1.0-py3-none-any.whl
```

## 📌 Usage

### **1️⃣ Usage Without an Alias**
```python
from colorsx import colorsx

print(colorsx.blue("This is a blue-colored text."))
print(colorsx.red("This is a red-colored text."))
```

### **2️⃣ Usage With an Alias**
```python
from colorsx import ColorsX

c = ColorsX(alias="c")  # Defining an alias
print(c.green("This is a green-colored text."))
```

An alias can also be set later:
```python
from colorsx import colorsx

colorsx.set_alias("c")
print(c.yellow("This is a yellow-colored text."))
```

## 🎨 Supported Colors
- `red`
- `green`
- `yellow`
- `blue`
- `magenta`
- `cyan`
- `white`
- `reset`
