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.2.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.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsdk-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 413800bc31aa7ce0d0c8a8021e27dc48b982f63036c8c95a26ddb63410612a63
MD5 377943c88ef58aa2051476b8ddfdafd2
BLAKE2b-256 3be1e7899143870eb727ae76746476c1e12502b35150f50c51b2355556e6acd2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gsdk-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c269e1b73f4c518bc5ce424fc8c9edcfc285fad3e50180a815162b1fa40541
MD5 f55e37de5a7e89e809cd962f640d0e18
BLAKE2b-256 e0e557146ba1b098d90449318b876b5af20f1c81507df53078dac567f07b8b85

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