sqlalchemy-bigquery
SQLAlchemy dialect for BigQuery
Install
sqlalchemy-bigquery on PyPI
pip
pip install sqlalchemy-bigqueryuv
uv add sqlalchemy-bigquerypoetry
poetry add sqlalchemy-bigqueryPackage facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — google-api-core, google-auth, google-cloud-bigquery, packaging, sqlalchemy |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: sqlalchemy_bigquery-1.17.2-py3-none-any.whl
Keywords: bigquery, sqlalchemy
About sqlalchemy-bigquery
from the package's own PyPI description — quoted content, verbatim
SQLAlchemy Dialect for BigQuery
|GA| |pypi| |versions|
SQLALchemy Dialects_
Dialect Documentation_Product Documentation_
.. |GA| image:: https://img.shields.io/badge/support-GA-gold.svg :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#general-availability .. |pypi| image:: https://img.shields.io/pypi/v/sqlalchemy-bigquery.svg :target: https://pypi.org/project/sqlalchemy-bigquery/ .. |versions| image:: https://img.shields.io/pypi/pyversions/sqlalchemy-bigquery.svg :target: https://pypi.org/project/sqlalchemy-bigquery/ .. _SQLAlchemy Dialects: https://docs.sqlalchemy.org/en/14/dialects/ .. _Dialect Documentation: https://googleapis.dev/python/sqlalchemy-bigquery/latest .. _Product Documentation: https://cloud.google.com/bigquery/docs/
Quick Start
In order to use this library, you first need to go through the following steps:
Select or create a Cloud Platform project._- [Optional]
Enable billing for your project._ Enable the BigQuery Storage API._Setup Authentication._
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .....
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
SQLAlchemy dialect that enables you to use BigQuery as a database backend through SQLAlchemy's ORM and query interface, supporting standard SQL operations on BigQuery datasets and tables.
Low friction installation with a pure-wheel distribution and five runtime dependencies (google-api-core, google-auth, google-cloud-bigquery, packaging, sqlalchemy). Actively maintained with a release 7 days ago and 5370 repository stars.
Permissive license treatment allows commercial and private use without restriction, making it suitable for both open-source and proprietary projects.
Usage
pip install sqlalchemy-bigquery
from sqlalchemy import create_engine, Table, MetaData, select, func
engine = create_engine('bigquery://project')
table = Table('dataset.table', MetaData(bind=engine), autoload=True)
result = engine.execute(select([func.count('*')], from_obj=table)).scalar()
Requires Python >= 3.10 and Google Cloud authentication setup (service account credentials or Application Default Credentials). BigQuery Storage API must be enabled in your GCP project.
Verdict: Production-ready dialect (Development Status 5) with active maintenance, no known vulnerabilities, and low install friction. Suitable for projects needing SQLAlchemy integration with BigQuery, though authentication and GCP project setup are prerequisites.
Needs verification
- Whether the optional bqstorage extras provide measurable performance gains for typical large-dataset workloads
- Compatibility matrix with specific SQLAlchemy versions beyond the general runtime dependency
Similar packages
permissive · top 1,000 on PyPI
sqlglotpermissive · top 1,000 on PyPI
google-cloud-bigquerypermissive · top 1,000 on PyPI
snowflake-sqlalchemypermissive · top 1,000 on PyPI
databricks-sqlalchemypermissive · top 1,000 on PyPI
pinotdbpermissive · top 1,000 on PyPI
librtpermissive · top 1,000 on PyPI
trinopermissive · top 1,000 on PyPI
clickhouse-connectpermissive · top 1,000 on PyPI
gcloud-aio-bigquerypermissive · top 1,000 on PyPI