Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orisano/bqgcs
https://github.com/orisano/bqgcs
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/orisano/bqgcs
- Owner: orisano
- License: mit
- Created: 2018-01-21T10:10:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-25T22:38:27.000Z (over 1 year ago)
- Last Synced: 2024-10-04T17:51:08.528Z (about 1 month ago)
- Language: Python
- Size: 75.2 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
BQGCS
===================================
| Google Cloud Storage Connector for Google BigQuery.Getting Started
----------------
.. code:: bashpip install bqgcs
How to Use
-----------
.. code:: pythonimport bqgcs
from google.cloud import bigquery, storagegcs = storage.Client()
blob = gcs.bucket("<>").blob("<>")
bqgcs.query_to_gcs("SELECT * FROM 'project.dataset.table'", blob)bq = bigquery.Client()
table = bq.dataset("<>").table("<>")
bqgcs.gcs_to_bq(blob, table)Author
-------
Nao Yonashiro (@orisano)License
--------
MIT