Skip to content

googleapis/google-auth-library-python

Folders and files

NameName
Last commit message
Last commit date
Oct 29, 2024
Mar 25, 2025
Jan 30, 2025
Mar 25, 2025
Nov 29, 2023
Apr 14, 2021
Mar 25, 2025
Dec 9, 2024
Mar 25, 2025
Jul 11, 2024
Oct 30, 2024
Oct 22, 2019
Jun 7, 2022
Jan 30, 2025
Dec 28, 2021
Jul 8, 2024
Jan 23, 2025
Jun 7, 2018
Jul 12, 2024
Oct 4, 2016
Oct 21, 2016
Jun 27, 2024
Nov 30, 2023
May 12, 2021
Aug 23, 2023
Nov 29, 2023
Sep 17, 2024
Sep 2, 2022
Oct 25, 2019
Dec 9, 2024

Google Auth Python Library

pypi

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

Installing

You can install using pip:

$ pip install google-auth

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

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.

Supported Python Versions

Python >= 3.7

NOTE: Python 3.7 was marked as unsupported by the python community in June 2023. We recommend that all developers upgrade to Python 3.8 and newer as soon as they can. Support for Python 3.7 will be removed from this library after January 1 2024. Previous releases that support Python 3.7 will continue to be available for download, but releases after January 1 2024 will only target Python 3.8 and newer.

Unsupported Python Versions

  • Python == 2.7: The last version of this library with support for Python 2.7 was google.auth == 1.34.0.
  • Python 3.5: The last version of this library with support for Python 3.5 was google.auth == 1.23.0.
  • Python 3.6: The last version of this library with support for Python 3.6 was google.auth == 2.22.0.

Documentation

Google Auth Python Library has usage and reference documentation at https://googleapis.dev/python/google-auth/latest/index.html.

Current Maintainers

Authors

Contributing

Contributions to this library are always welcome and highly encouraged.

See CONTRIBUTING.rst for more information on how to get started.

License

Apache 2.0 - See the LICENSE for more information.