Skip to main content

PyData helpers for authenticating to Google APIs

Project description

Build Status Version Status Coverage Status

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


Download files

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

Files for pydata-google-auth, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pydata_google_auth-1.1.0-py2.py3-none-any.whl (13.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pydata-google-auth-1.1.0.tar.gz (26.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page