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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file turingpulse_sdk_google_genai-1.4.0.tar.gz.
File metadata
- Download URL: turingpulse_sdk_google_genai-1.4.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afeb06f2b4648c402a011766c224fe72087b8d40bd9fec1fa02aed08a7d08c79
|
|
| MD5 |
adde1322ecb546606878aaab66a012d2
|
|
| BLAKE2b-256 |
99191644cd079722387288ddb37b4b210e5713b820efe0dfe45eaf04d83d27d9
|
File details
Details for the file turingpulse_sdk_google_genai-1.4.0-py3-none-any.whl.
File metadata
- Download URL: turingpulse_sdk_google_genai-1.4.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e3c721d9a642fec421a3229992078e3504b37f5c7e6789e1d0cfb930f7858eb
|
|
| MD5 |
cba12d4d18b4d917631c3df45d067ea3
|
|
| BLAKE2b-256 |
bac7ca25ae0f95efbbec055ea8daab22e5336a3072418af13d48e783e6d4998c
|