# google-gemini/deprecated-generative-ai-python

This SDK is now deprecated, use the new unified Google GenAI SDK.

Repository: https://github.com/google-gemini/deprecated-generative-ai-python
Canonical: https://ross.abutalabs.com/products/deprecated-generative-ai-python
Homepage: https://github.com/googleapis/python-genai
Language: Python
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2025-12-16T17:45:53+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 57, release rhythm 49, longevity 87
- inputs: {"age_days": 1218, "days_push": 260, "days_rel": 260, "gap_med": 59.0, "n_releases_24m": 7}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2327, forks 527 (observed 2026-08-28T04:06:37.512675+00:00)

## What it is
The deprecated Google AI Python SDK for the Gemini API, which allowed developers to integrate Google's generative AI models into Python applications. It has been superseded by the unified Google Gen AI SDK (googleapis/python-genai) and support ended on November 30, 2025.

## Use cases
- call the Gemini API from Python
- generate text with Google's generative AI models
- maintain legacy code that uses the old Google AI Python SDK
- migrate an existing app from the old Gemini SDK to the new GenAI SDK
- chat with Gemini models in a Python script

## When to choose
- you are maintaining an existing codebase already built on this SDK
- you need to reference the old API surface while planning a migration

## When to avoid
- you are starting a new project - use the unified Google Gen AI SDK instead
- you need new features, performance improvements, or active support
- you want access to Gemini 2.0+ capabilities

## Facets
- artifact type: library
- maturity: abandoned
- function: sdk, llm-inference, machine-learning
- domain: large-language-models, artificial-intelligence, developer-tools
- platform: python
- tags: gemini-api, google-ai, deprecated, generative-ai

## Member repositories
- google-gemini/deprecated-generative-ai-python (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.512675+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:38:14.040761+00:00, confidence not recorded.
  - readme: https://github.com/google-gemini/deprecated-generative-ai-python (fetched 2026-08-28T04:06:37.512675+00:00, sha f475f67c6455)
  - homepage: https://github.com/googleapis/python-genai (fetched 2026-08-29T10:18:39.501707+00:00, sha f26f35574207)
- Data as of 2026-08-30T08:39:29.467469+00:00.
