Code Monkey home page Code Monkey logo

gbq's Introduction

CI pipeline status PyPI PyPI - Python Version codecov Checked with mypy Code style: black

GBQ

Python wrapper for interacting Google BigQuery.

This package provides an interface by wrapping Google's low level library. It exposes options to provide input as json objects which can be used for various CI/CD tools.

Usage

Basic Usage

from gbq import BigQuery

# BigQuery project id as listed in the Google Developers Console.
project_id = 'project_id'

# BigQuery dataset id as listed in the Google Developers Console.
dataset_id = 'dataset_id'

# BigQuery table/view id as listed in the Google Developers Console.
structure_id = 'structure_id'

# BigQuery structure definition as defined in the Google Developers Console.
json_schema = {"type": "table", "schema": [{"id": "integer"}]}

# Service account email address as listed in the Google Developers Console.
svc_account = '{"type": "service_account",   "project_id": "project_id"}'

bq = BigQuery(svc_account=svc_account, project=project_id)

bq.create_or_update_structure(project_id, dataset_id, structure_id, json_schema)

Documentation

Check out the project documentation

gbq's People

Contributors

dependabot[bot] avatar jashparekh avatar natalisucks avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gopinath678

gbq's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency bandit to v1.7.8
  • Update dependency hyper-bump-it to v0.5.3
  • Update dependency mkdocs-material to v9.5.24
  • Update pypa/gh-action-pypi-publish action to v1.8.14
  • Update actions/setup-python action to v5.1.0
  • Update codecov/codecov-action action to v4.4.1
  • Update dependency mike to v2.1.1
  • Update dependency mkdocs to v1.6.0
  • Update dependency mkdocstrings to v0.25.1
  • Update dependency mypy to v1.10.0
  • Update dependency pytest-mock to v3.14.0
  • Update dependency flake8 to v7
  • Update dependency pytest to v8
  • Update dependency pytest-cov to v5
  • Update dependency setuptools to v70
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
docker-compose.yml
github-actions
.github/workflows/detect_version_bump.yml
  • ncipollo/release-action v1.14.0@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
.github/workflows/main.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • jashparekh/mypy-action v3@a4eb0d0a6f3dca7c6f03d7723f0f1cf12091fa19
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/upload-artifact v4@5d5d22a31266ced268874388b861e4b58bb5c2f3
  • actions/upload-artifact v4@5d5d22a31266ced268874388b861e4b58bb5c2f3
  • codecov/codecov-action v4.0.1@e0b68c6749509c5f83f984dd99a76a1c1a231044
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/upload-artifact v4@5d5d22a31266ced268874388b861e4b58bb5c2f3
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
.github/workflows/publish_release.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5.0.0@0a5c61591373683505ea898e09a3ea4f39ef2b9c
  • actions/upload-artifact v4.3.1@5d5d22a31266ced268874388b861e4b58bb5c2f3
  • actions/download-artifact v4.1.2@eaceaf801fd36c7dee90939fad912460b18a1ffe
  • pypa/gh-action-pypi-publish v1.8.11@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
.github/workflows/stale.yml
  • actions/stale v9@28ca1036281a5e5922ead5184a1bbf96e5fc984e
pip_requirements
requirements-docs.txt
  • mike ==2.0.0
  • setuptools ==68.2.2
  • markdown-include ==0.8.1
  • mkdocs ==1.5.3
  • mkdocs-material ==9.5.10
  • mkdocs-minify-plugin ==0.8.0
  • mkdocs-redirects ==1.2.1
  • mkdocstrings ==0.24.0
requirements-test.txt
  • autoflake ==2.3.0
  • bandit ==1.7.7
  • black ==23.12.1
  • flake8 ==6.1.0
  • isort ==5.13.2
  • hyper-bump-it ==0.5.2
  • livereload ==2.6.3
  • mypy ==1.8.0
  • pytest ==7.4.4
  • pytest-cov ==4.1.0
  • pytest-mock ==3.12.0
  • pdbpp ==0.10.3
requirements.txt
  • dataclasses ==0.6
  • click ==8.1.7
  • pydantic ==2.4.2
  • google-api-core ==2.12.0
  • google-auth ==2.23.3
  • google-cloud-bigquery ==3.12.0
  • google-cloud-core ==2.3.3
  • google-crc32c ==1.5.0
  • google-resumable-media ==2.6.0
  • googleapis-common-protos ==1.60.0

  • Check this box to trigger a request for Renovate to run again on this repository

Consider moving tool configuration into pyproject.toml

Many (all?) of the development tools used in the project support reading their configuration settings from pyproject.toml. Look into see if this can be cleaned up and reduce the number of settings files at the root of the repository

Add 3.10 support

  • Add 3.10 to the set of python versions the code base is tested against in CI.
  • Update the package classifiers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.