Add your description here
Project description
🤖 gemini_helper
Use Gemini API with OpenAI Agent SDK easily!
This package allows students and developers to use free Gemini models (like gemini-2.0-flash) with the powerful OpenAI Agent SDK.
🚀 Installation
Using uv (recommended):
uv add gemini_helper
Or via pip:
pip install gemini_helper
⚙️ Environment Setup
Create a .env file in your project root and add your Gemini API key:
GEMINI_API_KEY=your_gemini_api_key_here
📌 You can get your key from Google AI Studio
💡 How to Use
✅ Default (uses gemini-2.0-flash)
from gemini_helper.core import get_gemini_model
model = get_gemini_model()
⚡ Custom model (like gemini-1.0-pro)
model = get_gemini_model("gemini-1.0-pro")
You can now use this model inside your OpenAI Agent setup.
📦 Features
- 🔐 Secure API key handling via
.env - 🔄 Compatible with OpenAI Agent SDK
- 💸 No need for OpenAI's paid API – fully free using Gemini
- ⚙️ Optional model switching (e.g.
gemini-1.0-pro,gemini-2.0-pro) - 🧩 Easy to integrate into agent-based workflows
🛠 Dependencies
This package depends on:
openai-agent-sdkpython-dotenv
These are automatically installed with the package.
🧑💻 Author
Made with ❤️ by Huriya Syed
Empowering students to build free agents using Gemini + OpenAI SDK.
📬 Contact / Support
Feel free to open an issue or connect with me on LinkedIn
Or email me at: huriyasyed462@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gemini_agent_helper-0.1.0.tar.gz.
File metadata
- Download URL: gemini_agent_helper-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be58e7c9fd4c9b9fb688ebd13fd03d4a4078b3820932bea734fedd48ebe86fbe
|
|
| MD5 |
d6bf33bdd8fca3c94d803ef710679f1c
|
|
| BLAKE2b-256 |
2070d437721e5936153e6a8bc7ad9634e414ea6d1086757353da96e1c14e67c7
|
File details
Details for the file gemini_agent_helper-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gemini_agent_helper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ba718e2a6b83040312337febf8c8b1af17175e6ccbf03714cb84f50d2e6dee5
|
|
| MD5 |
62936ec19a98accee2cd4ca4527dc8c2
|
|
| BLAKE2b-256 |
cc2a5fab4e32b64771b91ed5461b99830d408f0f05c0e2fc9b9391510663e700
|