Skip to main content

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-genai library (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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arygem-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arygem-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for arygem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88c68f98fd2b9fea18ae9253561f24364954866d6a12c4ddfdfdf4f09761c8e8
MD5 3117a4c0ab93688fb43e3825b7803f07
BLAKE2b-256 8c9163f31ca5005636442e09887a9b19d66b0c5b24fa013050818f3be133f876

See more details on using hashes here.

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

Hashes for arygem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0afe5097e4e1b9db2510e0690b591b9247c7414600b62a333ff98425d520b4ba
MD5 bdfa33edc0440519eabd82eece845ad2
BLAKE2b-256 85bac53be94b807e666cf1b6248b9922bb7f3e8448afd32a2b8e4a8cded102b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page