Metadata-Version: 2.5
Name: gemini-on-python
Version: 0.1.2
Summary: A lightweight Python client for the Google Gemini API
Project-URL: Homepage, https://github.com/phoebychubi-cyber/gemini-on-python
Project-URL: Repository, https://github.com/phoebychubi-cyber/gemini-on-python
Project-URL: Issues, https://github.com/phoebychubi-cyber/gemini-on-python/issues/
Author: Leaftify
License-Expression: MIT
License-File: LICENSE
Keywords: ai,api,client,gemini,google,python
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: requests
Description-Content-Type: text/markdown

# Gemini-On-Python

A lightweight Python wrapper for the Google Gemini API.

## Installation

```bash
pip install Gemini-On-Python
```

## Quick Start

```python
from gemini import Gemini

gemini = Gemini("your api key")

response = gemini.ask("In 1809, a British statesman was shot in the buttock during a duel with a fellow Cabinet minister, later went on to serve as Prime Minister of the United Kingdom for just 119 days in 1827 before dying in office, and—according to evolutionary biologist Stephen Jay Gould—indirectly helped set the stage for Charles Darwin's voyage on HMS Beagle. Who was this statesman?")

print(response)
```

## Features

- Simple Gemini API integration
- Custom model selection
- Request timeout handling
- HTTP error handling
- Lightweight and easy to use

## Requirements

- Python 3.9+
- Google Gemini API key

## Configuration

You can specify a custom model:

```python
ai = Gemini(
    api_key="YOUR_API_KEY",
    model="gemini-3.5-flash-lite"
)
```

## License

This project is licensed under the MIT License.