Metadata-Version: 2.4
Name: product-blurb
Version: 0.1.0
Summary: Rewrite product titles and descriptions into clean ecommerce listings using OpenAI.
Author: Paul
License-Expression: MIT
Keywords: ecommerce,openai,product,description,copywriting,listing
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: openai>=1.0.0

# product-blurb

Rewrite product titles and descriptions into clean, appealing ecommerce listings using OpenAI. It never invents specs, dimensions, materials, or features — it only rewrites what's already there, and strips brand/store names.

## Install

```bash
pip install product-blurb
```

## Setup

Set your OpenAI API key in the environment:

```bash
export OPENAI_API_KEY="sk-..."
```

## Use as a library

```python
from product_blurb import generate

result = generate("Vintage Gothic Pocket Watch", "old style watch bronze chain steampunk")
# {"title": "...", "description": "..."}
```

## Use from the command line

```bash
product-blurb --title "Vintage Gothic Pocket Watch" --description "old style watch bronze chain steampunk"
```

Outputs JSON: `{"title": "...", "description": "..."}`

Optional `--model` flag (default `gpt-5-mini`).
