Metadata-Version: 2.1
Name: luminance
Version: 0.1.3
Summary: Luminance is a library for working with user output and console input
Home-page: https://github.com/reslaid/luminance
Author: Artem Reslaid
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown

# luminance
LuminanceCLI is a versatile Python library designed to enhance console interactions across a wide range of Python language versions.

# Installation
- **Stable version:**
```bash
git clone https://github.com/reslaid/luminance.git
```

- **Unreleased version:**
```bash
git clone -b dev https://github.com/reslaid/luminance.git
```

## Usage
```python
from luminance import AnsiConsole

# Create an instance of AnsiConsole
console = AnsiConsole()

# Styling text
console.printf(
    "Hello, AnsiConsole!",
    style=[
        console.Styles.BOLD,
        console.Styles.UNDERLINE,
        console.Colors.Fore.GREEN,
        console.Colors.Back.WHITE
    ]
)

# Gradient printing
console.grd_printf(
    "Gradient Text",
    color1="#FF0000",
    color2="#00FF00"
)

# Get user input with styled prompt
user_input = console.inputf(
    "Enter something:",
    style=[
        console.Styles.BOLD,
        console.Colors.Fore.CYAN
    ]
)

# Get password input with styled prompt
password = console.passf(
    "Enter password:",
    style=[
        console.Styles.BOLD,
        console.Colors.Fore.YELLOW
    ]
)

# Clear the console
console.clearf()

# Set console title
console.titlef("My Console App")
```


