Skip to main content

One package that will handle the installation and client generation for the most used GCP Python Client Libraries + methods that avoid repetitive processes.

Project description

GCP Python Client Functions

Installation

Launch a terminal and install by entering:

conda install gcp_python_client_functions

…or

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)

Project details


Download files

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

Source Distribution

gcp-python-client-functions-0.0.1.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page