GenAI Python SDK

Google Gen AI SDK Documentation: https:/googleapis.github.io/python-genai/ Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. It supports the Gemini Developer API and Vertex AI APIs. Installation pip install google-genai Imports from google import genai from google.genai import types Create a client Please run one of the following code blocks to create a client for different services (Gemini Developer API or Vertex AI). client = genai.Client(api_key='GEMINI_API_KEY') client = genai.Client( vertexai=True, project='your-project-id', location='us-central1' ) (Optional) Using environment variables: You can create a client by configuring the necessary environment variables. Configuration setup instructions depends on whether you're using the Gemini Developer API or the Gemini API in Vertex AI. Gemini Developer A
RPM
python3-google-genai-1.14.0-1.lbn36.noarch.rpm
Summary
GenAI Python SDK
URL
https://pypi.org/project/google-genai
Group
Unspecified
License
ZPL
Source
python-google-genai-1.14.0-1.lbn36.src.rpm
Checksum
3206ad2880ea14c64e878fa32780b65bc27b2f16f9313169f4bde9596596041f
Build Date
2025/05/13 02:37:28
Requires
python3.10dist(anyio)
python3.10dist(requests)
Provides
python-google-genai = 1.14.0-1.lbn36
python3-google-genai = 1.14.0-1.lbn36
python3.10-google-genai = 1.14.0-1.lbn36
python3.10dist(google-genai) = 1.14
python3dist(google-genai) = 1.14
Obsoletes