Metadata-Version: 2.4
Name: pmpt-cli
Version: 0.1.5
Summary: CLI tool for AI-powered prompt enhancement
Home-page: https://github.com/hawier-dev/pmpt-cli
Author: hawier-dev
Author-email: mikolajbadyl0@gmail.com
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai>=1.0.0
Requires-Dist: anthropic>=0.3.0
Requires-Dist: prompt-toolkit>=3.0.36
Requires-Dist: rich>=13.0.0
Requires-Dist: questionary>=2.0.0
Requires-Dist: aiohttp>=3.8.0
Requires-Dist: packaging>=21.0
Requires-Dist: click>=8.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# PMPT

AI-powered prompt enhancement tool that improves your prompts using OpenAI, Anthropic, and OpenRouter APIs.

![Demo](demo.gif)

## Features

- 🤖 **Multiple AI Providers**: OpenAI, Anthropic (Claude), OpenRouter
- 🎨 **Enhancement Styles**: Gentle, Structured, Creative  
- 🔍 **Smart Environment Detection**: Automatically detects your project's programming environment
- ⌨️ **Command Completion**: Tab completion for commands
- 📋 **Clipboard Integration**: Automatic copying to clipboard
- ⚙️ **Easy Configuration**: First-run setup wizard

## Installation

### Via pip (Recommended)

```bash
pip install pmpt-cli
```

### Linux/macOS (Bash)

Run the installation script:

```bash
curl -fsSL https://raw.githubusercontent.com/hawier-dev/pmpt-cli/main/install.sh | bash
```

### Manual Installation

```bash
git clone https://github.com/hawier-dev/pmpt-cli.git
cd pmpt-cli  
pip install -e .
```

## Usage

Simply run:
```bash
pmpt
```

### First Time Setup
The tool will automatically guide you through configuration:
1. Choose your AI provider (OpenAI/Anthropic/OpenRouter/Custom)
2. Enter your API key
3. Specify your model
4. Settings are saved to `~/.pmpt-cli/config.json`

## Configuration

### Supported Providers
- **OpenAI**: GPT models via OpenAI API
- **Anthropic**: Claude models via Anthropic API  
- **OpenRouter**: Access to various models
- **Custom**: Any OpenAI-compatible API

### Configuration File
Located at `~/.pmpt-cli/config.json`:
```json
{
  "api_key": "your-api-key",
  "provider": "openai", 
  "model": "gpt-4o",
  "current_style": "gentle"
}
```

## Requirements

- **Python 3.8+** (add to PATH during installation)
- **Git** (for installation scripts)
- **API key** for chosen provider (OpenAI, Anthropic, OpenRouter, etc.)

## Development

```bash
git clone https://github.com/hawier-dev/pmpt-cli.git
cd pmpt-cli
pip install -e .
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
