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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file csv2bq-0.1.2.tar.gz.

File metadata

  • Download URL: csv2bq-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for csv2bq-0.1.2.tar.gz
Algorithm Hash digest
SHA256 caf7db6f6395d7b522cb11dd4b95a49ea201b45ec0b6217d5bb0f208d240cee2
MD5 3e9e501a13cc319e38f53d9ede7a24f6
BLAKE2b-256 acfc2752b1adc34dbcadcc2d0a88bdc5446de0562b2edee167a52af533f4b4e7

See more details on using hashes here.

File details

Details for the file csv2bq-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: csv2bq-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for csv2bq-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b66e8b7248fce4ff581a72787aa55b108afda8b23574c1abf74c71e21b6ee8a
MD5 c763088be18a3b50d1dccec8037311e3
BLAKE2b-256 76dd8d1e602d082ff1fe50e26506316406faa9431047eb0aa10eb6e7e0e619e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page