Skip to main content

BigQuery metadata

"Inspect BigQuery metadata faster"

  • Interactive CLI
  • Quick search through available projects, datasets, tables
  • View up to date table's metadata and it's schema
  • Local history of searched tables

Requirements

brew install fzf

search through list of values (i.e. project, dataset, tables) is done using fzf

Installation

  1. Install as python package using pypi, this will create executable in /usr/local/bin/bq-meta

    pip install bq-meta
    
  2. Initialize bq-meta

    bq-meta --init
    
  3. Follow on screen prompts

    • create configuration
    • login to the google account using browser (Account is separated from gcloud cli)

Run

To open interactive CLI, simply run

bq-meta

cli

Table metadata

To view table metadata, press o key and select through project, dataset, table.

metadata

Table metadata can be refreshed, press r to fetch fresh metadata

It's also possible to run bq-meta directly with FULL_TABLE_ID

bq-meta bigquery-public-data:github_repos.commits

Table schema

Once table metadata is opened, press s key to view it's schema

schema

Open in console

You can open table in console.cloud.google.com by pressing c key

browser

Search history

Every viewed table is saved to the history. To search through history, press h key

history

Other

Usage: python -m bq_meta [OPTIONS] [FULL_TABLE_ID]

  BiqQuery metadata

Options:
  --raw             View raw response from the BigQuery for specific 'FULL_TABLE_ID'
  --init            Initialize 'bq-meta' configuration
  --info            Print info of currently used account
  --fetch-projects  Fetch available google projects
  --version         Show the version and exit.
  --help            Show this message and exit.

Metadata

Release files for bq-meta 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bq-meta 0.9.0
File Size Uploaded Provenance Actions
bq-meta-0.9.0.tar.gz 21.7 kB Without provenance Details for bq-meta-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bq-meta 0.9.0
File Interpreter ABI Platform Actions
bq_meta-0.9.0-py3-none-any.whl Python 3 none any Details for bq_meta-0.9.0-py3-none-any.whl

Total release size: 49.4 kB

Release files / bq-meta-0.9.0.tar.gz

Download URL bq-meta-0.9.0.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
782123d88775c05ec1002495d7a0e33a3d503d17be5da4f691a3a8b43f1082f9
BLAKE2b-256 checksum
How to use checksums
787a80cc7147dd2bbb32003dca35a51c96932a0a18ba72d4f187d2adebd13c6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / bq_meta-0.9.0-py3-none-any.whl

Download URL bq_meta-0.9.0-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9691f8ce7a0481f36f8da77b35abf80477bcce3e17ed903480c8fd206d119bb7
BLAKE2b-256 checksum
How to use checksums
6d98be4b953635f13422fea7a55ce59d36e7abbc3a1b9e5d600827c6a1794a4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Security for bq-meta 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page