Metadata-Version: 2.4
Name: texttools_iradiv
Version: 0.2.0
Summary: A simple Python package for reusable text-processing utilities
Author-email: Divine Irasubiza <irasubizadivine009@gmail.com>
Project-URL: Homepage, https://github.com/Divine-ui-009/texttools
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# TextTools

TextTools is a lightweight Python package containing reusable text-processing utilities.

## Features

- Count words
- Count characters, with or without whitespace
- Clean unnecessary whitespace
- Convert text to title case
- Check whether text is a palindrome

## Usage

```python
from texttools import (
    count_words,
    count_characters,
    clean_text,
    to_title_case,
    is_palindrome,
)

print(count_words("Hello Python"))
print(count_characters("Hello World", include_spaces=False))
print(clean_text("  Hello    Python  "))
print(to_title_case("hello python"))
print(is_palindrome("Never odd or even"))
```
