Skip to content

danielazamorah/gcp-python-client-functions

Repository files navigation

GCP Python Client Functions

Installation

Launch a terminal and install by entering:

pip install gcp_python_client_functions

Usage Prerequisites

1. GCP environment

2. Authentication

Authenticating by… - (locally) using the Google Cloud SDK(installation needed). Launch a terminal enter:

gcloud auth login --update-adc
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/keyfile.json"

How to use

from gcp_python_client_functions.clients import *

PROJECT_ID = 'dz-learning-d'

# BigQuery
bq_obj = BigQuery(PROJECT_ID)

# Cloud Storage
stg_obj = Storage(PROJECT_ID)

About

Python package that handles Google Cloud SDK installations and allows you to start using GCP services from Python right away.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors