$npx skillfedfor your agent

google-api-python-client-stubs

Type stubs for google-api-python-client

With conditionsPyPI Software DevelopmentReleased Jul 20264.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — google_api_python_client_stubs-1.39.0-py3-none-any.whl
v1.39.0 · released 2026-07-11 · Python >=3.7 · 3 runtime deps: google-api-python-client, types-httplib2, typing-extensions

Yes, if you use google-api-python-client and want static type checking or better IDE support. Install it alongside google-api-python-client; it has low friction and no runtime overhead. Be aware that explicit type annotations require TYPE_CHECKING blocks or string annotations to avoid crashes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7+.
  • Types are stub-only and cannot be imported at runtime; use TYPE_CHECKING blocks or string annotations for explicit type annotations.
  • Low install friction; pure stub package with minimal dependencies (google-api-python-client, types-httplib2, typing-extensions).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows broad use, modification, and distribution with minimal restrictions.

last release 2026-07-11 (34 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,367,935 downloads/mo, #2,318 on PyPI

Verify before relying

pip install google-api-python-client-stubs

# In your code with type checking enabled:
from __future__ import annotations
from google-api-python-client import discovery

service = discovery.build('sheets', 'v4', credentials=creds)
  • Whether stub completeness and accuracy match current google-api-python-client API surface
  • Performance impact of type inference on large codebases using many Google API services
  • Frequency of stub updates relative to google-api-python-client release cycle
Same gist for agents: .md · .json

What it is and what it does

This package provides type stubs for google-api-python-client, the official Python library for accessing Google APIs. It bridges the gap between the library's dynamic nature—where resources and methods are attached at runtime—and static type checkers, enabling both type checking and improved editor autocomplete.

The stubs are generated automatically from Google's Discovery Documents and cover all API services and versions. Because the underlying library is highly dynamic (resources are instances of a single class with dynamically attached methods, and requests/responses are dictionaries), the stubs define TypedDicts and classes that exist only in the stub files, not in the runtime library. This means explicit type annotations must use TYPE_CHECKING guards or string annotations to avoid runtime crashes.

Use it for

  • Enable type checkers to validate code using google-api-python-client without runtime errors.
  • Get IDE autocomplete and inline documentation for API methods and parameters.
  • Explicitly annotate function arguments and return types when working with Google APIs.
  • Catch API usage errors at development time rather than at runtime.
  • Improve code maintainability in projects that integrate multiple Google services.

Worth the install?

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

With conditions

Yes, if you use google-api-python-client and want static type checking or better IDE support.

Install it alongside google-api-python-client; it has low friction and no runtime overhead. Be aware that explicit type annotations require TYPE_CHECKING blocks or string annotations to avoid crashes.

Install

google-api-python-client-stubs on PyPI

Before you install

Low install friction; pure stub package with minimal dependencies (google-api-python-client, types-httplib2, typing-extensions). Actively maintained with recent release.

Requires Python 3.7+. Types are stub-only and cannot be imported at runtime; use TYPE_CHECKING blocks or string annotations for explicit type annotations.

License in practice

Apache-2.0 permissive license allows broad use, modification, and distribution with minimal restrictions.

Quickstart

pip install google-api-python-client-stubs

# In your code with type checking enabled:
from __future__ import annotations
from google-api-python-client import discovery

service = discovery.build('sheets', 'v4', credentials=creds)

Verify before relying

  • Whether stub completeness and accuracy match current google-api-python-client API surface
  • Performance impact of type inference on large codebases using many Google API services
  • Frequency of stub updates relative to google-api-python-client release cycle

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
google-api-python-clienttypes-httplib2typing-extensions
MaintenanceActively maintained 34 days since the last release
First released
Downloads4,367,935 / month, #2,318 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Typing :: Stubs Only

Evidence: google_api_python_client_stubs-1.39.0-py3-none-any.whl

Tags

Capabilities
type stubs google api clientmypy type checking google apisgoogle api python type hintsstatic type checking google clientgoogle api autocomplete editortype annotations google discoverygoogle api client typing support
Topics
type-stubsgoogle-apismypy

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 › “type stubs google api client”

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also google-auth-stubs · quantconnect-stubs · googleapis-common-protos-stubs · celery-types · django-stubs · pika-stubs · google-auth-oauthlib-stubs · msgpack-types · types-google-cloud-ndb · types-gdb