Fast, lightweight SDK for Google Gemini API.
Project description
gsdk 🚀
A lightweight Python library for the Google Gemini API.
📦 Installation
pip install gsdk
🚀 Quick Start
import asyncio
from gsdk import GeminiSDK
async def main():
sdk = GeminiSDK(
api_keys=["YOUR_API_KEY"],
model_name="gemini-3-flash-preview"
)
response = await sdk.ask("session_1", "Hello! Who are you?")
print(f"AI: {response.text}")
asyncio.run(main())
🛠 Project Structure
-
gsdk.core— Main SDK class and logic. -
gsdk.media— File uploads (images, video). -
gsdk.storage— Session persistence. -
gsdk.live— Real-time Multimodal API.
⚠️ Requirements
-
Python 3.10+
-
google-genailibrary (installed automatically)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gsdk-1.0.3.tar.gz.
File metadata
- Download URL: gsdk-1.0.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb63621e39e05650b7bb37456edfb7cc96f67040051c530175ceb55eada5df30
|
|
| MD5 |
4fee1d8fa1b0accab223d328ab80671f
|
|
| BLAKE2b-256 |
ae5a1e1e0f674519056934c6a893b4de5d93f3caa4ab2a6875fb9b26faacb1df
|
File details
Details for the file gsdk-1.0.3-py3-none-any.whl.
File metadata
- Download URL: gsdk-1.0.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a4f480092c13d33f6a5aa4ade2fa13ae2522b6c6c3a0cb57dfa8ca35e83cddd
|
|
| MD5 |
b235b9557f2d0e03a4a01a6d45335358
|
|
| BLAKE2b-256 |
d06bad04ab8165b6b160da28d340a931e1ceb3589caa5b374f1ae7efdf1bf0e4
|