https://github.com/googleapis/google-auth-library-python
Google Auth Python Library
https://github.com/googleapis/google-auth-library-python
Last synced: about 1 month ago
JSON representation
Google Auth Python Library
- Host: GitHub
- URL: https://github.com/googleapis/google-auth-library-python
- Owner: googleapis
- License: apache-2.0
- Created: 2016-09-26T00:38:59.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-12-04T22:38:42.000Z (3 months ago)
- Last Synced: 2025-12-08T05:26:57.672Z (3 months ago)
- Language: Python
- Homepage: https://googleapis.dev/python/google-auth/latest/
- Size: 6.21 MB
- Stars: 860
- Watchers: 70
- Forks: 345
- Open Issues: 177
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- best-of-web-python - GitHub - 29% open · ⏱️ 05.11.2025): (Authorization & Authentication)
README
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.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: https://devguide.python.org/versions/#unsupported-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
-------------------
- googleapis-auth@google.com
Authors
-------
- `@theacodes `_ (Thea Flowers)
- `@dhermes `_ (Danny Hermes)
- `@lukesneeringer `_ (Luke Sneeringer)
- `@busunkim96 `_ (Bu Sun Kim)
Contributing
------------
Contributions to this library are always welcome and highly encouraged.
See `CONTRIBUTING.rst`_ for more information on how to get started.
.. _CONTRIBUTING.rst: https://github.com/googleapis/google-auth-library-python/blob/main/CONTRIBUTING.rst
License
-------
Apache 2.0 - See `the LICENSE`_ for more information.
.. _the LICENSE: https://github.com/googleapis/google-auth-library-python/blob/main/LICENSE