Metadata-Version: 2.1
Name: gemgroq
Version: 0.1.0
Summary: A unified API interface for Groq and Google's Gemini AI models
Home-page: https://github.com/yourusername/gemgroq
Author: Nassim Khatib
Author-email: your.email@example.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
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: groq>=0.3.2
Requires-Dist: google-generativeai>=0.3.2
Requires-Dist: python-dotenv>=1.0.0

# Gemgroq API

A unified API interface that combines both Groq and Google's Gemini AI models into a single, easy-to-use package.

## Installation

```bash
pip install -r requirements.txt
```

## Setup

Create a `.env` file in your project root with your API keys:

```env
GROQ_API_KEY=your_groq_api_key
GEMINI_API_KEY=your_gemini_api_key
```

## Usage

```python
from gemgroq import GemgroqAPI

# Initialize the API
api = GemgroqAPI()

# Get response from either model
response = api.generate(
    prompt="Tell me a joke",
    model="groq"  # or "gemini"
)

print(response)
```

## Features

- Unified interface for both Groq and Gemini models
- Easy switching between models
- Consistent response format
- Error handling and retries
- Environment variable based configuration

## Supported Models

- Groq: mixtral-8x7b-32768, llama2-70b-4096
- Gemini: gemini-pro

## License

MIT
