Metadata-Version: 2.1
Name: logtext
Version: 1.1.0
Summary: Print with color
Author: kuavait
Author-email: kuavait@tutamail.com
License: MIT
Description-Content-Type: text/markdown


```bash
pip install logtext
```

```python
from logtext import *
import time

print_matrix("THE FUTURE IS NOW")
print_fire("LAUNCH SEQUENCE INITIATED")
print_glitch("REALITY.EXE NOT FOUND")
print_pulse("NEURAL LINK ACTIVE", (0, 255, 255))
print_animated("Initializing quantum rainbow drive...", (180, 255, 100))
print_rainbow("All systems nominal. Welcome back, Commander.")
success("Done!")
error("Failed!")

# New in 1.1.0
for i in range(101):
    progress_bar(i, 100, label="Uploading")

with spinner("Processing data"):
    time.sleep(3)

countdown(5, message="Launching in")
```

### Features

| Feature                  | Description                                      | Pure Magic? |
|--------------------------|--------------------------------------------------|-------------|
| `print_fire()`           | Real flickering flames – orange → red → yellow   | Yes         |
| `print_pulse()`          | Smooth breathing/glowing heartbeat               | Yes         |
| `print_glitch()`         | Cyberpunk VHS/corruption distortion              | Yes         |
| `print_matrix()`         | Full Matrix digital rain with falling trails     | Yes         |
| `print_animated()`       | Classic hacker-movie typewriter effect           | Yes         |
| `print_gradient()`       | Smooth RGB gradient across text                  | Yes         |
| `print_rainbow()`        | Classic rainbow coloring                         | Yes         |
| `success()` / `error()`  | Bold status messages                             | Yes         |
| `warning()` / `info()`   | Bold status messages                             | Yes         |
| `progress_bar()`         | Inline color progress bar, call in a loop        | Yes         |
| `spinner()`              | Animated spinner context manager (✔/✘ on exit)  | Yes         |
| `countdown()`            | Countdown with animated color shift              | Yes         |

### Changelog

#### 1.1.0
- **Added** `progress_bar(current, total)` — inline colored progress bar, update in place by calling in a loop
- **Added** `spinner(message)` — threaded animated spinner as a context manager; prints ✔ on success or ✘ on exception exit
- **Added** `countdown(n)` — countdown from n to 0 with a configurable start→end color shift
- **Removed** dependency on `skytext` — logtext is now fully self-contained with no external dependencies

#### 1.0.0
- Initial release with `print_fire`, `print_pulse`, `print_glitch`, `print_matrix`
- Color effects via `print_animated`, `print_gradient`, `print_rainbow`
- Status helpers: `success`, `error`, `warning`, `info`
- Required `skytext>=0.1.0` as a dependency

### License

MIT © 2025

Made with love, caffeine, and way too many ANSI codes
