$npx skillfedfor your agent

sqlalchemy-redshift

Amazon Redshift Dialect for sqlalchemy

With conditionsPyPI Front-EndsReleased Apr 20265.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sqlalchemy_redshift-1.0.0-py3-none-any.whl
v1.0.0 · released 2026-04-28 · Python >=3.10 · 2 runtime deps: SQLAlchemy, packaging

Yes, if you are building a Python application against Amazon Redshift and want to use SQLAlchemy. The dialect is actively maintained, supports current Python versions (3.10–3.14), has no known vulnerabilities, and installs with low friction. You must separately choose and install a driver, but that is a one-time decision documented in the package's own guidance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • You must install either psycopg2, redshift_connector, or a compatible PostgreSQL driver separately; the dialect does not provide it as a required dependency.
  • Low friction installation; the package itself is a pure-Python wheel.
  • However, you must separately install either psycopg2 or redshift_connector to establish connections—the dialect does not bundle these.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package with minimal restrictions, including in commercial software.

last release 2026-04-28 (108 days) · last repo commit 2026-04-28 · 228 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,411,556 downloads/mo, #2,106 on PyPI

Verify before relying

pip install sqlalchemy-redshift
import sqlalchemy as sa
engine = sa.create_engine('redshift+psycopg2://username@host.amazonaws.com:5439/database')
  • Whether redshift_connector is a drop-in alternative to psycopg2 for all use cases or has known limitations.
  • Performance characteristics of table reflection and DDL compilation on large Redshift schemas.
  • Compatibility with Redshift Spectrum and other advanced Redshift features beyond those mentioned in release notes.
Same gist for agents: .md · .json

What it is and what it does

sqlalchemy-redshift is a SQLAlchemy dialect that translates ORM queries and SQL expressions into Redshift-compatible SQL and handles connection management to Amazon Redshift clusters. It sits between your Python application and Redshift, allowing you to use SQLAlchemy's declarative ORM, query builder, and schema reflection tools without writing raw SQL.

The dialect implements Redshift-specific DDL compilation, datatype support (including GEOMETRY, SUPER, HLLSKETCH, and TIMETZ), and features like materialized views, spectrum table support, and IAM role-based COPY/UNLOAD commands. It requires a separate driver—either psycopg2 or redshift_connector—to establish actual database connections.

Use it for

  • Build a data warehouse application using SQLAlchemy ORM models that map to Redshift tables without writing SQL.
  • Reflect an existing Redshift schema into Python objects to enable programmatic table and column inspection.
  • Execute parameterized queries and bulk operations (COPY, UNLOAD) against Redshift from a Python application.
  • Migrate a PostgreSQL application to Redshift by swapping the connection string and dialect while reusing most ORM code.
  • Generate Redshift DDL (CREATE TABLE, ALTER TABLE) from SQLAlchemy schema definitions in Alembic migrations.

Worth the install?

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

With conditions

Yes, if you are building a Python application against Amazon Redshift and want to use SQLAlchemy.

The dialect is actively maintained, supports current Python versions (3.10–3.14), has no known vulnerabilities, and installs with low friction. You must separately choose and install a driver, but that is a one-time decision documented in the package's own guidance.

Install

sqlalchemy-redshift on PyPI

Before you install

Low friction installation; the package itself is a pure-Python wheel. However, you must separately install either psycopg2 or redshift_connector to establish connections—the dialect does not bundle these. Maintenance is active with a recent release and ongoing support for current Python versions (3.10–3.14).

You must install either psycopg2, redshift_connector, or a compatible PostgreSQL driver separately; the dialect does not provide it as a required dependency.

License in practice

MIT license is permissive; you may use, modify, and distribute this package with minimal restrictions, including in commercial software.

Quickstart

pip install sqlalchemy-redshift
import sqlalchemy as sa
engine = sa.create_engine('redshift+psycopg2://username@host.amazonaws.com:5439/database')

Verify before relying

  • Whether redshift_connector is a drop-in alternative to psycopg2 for all use cases or has known limitations.
  • Performance characteristics of table reflection and DDL compilation on large Redshift schemas.
  • Compatibility with Redshift Spectrum and other advanced Redshift features beyond those mentioned in release notes.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
SQLAlchemypackaging
MaintenanceActively maintained 108 days since the last release
Last repo commit
First released
Downloads5,411,556 / month, #2,106 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended 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.14

Evidence: sqlalchemy_redshift-1.0.0-py3-none-any.whl

Tags

Capabilities
sqlalchemy redshift dialectredshift database ormamazon redshift sqlalchemyredshift sql toolkitredshift connection poolingredshift table reflectionredshift ddl compiler
Topics
redshiftormdata-warehouse

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 › “redshift database orm”

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 chalk-sqlalchemy-redshift · redshift-connector · sqlalchemy-risingwave · sqlalchemy-rdsiam · sqlalchemy-pgspider · sqlalchemy-cockroachdb · teradatasqlalchemy · sqlalchemy-jdbcapi · sqlalchemy_exasol · sqlalchemy-databricks