Metadata-Version: 2.4
Name: promptutils
Version: 0.1.0
Summary: Utilities for working with LLM prompts
Author-email: testycool <left@testy.cool>
License: MIT
Project-URL: Homepage, https://github.com/testy-cool/promptutils
Project-URL: Repository, https://github.com/testy-cool/promptutils
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# promptutils

`clean_prompt()` removes comments (lines starting with #) and extra whitespace from messy prompts.

```python
from promptutils import clean_prompt
clean_prompt("  # comment\n    hello world  ") # -> "hello world"
```

Install: `uv pip install git+https://github.com/testy-cool/promptutils.git@main`

## Installation

Install directly from GitHub using your preferred installer. With **uv** (recommended):
