--- id: google-auth-oauthlib-stubs version: "1.2.0" license: MIT license_treatment: permissive maintenance: aging --- # google-auth-oauthlib-stubs — Type stubs for google-auth-oauthlib License: permissive · Maintenance: aging · Downloads: 84.8K/mo ## What it is and what it does This package provides type stub files (.pyi) for the google-auth-oauthlib library, enabling static type checkers like mypy to understand the types and signatures of Google's OAuth authentication library. Type stubs are metadata-only files that describe the public interface of a library without containing runtime code, allowing developers to catch type errors during development rather than at runtime. The stubs are designed for developers using google-auth-oauthlib who want full type safety in their authentication flows. They work alongside the actual google-auth-oauthlib package (which must be installed separately) and the related google-auth-stubs and requests-oauthlib packages. Since the package was released on 2025-06-20 and has not been updated since, it represents a point-in-time snapshot of the API; whether it remains synchronized with the underlying library's evolution is unclear. Use it for: - Add type checking to a FastAPI or Flask app that authenticates users via Google OAuth. - Catch type errors in custom OAuth flow implementations before deployment. - Enable IDE autocompletion and type hints for google-auth-oauthlib in a typed codebase. - Enforce type safety in a team project that uses mypy or similar type checkers. - Integrate google-auth-oauthlib into a Pydantic or dataclass-based configuration system with full type support. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type stubs for google-auth-oauthlib to enable static type checking in Python code that uses Google OAuth authentication. Yes, if you use google-auth-oauthlib and require type checking. The low install friction, permissive MIT license, and lack of known vulnerabilities make it safe to add. However, the aging maintenance status (no updates since 2025-06-20, minimal community engagement) means you should verify that the stubs match your version of google-auth-oauthlib and be prepared to maintain a fork or find alternatives if the stubs fall out of sync. ## Install pip install google-auth-oauthlib-stubs uv add google-auth-oauthlib-stubs poetry add google-auth-oauthlib-stubs ## Installing google-auth-oauthlib-stubs Before you install: Low install friction with a pure-Python wheel. Maintenance status is aging—the package was first released on 2025-06-20 and has not been updated since, with minimal community engagement (1 star). Suitable for type checking but expect limited ongoing support. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making this safe to use in most projects without licensing concerns. Quickstart: pip install google-auth-oauthlib-stubs import google_auth_oauthlib.flow # Type checker now understands google_auth_oauthlib types Requires Python 3.12 or later; intended for use with a type checker like mypy, not for runtime behavior. Verify before relying: - Whether these stubs cover the full API surface of google-auth-oauthlib or only a subset. - Whether the stubs are actively maintained alongside google-auth-oauthlib releases. - Community adoption and feedback on stub accuracy and completeness. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 84.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs google auth, google-auth-oauthlib typing, type hints oauth google, static type checking oauth, google auth type annotations, mypy google oauth, pyi stubs authentication, type-stubs, oauth, google-auth [View on SkillFed](https://skillfed.io/packages/google-auth-oauthlib-stubs) · [View on PyPI](https://pypi.org/project/google-auth-oauthlib-stubs/)