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.1.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for bqgcs-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2927e66d42f041a4d22bacaa9214c89b4140002b0cb0a8f42cf352633df25feb |
|
MD5 | c428c51f6973dc7502014a000e418dcb |
|
BLAKE2b-256 | e04fabc908775f06ba7716f6eb50e714a5afeb4ed54da7508a8013006f83eb27 |