Metadata-Version: 2.4
Name: text-utils-lucasr
Version: 1.0.0
Summary: Basic functions for manipulating strings and text.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: black>=24.0; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Dynamic: license-file

# text_utils
This package provides basic functions for manipulating strings and text.

## Installation

```bash
python -m pip install text-utils-lucas-runser
```

## Usage

Import the functions from `text_utils.functions`:

```python
from text_utils.functions import (
    capitalize_words,
    character_count,
    reverse,
    shuffle_words,
    word_count,
)
```

Available functions:

- word_count
- character_count
- reverse
- capitalize_words
- shuffle_words

`shuffle_words(text)` returns the words in a random order. Words are separated by
whitespace, punctuation stays attached to its word, and whitespace in the result
is normalized to single spaces.
