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.4.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for bqgcs-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c006251c38c095ec5d6ff0e5a69cb9a41be22bb83bd709a529990d432ab15f |
|
MD5 | f25d3f5ec092d94bc6b0ce4b36b6498a |
|
BLAKE2b-256 | 3c6e2a171cf732d4155278aed9110eab4d604b02eb9e68b85aa6fb9878bf037f |