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 Provenance Actions
gemini_assistant-0.1.0.tar.gz 2.5 kB Without provenance Details for gemini_assistant-0.1.0.tar.gz

Built distribution (wheel)

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

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

Security for gemini-assistant 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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