Metadata-Version: 2.0
Name: bqgcs
Version: 0.1.5
Summary: Google Cloud Storage Connector for Google BigQuery
Home-page: https://github.com/orisano/bqgcs
Author: Nao YONASHIRO
Author-email: owan.orisano@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Dist: six
Requires-Dist: google-cloud-bigquery


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


