Skip to main content

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)

Metadata

Release files for gemini-assistant 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gemini-assistant 0.1.0
File Size Uploaded
gemini_assistant-0.1.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gemini-assistant 0.1.0
File Interpreter ABI Platform
gemini_assistant-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / gemini_assistant-0.1.0.tar.gz

Download URL gemini_assistant-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
43bf228ba10dd9fff965835c73805c1f87b80a8a3fa22a207a5c05af022bc4c4
BLAKE2b-256 checksum
How to use checksums
40d1fb82da1015ae52a1279497ae18c2cffa80d7e43d244cfcd0132d711b293c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.1

Release files / gemini_assistant-0.1.0-py3-none-any.whl

Download URL gemini_assistant-0.1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92ddcdb67f17dd235726c75a984320e2e2d73ab2971e2baafc812d8c0b4a32b4
BLAKE2b-256 checksum
How to use checksums
603b1f3cdebf916185128b31b800dca77caa11f5689959a07ce85f77e76975ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page