$npx skillfedfor your agent

sqlalchemy-bigquery

SQLAlchemy dialect for BigQuery

Worth itPyPI Front-EndsReleased Aug 202679.8M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sqlalchemy_bigquery-1.17.2-py3-none-any.whl
v1.17.2 · released 2026-08-06 · Python >=3.10 · 5 runtime deps: google-api-core, google-auth, google-cloud-bigquery, packaging, sqlalchemy

Yes. This is a production-stable, actively maintained dialect with no known vulnerabilities. Install it if you need to access BigQuery through SQLAlchemy's ORM or query interface. The only prerequisite is setting up Google Cloud authentication and enabling the BigQuery Storage API—both are one-time setup steps. Low install friction and permissive licensing make it a straightforward choice for BigQuery integration.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.10.
  • Requires Google Cloud project setup, BigQuery Storage API enabled, and authentication credentials (service account JSON or environment-based).
  • Low friction installation with a pure-Python wheel.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute the package freely in commercial and private projects without restriction.

last release 2026-08-06 (8 days) · last repo commit 2026-08-14 · 5,371 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,820,407 downloads/mo, #425 on PyPI

Verify before relying

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()
  • Whether bqstorage extras installation significantly improves performance for your typical dataset sizes.
  • Specific BigQuery features or SQL syntax that may not be fully supported by the dialect.
Same gist for agents: .md · .json

What it is and what it does

SQLAlchemy BigQuery is a SQLAlchemy dialect that bridges Python's SQLAlchemy ORM and query builder to Google Cloud BigQuery. It lets you write database queries using SQLAlchemy's familiar Python API instead of raw SQL, and execute them against BigQuery tables. The package handles authentication, connection pooling, and translation of SQLAlchemy expressions into BigQuery-compatible queries.

You install it alongside sqlalchemy and the google-cloud-bigquery client library. Once configured with credentials and a project ID, you create a SQLAlchemy engine pointing to BigQuery and use it like any other database—defining tables, building queries with select() and filters, and fetching results. It supports specifying datasets, locations, batch sizes, and query job configuration through connection string parameters.

Use it for

  • Build data pipelines that read from BigQuery using SQLAlchemy ORM instead of raw SQL.
  • Migrate an application from a traditional SQL database to BigQuery without rewriting query code.
  • Use SQLAlchemy's declarative table definitions and relationship mapping with BigQuery tables.
  • Integrate BigQuery into Flask-SQLAlchemy or other frameworks that expect a SQLAlchemy dialect.
  • Query BigQuery datasets from Python applications that already depend on SQLAlchemy.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a production-stable, actively maintained dialect with no known vulnerabilities. Install it if you need to access BigQuery through SQLAlchemy's ORM or query interface. The only prerequisite is setting up Google Cloud authentication and enabling the BigQuery Storage API—both are one-time setup steps. Low install friction and permissive licensing make it a straightforward choice for BigQuery integration.

Install

sqlalchemy-bigquery on PyPI

Before you install

Low friction installation with a pure-Python wheel. Active maintenance—released 8 days ago with 5371 repository stars. Requires Python >= 3.10 and depends on google-cloud-bigquery, google-auth, and sqlalchemy, all well-maintained Google Cloud libraries.

Requires Python >= 3.10. Requires Google Cloud project setup, BigQuery Storage API enabled, and authentication credentials (service account JSON or environment-based).

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely in commercial and private projects without restriction.

Quickstart

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()

Verify before relying

  • Whether bqstorage extras installation significantly improves performance for your typical dataset sizes.
  • Specific BigQuery features or SQL syntax that may not be fully supported by the dialect.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
google-api-coregoogle-authgoogle-cloud-bigquerypackagingsqlalchemy
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads79,820,407 / month, #425 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Database :: Front-Ends

Evidence: sqlalchemy_bigquery-1.17.2-py3-none-any.whl

Tags

Capabilities
sqlalchemy bigquery dialectbigquery orm pythonsqlalchemy google cloud bigquerybigquery sql queries pythongoogle cloud bigquery connectorbigquery sqlalchemy integrationpython bigquery database access
Topics
bigquerysqlalchemy-dialectgoogle-cloud
PyPI keywords
bigquerysqlalchemy

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sqlalchemy google cloud bigquery”

Give your agent the search over MCP, or paste the wish link into any chat.

More Front-Ends packages

SQLAlchemy Worth it
PyPI · Front-Ends · released Aug 2026

SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.

permissive licensepure Python · 3.7+
422.7Mdownloads / mo
psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
alembic Worth it
PyPI · Front-Ends · released Aug 2026

Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.

Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.

MITpure Python · 3.10+
215.2Mdownloads / mo
weaviate-client Worth it
PyPI · Front-Ends · released Aug 2026

A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.

permissive licensepure Python · 3.10+
213.2Mdownloads / mo
databricks-sql-connector Worth it
PyPI · Front-Ends · released Jul 2026

A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.

Install it if you need to query Databricks clusters or SQL warehouses from Python.

Apache-2.0pure Python
119.5Mdownloads / mo
psycopg Worth it
PyPI · Software Development · released May 2026

Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.

Install it if you need to connect Python to PostgreSQL.

LGPL-3.0-onlypure Python · 3.10+
117.0Mdownloads / mo

See also pybigquery · databricks-sqlalchemy · sqlalchemy-trino · bigquery-magics · sqlalchemy-databricks · sqlalchemy-pgspider · snowflake-sqlalchemy · sqlalchemy-cockroachdb · sqlalchemy-hana · djongo