PyData helpers for authenticating to Google APIs
Project Links
Meta
Author: The PyData Development Team
Requires Python: >=3.9
Classifiers
Development Status
- 5 - Production/Stable
Environment
- Console
Intended Audience
- Science/Research
Operating System
- OS Independent
Programming Language
- Python
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
Topic
- Scientific/Engineering
License
- OSI Approved :: BSD License
pydata-google-auth is a package providing helpers for authenticating to Google APIs.
Installation
Install latest release version via conda
$ conda install pydata-google-auth --channel conda-forge
Install latest release version via pip
$ pip install pydata-google-auth
Install latest development version
$ pip install git+https://github.com/pydata/pydata-google-auth.git
Usage
Use the pydata_google_auth.get_user_credentials() function to authenticate to Google APIs with user credentials.
import pydata_google_auth
credentials = pydata_google_auth.get_user_credentials(
['https://www.googleapis.com/auth/cloud-platform'],
)
# Use the credentials in other libraries, such as the Google BigQuery
# client library.
from google.cloud import bigquery
client = bigquery.Client(project='YOUR-PROJECT-ID', credentials=credentials)
See the pydata-google-auth documentation for more details.
1.9.1
Jan 23, 2025
1.9.0
Nov 21, 2024
1.8.2
Aug 01, 2023
1.8.1
Jul 10, 2023
1.8.0
May 09, 2023
1.7.0
Feb 07, 2023
1.6.0
Jan 25, 2023
1.5.0
Jan 09, 2023
1.4.0
Mar 14, 2022
1.3.0
Dec 03, 2021
1.2.0
Apr 21, 2021
1.1.0
Apr 23, 2020
1.0.0
Apr 20, 2020
0.3.0
Feb 04, 2020
0.2.1
Dec 12, 2019
0.2.0
Dec 12, 2019
0.1.3
Feb 26, 2019
0.1.2
Feb 01, 2019
0.1.1
Oct 26, 2018
0.1.0
Oct 23, 2018