{"id":15222447,"url":"https://github.com/wayfair-incubator/gbq","last_synced_at":"2026-02-03T11:33:48.380Z","repository":{"id":37824396,"uuid":"329311091","full_name":"wayfair-incubator/gbq","owner":"wayfair-incubator","description":"Python wrapper for interacting with Google BigQuery.","archived":false,"fork":false,"pushed_at":"2026-01-23T00:44:35.000Z","size":4728,"stargazers_count":6,"open_issues_count":11,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-01-23T17:45:16.690Z","etag":null,"topics":["bigquery","gbq","google","google-bigquery","google-cloud-platform","hacktoberfest","python"],"latest_commit_sha":null,"homepage":"https://wayfair-incubator.github.io/gbq/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wayfair-incubator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-13T13:06:26.000Z","updated_at":"2025-12-08T15:40:01.000Z","dependencies_parsed_at":"2023-02-18T22:40:22.214Z","dependency_job_id":"71143d84-b92f-4595-ac6e-58b069f5aede","html_url":"https://github.com/wayfair-incubator/gbq","commit_stats":{"total_commits":399,"total_committers":5,"mean_commits":79.8,"dds":"0.31829573934837097","last_synced_commit":"702ee12515cba776789d4f61883d9f68952be06d"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/wayfair-incubator/gbq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2Fgbq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2Fgbq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2Fgbq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2Fgbq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wayfair-incubator","download_url":"https://codeload.github.com/wayfair-incubator/gbq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayfair-incubator%2Fgbq/sbom","scorecard":{"id":113758,"data":{"date":"2025-07-07","repo":{"name":"github.com/wayfair-incubator/gbq","commit":"fc8954fc19150ddc924ae1b0f4b0eb774234379b"},"scorecard":{"version":"v5.2.1-18-gbb9c347d","commit":"bb9c347dff6349d986baab6578a46d68a5524c62"},"score":4.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#maintained"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#security-policy"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":0,"reason":"dangerous workflow patterns detected","details":["Warn: script injection with untrusted input ' github.head_ref ': .github/workflows/detect_version_bump.yml:21"],"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/detect_version_bump.yml:1","Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/publish_release.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: containerImage not pinned by hash: docker/devbox.dockerfile:1: pin your Docker image by updating python:3.12-bookworm to python:3.12-bookworm@sha256:77a36ff63e657d8ec7cd4e86e452f4cd23b6c92811696b0735226fbc0660a5b8","Warn: pipCommand not pinned by hash: docker/devbox.dockerfile:24","Warn: pipCommand not pinned by hash: .github/actions/build-dist/action.sh:4","Warn: pipCommand not pinned by hash: .github/actions/build-dist/action.sh:6","Warn: pipCommand not pinned by hash: .github/actions/install-dependencies/action.sh:4","Warn: pipCommand not pinned by hash: .github/actions/install-dependencies/action.sh:8","Warn: pipCommand not pinned by hash: .github/actions/install-dependencies/action.sh:13","Warn: pipCommand not pinned by hash: .github/actions/install-dependencies/action.sh:18","Warn: pipCommand not pinned by hash: .github/actions/verify-wheel/action.sh:7","Warn: pipCommand not pinned by hash: .github/actions/verify-wheel/action.sh:15","Warn: pipCommand not pinned by hash: docker/lock_requirements.sh:4","Info:  28 out of  28 GitHub-owned GitHubAction dependencies pinned","Info:   4 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of  10 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish_release.yml:52"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T20:34:30.957Z","repository_id":37824396,"created_at":"2025-08-15T20:34:30.957Z","updated_at":"2025-08-15T20:34:30.957Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29044349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bigquery","gbq","google","google-bigquery","google-cloud-platform","hacktoberfest","python"],"created_at":"2024-09-28T15:12:03.048Z","updated_at":"2026-02-03T11:33:48.375Z","avatar_url":"https://github.com/wayfair-incubator.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI pipeline status](https://github.com/wayfair-incubator/gbq/workflows/CI/badge.svg?branch=main)][ci]\n[![PyPI](https://img.shields.io/pypi/v/gbq)][pypi]\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gbq)][pypi]\n[![codecov](https://codecov.io/gh/wayfair-incubator/gbq/branch/main/graph/badge.svg)][codecov]\n[![Checked with mypy](https://img.shields.io/badge/mypy-checked-blue)][mypy-home]\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)][ruff-home]\n\n\n# GBQ\n\nPython wrapper for interacting Google BigQuery.\n\nThis 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.\n\n## Usage\n\n### Basic Usage\n\n```python\nfrom gbq import BigQuery\n\n# BigQuery project id as listed in the Google Developers Console.\nproject_id = 'project_id'\n\n# BigQuery dataset id as listed in the Google Developers Console.\ndataset_id = 'dataset_id'\n\n# BigQuery table/view id as listed in the Google Developers Console.\nstructure_id = 'structure_id'\n\n# BigQuery structure definition as defined in the Google Developers Console.\njson_schema = {\"type\": \"table\", \"schema\": [{\"id\": \"integer\"}]}\n\n# Service account email address as listed in the Google Developers Console.\nsvc_account = '{\"type\": \"service_account\",   \"project_id\": \"project_id\"}'\n\nbq = BigQuery(svc_account=svc_account, project=project_id)\n\nbq.create_or_update_structure(project_id, dataset_id, structure_id, json_schema)\n```\n\n## Documentation\n\nCheck out the [project documentation](https://wayfair-incubator.github.io/gbq/)\n\n[ci]: https://github.com/wayfair-incubator/gbq/actions\n[codecov]: https://codecov.io/gh/wayfair-incubator/gbq\n[mypy-home]: http://mypy-lang.org/\n[ruff-home]: https://github.com/astral-sh/ruff\n[install-docker]: https://docs.docker.com/install/\n[pdbpp-home]: https://github.com/pdbpp/pdbpp\n[pdb-docs]: https://docs.python.org/3/library/pdb.html\n[pdbpp-docs]: https://github.com/pdbpp/pdbpp#usage\n[pytest-docs]: https://docs.pytest.org/en/latest/\n[mypy-docs]: https://mypy.readthedocs.io/en/stable/\n[ruff-docs]: https://docs.astral.sh/ruff/\n[bandit-docs]: https://bandit.readthedocs.io/en/stable/\n[sem-ver]: https://semver.org/\n[pypi]: https://semver.org/\n[gbq-docs]: https://wayfair-incubator.github.io/gbq/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayfair-incubator%2Fgbq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwayfair-incubator%2Fgbq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayfair-incubator%2Fgbq/lists"}