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.3.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.3.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_google_genai-1.3.0.tar.gz
Algorithm Hash digest
SHA256 102035a892bd4d84ca54ffa2c2158592274174802ab6954df8858fcd173d8e23
MD5 822ec50839d59fbbf16ef1b8af27f526
BLAKE2b-256 2d5578093446a7134a852963266956aa21951f9d7a0e708ca18ce5178392e2e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for turingpulse_sdk_google_genai-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b36244bc409117d2279aaa255d955f496377ba78dda0811bbc3fdd9fb816039
MD5 27c98ac7b3d40519bdafe97c5bc6c968
BLAKE2b-256 c9073d6fba34301881a503fa46a4123d45d6f0822d179915231315deb411d3bd

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