Skip to main content

Google Cloud Storage Connector for Google BigQuery

Project description

| Google Cloud Storage Connector for Google BigQuery.

Getting Started
.. code:: bash

pip install bqgcs

How to Use
.. code:: python

import bqgcs
from import bigquery, storage

gcs = storage.Client()
blob = gcs.bucket("<<bucket_name>>").blob("<<blob_name>>")
bqgcs.query_to_gcs("SELECT * FROM 'project.dataset.table'", blob)

bq = bigquery.Client()
table = bq.dataset("<<dataset>>").table("<<table>>")
bqgcs.gcs_to_bq(blob, table)


Download files

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

Source Distribution

bqgcs-0.1.5.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

bqgcs-0.1.5-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page