Metadata-Version: 2.4
Name: promptlint-tool
Version: 0.1.0
Summary: Rules-based prompt quality checker (format, constraints, examples, role/tone).
Author-email: Your Name <you@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourname/promptlint
Project-URL: Issues, https://github.com/yourname/promptlint/issues
Keywords: llm,prompt,lint,prompting,quality
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# promptlint-tool

Rules-based prompt quality checks (format, constraints, examples, role/tone).

## Install
```bash
pip install promptlint-tool
```

## CLI
```bash
promptlint prompt.txt
promptlint prompt.txt --json
```

You can also pipe from stdin:
```bash
cat prompt.txt | promptlint
```

## Python
```python
from promptlint import lint_text

res = lint_text("Return JSON with keys: a, b. Example: Input: ... Output: ...")
print(res.score)
for issue in res.issues:
    print(issue.code, issue.message)
```
