Skip to main content

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-genai library (installed automatically)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gsdk-1.0.3.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gsdk-1.0.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for gsdk-1.0.3.tar.gz
Algorithm Hash digest
SHA256 eb63621e39e05650b7bb37456edfb7cc96f67040051c530175ceb55eada5df30
MD5 4fee1d8fa1b0accab223d328ab80671f
BLAKE2b-256 ae5a1e1e0f674519056934c6a893b4de5d93f3caa4ab2a6875fb9b26faacb1df

See more details on using hashes here.

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

Hashes for gsdk-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5a4f480092c13d33f6a5aa4ade2fa13ae2522b6c6c3a0cb57dfa8ca35e83cddd
MD5 b235b9557f2d0e03a4a01a6d45335358
BLAKE2b-256 d06bad04ab8165b6b160da28d340a931e1ceb3589caa5b374f1ae7efdf1bf0e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page