pgdb
PostgreSQL wrapper
Decision gist · record as of 2026-08-14
No. The package is abandoned (last update 2021) with no maintenance activity for over three years. High install friction, unclear Python version support, and lack of security updates make it unsuitable for new projects. Use a maintained alternative like psycopg2 or sqlalchemy instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running PostgreSQL server and valid connection credentials; no external Python dependencies are listed, but the package itself has high install friction.
- High install friction and abandoned maintenance status since 2021.
- Last commit was over three years ago; the package receives no active updates or security reviews.
License · maintenance · safety
Apache v2.0 (permissive) — Licensed under Apache v2.0 (permissive), so you may use and modify it freely, but the lack of active maintenance means security patches or compatibility fixes will not be forthcoming.
last release 2021-07-29 (1842 days) · last repo commit 2021-07-29 · 17 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 269,306 downloads/mo, #8,262 on PyPI
Alternatives
Verify before relying
from pgdb import Connection
connection = Connection(user='postgres', database='main', host='localhost')
results = connection.query("select * from main")
connection.close()- Whether the package works with modern PostgreSQL versions or recent Python releases beyond 3.5.
- What causes the high install friction (compiled extension, missing wheels, or other build requirements).
- Whether the dictionary-wrapping behavior handles NULL values, type conversions, or edge cases correctly.
What it is and what it does
pgdb is a lightweight wrapper around PostgreSQL connections that converts query results from tuples into dictionaries keyed by column name. It provides a simplified API with methods like query(), get(), execute(), and executemany() to reduce boilerplate when working with PostgreSQL from Python.
The package has been abandoned since mid-2021 with no maintenance activity since then. It declares support for Python 3.5 and carries no runtime dependencies, but exhibits high install friction. While it is licensed permissively under Apache v2.0, the lack of active maintenance means it will not receive security updates, compatibility fixes, or support for modern Python or PostgreSQL versions.
Use it for
- Quick prototyping of Python scripts that query PostgreSQL without writing raw tuple-unpacking boilerplate.
- Legacy applications that depend on dictionary-based result handling from an older codebase.
- Educational projects where simplified PostgreSQL access is more important than production robustness.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last update 2021) with no maintenance activity for over three years. High install friction, unclear Python version support, and lack of security updates make it unsuitable for new projects. Use a maintained alternative like psycopg2 or sqlalchemy instead.
Install
pgdb on PyPI
Before you install
High install friction and abandoned maintenance status since 2021. Last commit was over three years ago; the package receives no active updates or security reviews.
Requires a running PostgreSQL server and valid connection credentials; no external Python dependencies are listed, but the package itself has high install friction.
License in practice
Licensed under Apache v2.0 (permissive), so you may use and modify it freely, but the lack of active maintenance means security patches or compatibility fixes will not be forthcoming.
Quickstart
from pgdb import Connection
connection = Connection(user='postgres', database='main', host='localhost')
results = connection.query("select * from main")
connection.close()
Verify before relying
- Whether the package works with modern PostgreSQL versions or recent Python releases beyond 3.5.
- What causes the high install friction (compiled extension, missing wheels, or other build requirements).
- Whether the dictionary-wrapping behavior handles NULL values, type conversions, or edge cases correctly.
Package facts
| License | Apache v2.0 permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,842 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 269,306 / month, #8,262 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.5Programming Language :: SQLTopic :: Database |
Evidence: pgdb-0.0.11.tar.gz
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 › “postgresql wrapper python”
- pgdbWraps PostgreSQL connections to return query results as dictionaries…
- PyPgConfigPyPgConfig detects and exposes PostgreSQL configuration details from…
- queriesQueries is a simplified wrapper around psycopg2 that provides a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
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.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also pgspecial · postgres · PyPgConfig · psycopg2 · queries · testgres · pgcopy · psycopg-pool · psycopg2-pool · airtable-python-wrapper