PyData helpers for authenticating to Google APIs
Project description
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.
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
pydata-google-auth-1.9.1.tar.gz
(29.8 kB
view details)
Built Distribution
File details
Details for the file pydata-google-auth-1.9.1.tar.gz
.
File metadata
- Download URL: pydata-google-auth-1.9.1.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0a51ce41c601ca0bc69b8795bf58bedff74b4a6a007c9106c7cbcdec00eaced2
|
|
MD5 |
942d756dccd4d0f02d66c298f2b1d976
|
|
BLAKE2b-256 |
3f0d455cb39f0d5a914412b57c55c6b16977c61a5ac74b615eea4fb0dc54e329
|
File details
Details for the file pydata_google_auth-1.9.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pydata_google_auth-1.9.1-py2.py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
75ffce5d106e34b717b31844c1639ea505b7d9550dc23b96fb6c20d086b53fa3
|
|
MD5 |
836ea37fddd14b0e2f65bd38754e8646
|
|
BLAKE2b-256 |
cacbcdeaba62aa3c48f0d8834afb82b4a21463cd83df34fe01f9daa89a08ec6c
|