A simple Python wrapper for Google Gemini AI
Project description
AryGem
AryGem is a minimal Python wrapper for Google Gemini AI that makes it super easy to generate AI responses with just a few lines of code.
Installation
pip install arygem
Usage
from arygem import AryGem
# Initialize with your Gemini API key
client = AryGem("YOUR_GEMINI_API_KEY")
# Generate a response
answer = client.generate(
"Tell me something interesting about cats.",
context="Cats are small, furry mammals known for their agility."
)
print(answer)
Features
- Simple and minimal setup
- Supports optional context to guide AI responses
- Uses Google Gemini default model (
gemini-2.5-flash) - Ready to use out-of-the-box
Requirements
- Python >= 3.9
google-genailibrary (installed automatically with AryGem)
License
MIT License
This is ready to use for PyPI or GitHub — clean, concise, and user-friendly.
If you want, Aryan, I can also make an extended version with examples for batch queries and optional parameters to make it look more professional. Do you want me to do that?
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 arygem-0.1.0.tar.gz.
File metadata
- Download URL: arygem-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88c68f98fd2b9fea18ae9253561f24364954866d6a12c4ddfdfdf4f09761c8e8
|
|
| MD5 |
3117a4c0ab93688fb43e3825b7803f07
|
|
| BLAKE2b-256 |
8c9163f31ca5005636442e09887a9b19d66b0c5b24fa013050818f3be133f876
|
File details
Details for the file arygem-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arygem-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0afe5097e4e1b9db2510e0690b591b9247c7414600b62a333ff98425d520b4ba
|
|
| MD5 |
bdfa33edc0440519eabd82eece845ad2
|
|
| BLAKE2b-256 |
85bac53be94b807e666cf1b6248b9922bb7f3e8448afd32a2b8e4a8cded102b7
|