Skip to main content

TuringPulse SDK integration for Google GenAI (Gemini)

Project description

turingpulse-sdk-google-genai

TuringPulse SDK integration for Google GenAI (Gemini) — automatic tracing for Gemini Pro and Flash models.

Installation

pip install turingpulse-sdk-google-genai

Quick Start

from google import genai
from turingpulse_sdk import init, TuringPulseConfig
from turingpulse_sdk_google_genai import patch_google_genai

init(TuringPulseConfig(api_key="sk_live_...", workflow_name="my-project"))
patch_google_genai(name="my-project")

client = genai.Client()
response = client.models.generate_content(
    model="gemini-2.0-flash",
    contents="Hello!"
)

Documentation

Full documentation: turingpulse.ai/docs/sdk/google-genai

Requirements

  • Python >= 3.11
  • turingpulse-sdk >= 1.0.0
  • google-genai >= 1.14.0

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

turingpulse_sdk_google_genai-1.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

turingpulse_sdk_google_genai-1.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file turingpulse_sdk_google_genai-1.2.0.tar.gz.

File metadata

File hashes

Hashes for turingpulse_sdk_google_genai-1.2.0.tar.gz
Algorithm Hash digest
SHA256 108c2e7fec1d12d565a93ef45d51d73ed41687f077ac63b339f4a97458deef01
MD5 bcd6d72c4106b3e480fd4129d7f7d97d
BLAKE2b-256 969d6b24338c5c468cb13138bb4c12b5e53cba2faf3039b219f9aaa6dee368ad

See more details on using hashes here.

File details

Details for the file turingpulse_sdk_google_genai-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for turingpulse_sdk_google_genai-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8debf132f7c9b9d6880f02e687a12fb7398c4acb6f4cc7611d6e44433e3774e6
MD5 d24bfafc8b333a1926539d9fccad7de9
BLAKE2b-256 b79f99aaefa146e65a46a42dae0b7e438ac8733e3f1c24a762af0c6ac3d9c828

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