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.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for bqgcs-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5d8579c229b3e81c4b3db12d3261141e4fec8a28f20cd49598a6c067be1938 |
|
MD5 | 01c477db48d25ef92d256054ebfb8c20 |
|
BLAKE2b-256 | b0604104f80667c8ad9651784b59fd6eadecb4adf6bdf62429898251165d010c |