google-auth-stubs
Type stubs for google-auth
Decision gist · record as of 2026-08-14
Yes, if you use google-auth and want static type checking. Install it as a dev dependency alongside google-auth. The low friction and permissive license make it a safe addition. However, dormant maintenance means stubs may not cover the latest google-auth features—verify coverage for your specific use case before relying on it in strict type-checking workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel.
- Maintenance is dormant—last release was 718 days ago—but the repository remains active and the package supports current Python versions.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2024-08-26 (718 days) · last repo commit 2024-08-26 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,077,495 downloads/mo, #4,403 on PyPI
Alternatives
Verify before relying
pip install google-auth-stubs
Then in your Python code with google-auth:
import google.auth
credentials, project = google.auth.default()- Whether stubs are kept in sync with google-auth releases and cover the full API surface
- Whether stubgen-generated stubs are sufficiently complete for complex authentication workflows
What it is and what it does
google-auth-stubs is a type stub package that adds static type information to the google-auth library. Type stubs are metadata files that tell type checkers like mypy what types and signatures exist in a package, enabling IDE autocompletion and catching type errors at development time. The stubs were generated automatically using stubgen and depend on google-auth, types-requests, and grpc-stubs.
You install this package alongside google-auth in development or testing environments where you want type checking. It does not change runtime behavior—it only provides type information to tools. Since the stubs are auto-generated and the project is dormant, there is a risk that they may lag behind google-auth releases or miss edge cases in the actual API.
Use it for
- Enable mypy or pyright type checking in a project that uses google-auth for authentication
- Get IDE autocompletion and inline type hints when writing code that calls google-auth functions
- Catch type mismatches in authentication setup before runtime in CI/CD type-checking steps
- Support typed Python codebases that depend on google-auth without losing type safety
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use google-auth and want static type checking.
Install it as a dev dependency alongside google-auth. The low friction and permissive license make it a safe addition. However, dormant maintenance means stubs may not cover the latest google-auth features—verify coverage for your specific use case before relying on it in strict type-checking workflows.
Install
google-auth-stubs on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 718 days ago—but the repository remains active and the package supports current Python versions.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install google-auth-stubs
Then in your Python code with google-auth:
import google.auth
credentials, project = google.auth.default()
Verify before relying
- Whether stubs are kept in sync with google-auth releases and cover the full API surface
- Whether stubgen-generated stubs are sufficiently complete for complex authentication workflows
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0.0,>=3.6.2 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesgoogle-authtypes-requestsgrpc-stubs |
| Maintenance | Dormant 718 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,077,495 / month, #4,403 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed |
Evidence: google_auth_stubs-0.3.0-py3-none-any.whl
Tags
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-auth”
- google-auth-stubsProvides type stubs for the google-auth package, enabling static type…
- google-auth-oauthlib-stubsProvides type stubs for google-auth-oauthlib to enable static type…
- types-assertpyProvides type stubs enabling static type checkers like mypy and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also google-api-python-client-stubs · google-auth-oauthlib-stubs · googleapis-common-protos-stubs · django-stubs · pyspark-stubs · google-re2-stubs · homeassistant-stubs · ob-metaflow-stubs · motor-types · celery-types