Metadata-Version: 2.1
Name: puter
Version: 0.0.12
Summary: A Python client for Puter AI API - free access to GPT-4 and Claude
Home-page: https://github.com/Nemyam/puter
Author: Nemyam
Author-email: nemyam0@gmail.com
Keywords: ai,gpt4,claude,puter,chatbot,llm,gpt-4,anthropic
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.0
Requires-Dist: rich>=10.0.0

# puter ðŸ¤–

[![PyPI version](https://badge.fury.io/py/puter.svg)](https://badge.fury.io/py/puter)
[![Python 3.7+](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A simple Python client for Puter.AI API that lets you use GPT-4 and Claude models for free!

## Installation
```bash
pip install puter
```

## Quick Start
```python
from puter import ChatCompletion

# Basic completion
response = ChatCompletion.create(
    messages=[{"role": "user", "content": "tell me a joke"}],
    model="gpt-4o-mini",
    driver="openai-completion",
    api_key="your-api-key"
)

# Streaming response
response = ChatCompletion.create(
    messages=[{"role": "user", "content": "tell me a story"}],
    model="claude-3-5-sonnet-latest",
    driver="claude",
    stream=True,
    api_key="your-api-key"
)
```

## Features
- ðŸš€ OpenAI-style interface
- ðŸ¤– Multiple models supported:
- GPT-4o-mini
- GPT-4o
- Claude 3.5 Sonnet
- ðŸ“º Streaming support
- ðŸ§¹ Clean and simple API

## Models & Drivers
| Model | Driver |
|-------|---------|
| gpt-4o-mini | openai-completion |
| gpt-4o | openai-completion |
| claude-3-5-sonnet-latest | claude |

## Version History
- 0.0.12: Updated README
- 0.0.11: Latest release with improved stability
- 0.0.1: Initial release

## License
MIT License - feel free to use in your projects!
