Metadata-Version: 2.4
Name: beautifyText
Version: 1.0.7
Summary: Text beautification utilities — wrapping, casing, slugify, ANSI styling.
Author-email: Enjoyyoursorrow <bleooddiorjeans@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://pypi.org/project/beautifyText/
Keywords: text,format,beautify,ansi,slugify
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyyaml>=6.0
Requires-Dist: requests>=2.28
Dynamic: license-file
Dynamic: requires-python

# beautifyText

Small text-beautification toolkit for terminals, logs, and CLI output.

## Install

```
pip install beautifyText
```

## Usage

```python
from beautifyText import wrap, slugify, ansi, box

print(wrap("a very long line " * 20, width=60))
print(slugify("Hello, World!"))          # hello-world
print(ansi("danger", "1;31"))            # bold red
print(box("hello\nworld"))
```

## API

- `wrap(text, width=80)` — wrap to column width
- `slugify(text)` — lowercase dash-separated
- `titlecase(text)` — title-case, preserves acronyms
- `camelcase(text)` / `snakecase(text)`
- `ansi(text, code)` — ANSI SGR wrap
- `strip_ansi(text)`
- `indent_block(text, prefix)`
- `box(text)` — unicode frame, terminal-aware

## License

MIT
