Skip to main content

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


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.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

csv2bq-0.1.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

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