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.
Metadata
Release files for pydata-google-auth 1.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydata-google-auth-1.9.1.tar.gz | 29.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydata_google_auth-1.9.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 45.4 kB
Release files / pydata-google-auth-1.9.1.tar.gz
| Download URL | pydata-google-auth-1.9.1.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a51ce41c601ca0bc69b8795bf58bedff74b4a6a007c9106c7cbcdec00eaced2
|
|
BLAKE2b-256 checksum How to use checksums |
3f0d455cb39f0d5a914412b57c55c6b16977c61a5ac74b615eea4fb0dc54e329
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Release files / pydata_google_auth-1.9.1-py2.py3-none-any.whl
| Download URL | pydata_google_auth-1.9.1-py2.py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
75ffce5d106e34b717b31844c1639ea505b7d9550dc23b96fb6c20d086b53fa3
|
|
BLAKE2b-256 checksum How to use checksums |
cacbcdeaba62aa3c48f0d8834afb82b4a21463cd83df34fe01f9daa89a08ec6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|