# Google Cloud Spanner — card for AI agents

Python client library for Google Cloud's distributed SQL database.

Category: Databases, ORMs and clients · PyPI package `google-cloud-spanner` · latest version 3.71.0 (checked 2026-11-01)
Install: `pip install google-cloud-spanner`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 50.5 (#1916 of all tools, 56 of 120 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 3,383,496 (as of 2026-11-24), -8.6% over 4 weeks
- GitHub stars: 5,422 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
Google Cloud AI Platform 89.3%, Google GenAI Python SDK 82.1%, Google Agent Development Kit 78.6%, Google API Python Client 78.6%, Google Cloud BigQuery 78.6%, Google Cloud Storage (Python) 78.6%

## Checked alternatives (same job)
- psycopg: https://agentgid.com/tools/psycopg/agent.md
- asyncpg: https://agentgid.com/tools/asyncpg/agent.md
- aiosqlite: https://agentgid.com/tools/aiosqlite/agent.md
- DuckDB: https://agentgid.com/tools/duckdb/agent.md
- PyMySQL: https://agentgid.com/tools/pymysql/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/google-cloud-spanner/
- Homepage: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-spanner
- Repository: https://github.com/googleapis/google-cloud-python

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
