$npx skillfedfor your agent

google-api-python-client

Google API Client Library for Python

With conditionsPyPI WWW/HTTPReleased Jun 2026191.6M downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — google_api_python_client-2.198.0-py3-none-any.whl
v2.198.0 · released 2026-06-25 · Python >=3.7 · 5 runtime deps: httplib2, google-auth, google-auth-httplib2, google-api-core, uritemplate

Yes, if you need to call one or more Google discovery-based APIs from Python and are willing to accept the larger package footprint. The library is stable, actively maintained, and officially supported by Google. Install it for existing projects or when a specialized Cloud Client Library doesn't cover your use case. For new projects calling only a single Google service, check whether a dedicated Cloud Client Library exists first.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires valid Google credentials (OAuth 2.0 token or service account key) and Python 3.7 or newer.
  • Low friction installation with five stable runtime dependencies.
  • Actively maintained with releases every week; last commit was 50 days ago.

License · maintenance · safety

Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions. No license friction for most use cases.

last release 2026-06-25 (50 days) · last repo commit 2026-07-14 · 8,899 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 191,572,173 downloads/mo, #215 on PyPI

Verify before relying

pip install google-api-python-client

import httplib2
from google_auth import credentials

# Requires credentials object from google-auth
service_build_call = 'see documentation for full example'
  • Whether the 50 MB package size (compared to v1.x) is acceptable for your deployment constraints.
  • Performance characteristics when calling APIs with high request volume or latency-sensitive workloads.
  • Exact API coverage and compatibility details for your specific Google services.
  • How to properly initialize and authenticate using google-auth and google-auth-httplib2.
Same gist for agents: .md · .json

What it is and what it does

google-api-python-client is Google's official Python library for calling discovery-based Google APIs. It works by loading API definitions (discovery documents) that are now cached within the library itself rather than fetched dynamically at runtime. This caching trade-off—a larger package size in exchange for faster startup and more reliable initialization—is the main change in version 2.x. The library handles authentication, request construction, and response parsing through a unified interface, with runtime dependencies on httplib2, google-auth, google-auth-httplib2, google-api-core, and uritemplate.

The library is complete and in maintenance mode, meaning Google will fix critical bugs and security issues but will not add new features. For new code, Google's own documentation recommends using specialized Cloud Client Libraries instead, which offer better tooling and smaller download footprints. However, google-api-python-client remains officially supported and is still the right choice when you need to call multiple different Google APIs or when a specialized library doesn't exist for your use case.

Use it for

  • Automate tasks across multiple Google services from a single Python application using the unified client interface.
  • Build reporting or integration tools that pull data from Google services into a local system or database.
  • Create service account bots that manage Google services on behalf of an organization or application.
  • Integrate Google APIs into existing Python applications that already depend on httplib2 or google-auth.
  • Call Google discovery-based APIs when a specialized Cloud Client Library is not available for your use case.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to call one or more Google discovery-based APIs from Python and are willing to accept the larger package footprint.

The library is stable, actively maintained, and officially supported by Google. Install it for existing projects or when a specialized Cloud Client Library doesn't cover your use case. For new projects calling only a single Google service, check whether a dedicated Cloud Client Library exists first.

Install

google-api-python-client on PyPI

Before you install

Low friction installation with five stable runtime dependencies. Actively maintained with releases every week; last commit was 50 days ago. Library is in maintenance mode—critical bugs and security issues are addressed, but no new features are planned.

Requires valid Google credentials (OAuth 2.0 token or service account key) and Python 3.7 or newer.

License in practice

Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions. No license friction for most use cases.

Quickstart

pip install google-api-python-client

import httplib2
from google_auth import credentials

# Requires credentials object from google-auth
service_build_call = 'see documentation for full example'

Verify before relying

  • Whether the 50 MB package size (compared to v1.x) is acceptable for your deployment constraints.
  • Performance characteristics when calling APIs with high request volume or latency-sensitive workloads.
  • Exact API coverage and compatibility details for your specific Google services.
  • How to properly initialize and authenticate using google-auth and google-auth-httplib2.

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
httplib2google-authgoogle-auth-httplib2google-api-coreuritemplate
MaintenanceActively maintained 50 days since the last release
Last repo commit
First released
Downloads191,572,173 / month, #215 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP

Evidence: google_api_python_client-2.198.0-py3-none-any.whl

Tags

Capabilities
google api client library pythoncall google apis from pythongmail drive sheets python clientgoogle discovery api pythoninteract with google services python
Topics
google-apisoauth2-readymaintenance-mode
PyPI keywords
googleapiclient

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “call google apis from python”

  • google-api-python-clientProvides Python bindings to call Google's discovery-based APIs…
  • google-authHandles server-to-server authentication with Google APIs using OAuth…
  • fastspecConverts OpenAPI and Google Discovery API specs into fully async…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also google-apitools · google-cloud-storage · aiogoogle · google-cloud-discoveryengine · PyDrive · google-cloud-datacatalog · google-cloud-dns · google-cloud-access-context-manager · google-cloud-bigquery-logging · github3.py