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.0.tar.gz (4.1 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.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file gsdk-1.0.0.tar.gz.

File metadata

  • Download URL: gsdk-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 b9ab8cb8e30d6731de61e6f4f724d67afcea3adf64dddf774f2ce35e2352bc67
MD5 067a15ebda72f4f3e567bc0c71695d90
BLAKE2b-256 a79cd6fe6c75de83ce448a214fa5c4644cb37ef9408bc642624a5aaa1ead2aa9

See more details on using hashes here.

File details

Details for the file gsdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gsdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07930ac3feb87549af484e0ec27a66523edbe7cd458288b1efcfefe1a65cf42f
MD5 772b1207aa2e21512f6915fba43ca517
BLAKE2b-256 cd938af3b407473bfd58c243cdb3a25e36452757139ceba599750e2bda908c05

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