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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gcp_python_client_functions-0.0.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file gcp-python-client-functions-0.0.1.tar.gz.

File metadata

File hashes

Hashes for gcp-python-client-functions-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d437a6e00af8d073f2822011bed9582461ec9302f00c43cb43e1172d48b9d63b
MD5 253070e554981e2186aeacff8e85c5d9
BLAKE2b-256 bfaf9b4ce83f85009dc4fd020e03d7a54929add9cd5176e1d73e8b8949932080

See more details on using hashes here.

File details

Details for the file gcp_python_client_functions-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gcp_python_client_functions-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e2f387f79b1ebb37354c9fa22a495cd8b5015395a1e3749ef208fa0ee055fd
MD5 c71a8e1556f2a6d10ff1c9f731e6b2f9
BLAKE2b-256 0056d6a21ad98843a27cbae583fa7932bf55f742b8ad3826356ef65f9025e52d

See more details on using hashes here.

Supported by

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