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.1.tar.gz (4.3 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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsdk-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 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.1.tar.gz
Algorithm Hash digest
SHA256 568c6f6b8c87c81e131cd4bcfcd21cd55f769a556ed8f718117ec4c73ad6297c
MD5 5a2a3fe28f6df160bfe76c2fbdb11563
BLAKE2b-256 90b721acf935c412188fbd7162b5f2abebd6ff39e0a170caa8cbbfff62b43689

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gsdk-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61827bfae593b5c99f00fcdc60715180448e651549d67ae9446da70956c16525
MD5 15ca3c64b069bf4c4e77a6b4c382f6a0
BLAKE2b-256 94fc7537e7fc13bb05e414ff204bf848642992ab00e39de28685851a00585817

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