Skip to main content

Google Authentication Library

Project description

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.8

NOTE: Python 3.8 and Python 3.9 were marked as unsupported by the python community in October 2024 and October 2025, respectively. We recommend that all developers upgrade to Python 3.10 and newer as soon as they can. Support for end-of-life Python runtimes will be removed from this library in future updates. Previous releases that support end-of-life Python versions will continue to be available for download, but future releases will only target supported versions.

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.

  • Python 3.7: The last version of this library with support for Python 3.7 was google.auth == 2.45.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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_auth-2.50.0.tar.gz (336.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_auth-2.50.0-py3-none-any.whl (246.5 kB view details)

Uploaded Python 3

File details

Details for the file google_auth-2.50.0.tar.gz.

File metadata

  • Download URL: google_auth-2.50.0.tar.gz
  • Upload date:
  • Size: 336.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for google_auth-2.50.0.tar.gz
Algorithm Hash digest
SHA256 f35eafb191195328e8ce10a7883970877e7aeb49c2bfaa54aa0e394316d353d0
MD5 7d13b70e676451f6066624ffc2df0242
BLAKE2b-256 5f18238d7021d151bdab868f23433817b027dd759135202f4dfce0670d1230ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_auth-2.50.0.tar.gz:

Publisher: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
  • Statement: Publication detail:
    • Token Issuer: https://accounts.google.com
    • Service Account: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

File details

Details for the file google_auth-2.50.0-py3-none-any.whl.

File metadata

  • Download URL: google_auth-2.50.0-py3-none-any.whl
  • Upload date:
  • Size: 246.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for google_auth-2.50.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04382175e28b94f49694977f0a792688b59a668def1499e9d8de996dc9ce5b15
MD5 0e65d16024e7b83ca60a95e696ec6d5d
BLAKE2b-256 37cf4880c2137c14280b2f59975cdf12cc442bc0ae1f9ea473a26eaa0c146786

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_auth-2.50.0-py3-none-any.whl:

Publisher: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
  • Statement: Publication detail:
    • Token Issuer: https://accounts.google.com
    • Service Account: google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page