Metadata-Version: 2.4
Name: code-puppy
Version: 0.0.6
Summary: Code generation agent
Author: Michael Pfaffenberger
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.10
Requires-Dist: bs4>=0.0.2
Requires-Dist: httpx-limiter>=0.3.0
Requires-Dist: httpx>=0.24.1
Requires-Dist: logfire>=0.7.1
Requires-Dist: prompt-toolkit>=3.0.38
Requires-Dist: pydantic-ai>=0.1.0
Requires-Dist: pydantic>=2.4.0
Requires-Dist: pytest-cov>=6.1.1
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: rich>=13.4.2
Requires-Dist: ruff>=0.11.11
Description-Content-Type: text/markdown

# Code Puppy

## Overview

Code Puppy is a sophisticated AI-powered code generation agent, designed to understand programming tasks, generate high-quality code, and explain its reasoning similar to tools like Windsurf and Cursor. 

## Features

- **Multi-language support**: Capable of generating code in various programming languages.
- **Interactive CLI**: A command-line interface for interactive use.
- **Detailed explanations**: Provides insights into generated code to understand its logic and structure.

## Installation

`pip install code-puppy`

## Usage

### Command Line Interface

Run specific tasks or engage in interactive mode:

```bash
# Execute a task directly
code-puppy "write me a C++ hello world program in /tmp/main.cpp then compile it and run it"

# Enter interactive mode
code-puppy --interactive
```

## Requirements

- Python 3.9+
- OpenAI API key (for GPT models)
- Gemini API key (for Google's Gemini models)
- Anthropic key (for Claude models)
- Ollama endpoint available


## License

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