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)
| File | Size | Uploaded | |
|---|---|---|---|
| gemini_assistant-0.1.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|