A wrapper for simplified BigQuery using google.cloud
Project description
A wrapper on the bigquery libraries for simple access
Google install
''' pip install google pip install google-api-python-client pip install --upgrade google-api-python-client pip3 install --upgrade oauth2client
pip install --upgrade google-cloud pip install --upgrade google-cloud-bigquery
gcloud auth application-default login
gcloud init '''
Install with pip
pip install bigquerydave
import to your python script
from bigquerydave_package.bigquerydave import gcp
from bigquerydave_package.bigquerydave import bq
try methods
gcp().list_gcp_projects()
bq().list_bq_datasets()
bq().list_bq_tables('watchful-lotus-364517.dave')
bq().estimate_query('SELECT CURRENT_TIMESTAMP')
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
bigquerydave_package-1.0.1.tar.gz
(147.6 kB
view hashes)
Built Distribution
Close
Hashes for bigquerydave_package-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8789ac6c09e292ed239c441998b474adf0a6d14e387fd95cd86e614cc1ca1cd4 |
|
MD5 | 77939a8a7900338be62be85524791853 |
|
BLAKE2b-256 | f84f8b4f4148a0fceac6fb78451885f8ae292c321c3f22ef6deccf1dff4c9b2f |
Close
Hashes for bigquerydave_package-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b9215719399b5648a741bd17e8cb2b67c2320b5697b8db2e411e9bc30cb6484 |
|
MD5 | c18eb2fbebaa85e71e030ce4624d80fe |
|
BLAKE2b-256 | d92c3f22d8274b5fe58b1eadef6df351c0249d141e013e4c07c2f61f9ef3c53c |