Skip to content

Export query data from google bigquery to local machine

Notifications You must be signed in to change notification settings

IcarusSO/bigQueryExporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bigQueryExporter

Export query data from google bigquery to local machine

Installation

pip install bigQueryExporter
pip3 install bigQueryExporter

For Mac python 2.7
pip install bigQueryExporter --ignore-installed six

Example

from bigQueryExport import BigQueryExporter
bigQueryExporter = BigQueryExporter(project_name, dataset_name, bucket_name)
bigQueryExporter = query_to_local(query, job_name, '../data')

Requirement

  • Your server/ local machine should have the right to access the project

  • Right should be granted following the insturction on Google SDK

  • Execute the following command

    gcloud auth application-default login

About

Export query data from google bigquery to local machine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages