Metadata-Version: 2.4
Name: TerminalNexus
Version: 1.0.0
Summary: A high-performance terminal styling engine for Python, designed for advanced UI/UX in command-line interfaces.
Home-page: https://github.com/NexusDev-Labs/TerminalNexus
Author: NexusDev-Labs
Author-email: contact@nexusdev-labs.io
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Terminals
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# TerminalNexus: Advanced Terminal Styling

A high-performance terminal styling engine for Python, designed for advanced UI/UX in command-line interfaces. TerminalNexus provides seamless integration of HEX color codes into your terminal applications, enabling you to create visually stunning and professional command-line interfaces.

## 🚀 Features

- **High-Performance HEX Color Processing**: Efficiently convert and apply HEX color codes to terminal text
- **Lightweight & Fast**: Minimal overhead, maximum performance
- **Easy to Use**: Simple, intuitive API for styling terminal output
- **Cross-Platform**: Works on Windows, Linux, and macOS
- **Python 3.6+ Compatible**: Supports all modern Python versions

## 📥 Installation

Install TerminalNexus using pip:

```bash
pip install terminalnexus
```

Or install directly from GitHub:

```bash
pip install git+https://github.com/NexusDev-Labs/TerminalNexus.git
```

## 🎨 Quick Start

Get started with TerminalNexus in just a few lines of code:

```python
import terminalnexus

# Print colored text
print(terminalnexus.set("#ff0000") + "Hello, World!" + terminalnexus.reset())

# Use in input prompts
user_input = input(terminalnexus.set("#00ff00") + "Enter your name: " + terminalnexus.set("#0000ff"))
```

## 📖 Usage Examples

### Basic Text Styling

```python
import terminalnexus

# Red text
print(terminalnexus.set("#ff0000") + "This is red text" + terminalnexus.reset())

# Green text
print(terminalnexus.set("#00ff00") + "This is green text" + terminalnexus.reset())

# Blue text
print(terminalnexus.set("#0000ff") + "This is blue text" + terminalnexus.reset())
```

### Interactive Prompts

```python
import terminalnexus

name = input(
    terminalnexus.set("#00ff00") + 
    "What's your name? " + 
    terminalnexus.set("#ffff00")
)
print(terminalnexus.set("#ff00ff") + f"Hello, {name}!" + terminalnexus.reset())
```

### Combining Colors

```python
import terminalnexus

# Create colorful output
message = (
    terminalnexus.set("#ff5733") + "Welcome" +
    terminalnexus.reset() + " to " +
    terminalnexus.set("#33c3f0") + "TerminalNexus" +
    terminalnexus.reset()
)
print(message)
```

## 🔧 API Reference

### `terminalnexus.set(hex)`

Sets the terminal color to the specified HEX code.

**Parameters:**
- `hex` (str): A HEX color code in the format `#RRGGBB` (e.g., `#ff0000` for red)

**Returns:**
- `str`: ANSI escape sequence for the specified color

**Example:**
```python
color_code = terminalnexus.set("#ff5733")
```

### `terminalnexus.reset()`

Resets the terminal color to default.

**Returns:**
- `str`: ANSI escape sequence to reset terminal formatting

**Example:**
```python
reset_code = terminalnexus.reset()
```

## 📋 Requirements

- Python 3.6 or higher
- A terminal that supports ANSI color codes (most modern terminals)

## 🤝 Contributing

We welcome contributions! Please feel free to submit a Pull Request.

## 📜 License

TerminalNexus is open-source software released under the MIT License. See the [LICENSE](LICENSE) file for details.

## 🌐 Links

- **GitHub**: [https://github.com/NexusDev-Labs/TerminalNexus](https://github.com/NexusDev-Labs/TerminalNexus)
- **Issues**: [https://github.com/NexusDev-Labs/TerminalNexus/issues](https://github.com/NexusDev-Labs/TerminalNexus/issues)

## 💡 Acknowledgments

Thank you for using TerminalNexus! We hope this library helps you create beautiful and engaging command-line interfaces.
