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.

Source Distribution

easybq-0.3.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file easybq-0.3.0.tar.gz.

File metadata

  • Download URL: easybq-0.3.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for easybq-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cf740a76b84d9b87702a7077d2e63d672f8487f1c90d3cff11d4fec22600c78f
MD5 bbb6f7370444d70fecd0f2eed1797b78
BLAKE2b-256 9abce3cfb907ea362c44cb541d570a612a0ae48eb3bbcf73e0d6027171a0055d

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page