sqlalchemy-pgspider
PGSpider Dialect for SQLAlchemy
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release June 2023, no commits since) with zero community engagement. While the MIT license is permissive and install friction is low, the lack of maintenance means no fixes for compatibility issues with newer SQLAlchemy, psycopg2, or Python versions. Install only if you are locked into an old environment and PGSpider is a hard requirement; otherwise, seek an actively maintained alternative or contact the PGSpider project directly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires SQLAlchemy 1.4.27 or higher, psycopg2 (or psycopg2-binary) 2.9 or higher, and Python 3.7 or higher.
- PGSpider instance must be running and accessible.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
last release 2023-06-06 (1165 days) · last repo commit 2023-06-06
0 known vulnerabilities (OSV.dev, 2026-08-14) · 211,369 downloads/mo, #9,480 on PyPI
Alternatives
Verify before relying
pip install sqlalchemy-pgspider
from sqlalchemy import create_engine, text
engine = create_engine("pgspider+psycopg2://user:password@localhost:4813/dbname")
with engine.connect() as conn:
result = conn.execute(text("SELECT * FROM table"))
for row in result:
print(row)- Whether the package works with SQLAlchemy versions beyond 1.4.28 (documentation notes only 1.4.28 was tested)
- Current compatibility with modern psycopg2 versions and Python 3.10+ in practice
- Whether PGSpider itself is actively maintained and suitable for production use
What it is and what it does
sqlalchemy-pgspider is a SQLAlchemy dialect that bridges SQLAlchemy to PGSpider, a distributed PostgreSQL system. It inherits from SQLAlchemy's PostgreSQL dialect and overrides version-checking logic so that SQLAlchemy recognizes and connects to PGSpider instead of rejecting it as an unsupported database. The dialect retains full PostgreSQL functionality while working exclusively with the psycopg2 DBAPI driver.
You use it by specifying a pgspider:// or pgspider+psycopg2:// connection URL in SQLAlchemy's create_engine(), then interact with PGSpider through the standard SQLAlchemy Core and ORM interfaces. It is a thin adapter layer—all actual PostgreSQL features available in SQLAlchemy 1.4.28 remain available.
Use it for
- Connect to a PGSpider distributed database cluster using SQLAlchemy ORM for application development
- Execute raw SQL queries against PGSpider through SQLAlchemy's text() interface
- Migrate an existing PostgreSQL + SQLAlchemy application to use PGSpider as the backend
- Build multi-node database applications that need transparent sharding via PGSpider
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release June 2023, no commits since) with zero community engagement. While the MIT license is permissive and install friction is low, the lack of maintenance means no fixes for compatibility issues with newer SQLAlchemy, psycopg2, or Python versions. Install only if you are locked into an old environment and PGSpider is a hard requirement; otherwise, seek an actively maintained alternative or contact the PGSpider project directly.
Install
sqlalchemy-pgspider on PyPI
Before you install
Low install friction with a pure-Python wheel. However, the package is abandoned—last release was 2023-06-06 with no commits since, and it has zero repository stars. Maintenance has ceased.
Requires SQLAlchemy 1.4.27 or higher, psycopg2 (or psycopg2-binary) 2.9 or higher, and Python 3.7 or higher. PGSpider instance must be running and accessible.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
pip install sqlalchemy-pgspider
from sqlalchemy import create_engine, text
engine = create_engine("pgspider+psycopg2://user:password@localhost:4813/dbname")
with engine.connect() as conn:
result = conn.execute(text("SELECT * FROM table"))
for row in result:
print(row)
Verify before relying
- Whether the package works with SQLAlchemy versions beyond 1.4.28 (documentation notes only 1.4.28 was tested)
- Current compatibility with modern psycopg2 versions and Python 3.10+ in practice
- Whether PGSpider itself is actively maintained and suitable for production use
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,165 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 211,369 / month, #9,480 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: sqlalchemy_pgspider-0.1.0-py3-none-any.whl
Tags
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 pgspider dialect”
- sqlalchemy-pgspiderProvides a SQLAlchemy dialect that enables connections to PGSpider…
- sqlalchemy-databricksProvides a SQLAlchemy dialect that connects to Databricks workspaces…
- sqlalchemy-verticaProvides a SQLAlchemy dialect for Vertica, enabling SQLAlchemy…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
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.
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.
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.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
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.
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.
See also sqlalchemy-jdbcapi · sqlalchemy-cockroachdb · sqlalchemy-risingwave · aws-psycopg2 · sqlalchemy-bigquery · pybigquery · sqlalchemy-redshift · sqlalchemy-rdsiam · sqlalchemy-solr · sqlalchemy-searchable