skillfed

google-auth

Google Authentication Library

google-auth Permissive license Apache 2.0 Active 5,370 v2.56.3 released

Install

google-auth on PyPI

pip

pip install google-auth

uv

uv add google-auth

poetry

poetry add google-auth

Package facts

License Apache 2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pyasn1-modules, cryptography
Maintenance actively maintained — 7 days since the last release
Last repo commit
First released
Popularity one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: google_auth-2.56.3-py3-none-any.whl

Keywords: google, auth, oauth, client

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTP

About google-auth

from the package's own PyPI description — quoted content, verbatim

Google Auth Python Library

|pypi|

This library simplifies using Google's various server-to-server authentication mechanisms to access Google APIs.

.. |pypi| image:: https://img.shields.io/pypi/v/google-auth.svg :target: https://pypi.python.org/pypi/google-auth

Installing

You can install using pip_::

$ pip install google-auth

.. _pip: https://pip.pypa.io/en/stable/

For more information on setting up your Python development environment, please refer to Python Development Environment Setup Guide_ for Google Cloud Platform.

.. _Python Development Environment Setup Guide: https://cloud.google.com/python/docs/setup

Extras

google-auth has few extras that you can install. For example::

$ pip install google-auth[pyopenssl]

Note that the extras pyopenssl and enterprise_cert should not be used together because they use conflicting versions of cryptography_.

.. _cryptography: https://cryptography.io/en/latest/

Supported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^ Python >= 3.10

Documentation

Google Auth Python Library has usage and reference documentation at...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Handles Google server-to-server authentication for accessing Google APIs, supporting OAuth and other credential mechanisms across multiple Python versions.

Low friction: pure-Python wheel, only two runtime dependencies (pyasn1-modules and cryptography), and actively maintained with a release 7 days ago. Supports Python 3.10–3.14.

Apache 2.0 permissive license allows commercial and private use with minimal restrictions; you must retain license notices and may not hold the authors liable.

Usage

pip install google-auth

from google.auth import default
credentials, project = default()

Requires Python >= 3.10; cryptography and pyasn1-modules must be installed (handled by pip).

Verdict: Production-ready authentication library maintained by Google with no known vulnerabilities, low install friction, and broad Python version support. Top-100 PyPI package suitable for any application needing Google API access.

Needs verification

  • Whether the optional extras (pyopenssl, enterprise_cert) are commonly needed or if base installation suffices for most use cases.
  • Performance characteristics or latency impact when used in high-throughput server scenarios.
google api authenticationoauth server to servergoogle credentials pythonservice account authgoogle cloud python authjwt token generationgoogle api client auth

Similar packages