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.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for bqgcs-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cbc4487e3441d2d9efe5160f61581f608e3bea5385a7f41a60fe88032cb4e0 |
|
MD5 | ce72a3581ecfdbe25a1af1654441d724 |
|
BLAKE2b-256 | b282a906ac6d1dc5b6c610be4625cfb187112293179c2b92ae611efa7fa3f330 |