Skip to main content

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.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

bqgcs-0.1.5-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bqgcs-0.1.5.tar.gz.

File metadata

  • Download URL: bqgcs-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bqgcs-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ad2a923a00b1883ab02ea4bbc67a3641738840effa59926152a1bde47c9390da
MD5 edf59b37fdf4f43a1841c0a11a11a0ee
BLAKE2b-256 416789a8400f285efaa0749fad9ae6f2edb797eb67de84a101eb70e725347fc3

See more details on using hashes here.

File details

Details for the file bqgcs-0.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for bqgcs-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d85cde0f9882454ea95a6dee02dcb9e0daeed8862384ccd221606b85b8683c6
MD5 3a0cf70561199e9e548e397f34df7e06
BLAKE2b-256 2abefd5674f826a28e05416f17ae6cd2dcb17ca49a86477e21bac63db44b8a1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page