Metadata-Version: 2.4
Name: gemini_assistant
Version: 0.1.0
Summary: A helper library for integrating the Google Gemini API into web applications.
Home-page: https://github.com/fars-a/gemini_assistant
Author: Farsan Suneer
Author-email: farsansuneer@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: google-genai
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

Gemini Assistant Library

gemini_assistant is a simple Python package designed to streamline interactions with the Google Gemini API, making it easy to integrate AI functionality into your applications, such as a Flask web app.

Installation

Clone the repository/Navigate to the directory.

Install locally (simulating PyPI):

pip install .


Usage

Before use, set your API key:

export GEMINI_API_KEY="YOUR_API_KEY_HERE"


Example

from gemini_assistant import get_response

# Basic text generation
query = "Explain the concept of quantum entanglement in simple terms."
ai_output = get_response(query)
print(ai_output)

# Summarization helper
long_text = "..."
summary = summarize_text(long_text)
print(summary)
