Skip to main content

BigQuery Wrapper

Project description

easybq | Easy BigQuery

Install

pip install easybq

If you upload file via gcs, you may install such as

pip insrtall easybq[gcs]

Usage

import easybq

dataset = 'sample_dataset'
table = 'sample_table'
csvfile = 'sample.csv'

bq = easybq.Client()

schema = bq.get_schema(dataset, table)
bq.upload_csv(filename=csvfile, 
              dataset=dataset, table=table, schema=schema)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for easybq, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size easybq-0.3.0.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page