Google Cloud Storage Connector for Google BigQuery
Project description
BQGCS
===================================
| Google Cloud Storage Connector for Google BigQuery.
Getting Started
--------
.. code:: bash
pip install bqgcs
How to Use
--------
.. code:: python
import bqgcs
from google.cloud 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)
License
--------
MIT
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
bqgcs-0.0.1.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for bqgcs-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2339681a4f9cbc8961bc038a8751034bc194737fb2958dfb87bfe7b003edde8f |
|
MD5 | 4b3ce5f3d360383ccfeaf7aa5d53646b |
|
BLAKE2b-256 | 6404bd7712d9216a220707fc4051027e6053c77405aadaa52ab094558650509e |