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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page