upload local csv file to bigquery
Project description
csv2bq
python package for uploading local csv files to google bigquery
Installation
$ pip install csv2bq
Prerequisites
Place your service account key file in ~/.config/gcloud/application_default_credentials.json
Usage
$ csv2bq sample.csv --project_id=sample --dataset_id=sample --table_id=sample
Options
Parameter | Description |
---|---|
project_id | project id (required) |
dataset_id | dataset id (required) |
table_id | table id (required) |
mode | append or overwrite (default: append) |
auto_create_table | auto create table (default: True) |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
csv2bq-0.1.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
csv2bq-0.1.1-py3-none-any.whl
(3.5 kB
view hashes)