$npx skillfedfor your agent

pgserver

Self-contained postgres server for your python applications

With conditionsPyPI DatabaseReleased Jun 2024364.1K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — pgserver-0.1.4-cp310-cp310-macosx_10_9_x86_64.whl · pgserver-0.1.4-cp310-cp310-macosx_11_0_arm64.whl · pgserver-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
v0.1.4 · released 2024-06-08 · Python >=3.9 · 3 runtime deps: fasteners, platformdirs, psutil

Yes, if you need to ship a Postgres-backed Python app without forcing users to manage a separate database installation, and you can accept the medium install friction of platform-specific wheels. Verify the unclear license first. The dormant maintenance status (no commits since June 2024) means you should assess your tolerance for potential unfixed bugs or compatibility issues with future Python or PostgreSQL versions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.9.
  • On systems with an existing PostgreSQL server on the default port, pgserver will handle port conflicts, but verify your environment does not have permission restrictions that prevent running a second database instance.
  • Medium install friction due to platform-specific compiled wheels (cp39–cp312 across macOS, Linux, Windows).

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text provided. Verify the actual license before using in proprietary or copyleft-sensitive projects.

last release 2024-06-08 (797 days) · last repo commit 2024-06-10 · 100 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 364,142 downloads/mo, #7,211 on PyPI

Verify before relying

import pgserver

db = pgserver.get_server('/path/to/pgdata')
db.psql('create extension vector')
db_uri = db.get_uri()
# Use db_uri with sqlalchemy or psycopg
  • Whether the unclear license permits commercial or proprietary use without restrictions.
  • Performance characteristics and resource overhead compared to system-installed PostgreSQL.
  • Stability and bug-fix commitment given dormant maintenance status since June 2024.
Same gist for agents: .md · .json

What it is and what it does

pgserver packages PostgreSQL binaries and the pgvector extension into a pip-installable Python package, letting you ship database-backed applications without requiring users to install PostgreSQL separately. It handles cross-platform binary distribution (macOS, Linux, Windows) and provides Python convenience methods to initialize, start, and manage the server lifecycle—including edge cases like running in Docker, on machines without root access, or in Google Colab.

The package wraps low-level PostgreSQL tools (initdb, pg_ctl, psql, pg_config) and manages process cleanup automatically: when your application exits, the server shuts down, and if multiple processes share the same data directory, the server stays alive until the last process ends. This makes it practical for both production applications and test fixtures.

Use it for

  • Ship a Python application with embedded PostgreSQL so end users need only `pip install` your app, with no separate database setup.
  • Quickly prototype or develop a Postgres-backed application locally without installing system PostgreSQL.
  • Run integration tests in pytest with temporary, isolated PostgreSQL instances that clean up automatically.
  • Deploy Python applications in containerized environments (Docker, Kubernetes) where you want to avoid separate database services.
  • Build RAG (retrieval-augmented generation) applications that use pgvector for vector similarity search without external dependencies.

Worth the install?

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

With conditions

Yes, if you need to ship a Postgres-backed Python app without forcing users to manage a separate database installation, and you can accept the medium install friction of platform-specific wheels.

Verify the unclear license first. The dormant maintenance status (no commits since June 2024) means you should assess your tolerance for potential unfixed bugs or compatibility issues with future Python or PostgreSQL versions.

Install

pgserver on PyPI

Before you install

Medium install friction due to platform-specific compiled wheels (cp39–cp312 across macOS, Linux, Windows). Dormant maintenance status: last release 2024-06-08, no commits since then, though the repository remains active and has 100 stars. Three lightweight runtime dependencies (fasteners, platformdirs, psutil) add minimal overhead.

Requires Python >=3.9. On systems with an existing PostgreSQL server on the default port, pgserver will handle port conflicts, but verify your environment does not have permission restrictions that prevent running a second database instance.

License in practice

License treatment is unclear—no SPDX identifier or raw license text provided. Verify the actual license before using in proprietary or copyleft-sensitive projects.

Quickstart

import pgserver

db = pgserver.get_server('/path/to/pgdata')
db.psql('create extension vector')
db_uri = db.get_uri()
# Use db_uri with sqlalchemy or psycopg

Verify before relying

  • Whether the unclear license permits commercial or proprietary use without restrictions.
  • Performance characteristics and resource overhead compared to system-installed PostgreSQL.
  • Stability and bug-fix commitment given dormant maintenance status since June 2024.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
3 packages
fastenersplatformdirspsutil
MaintenanceDormant 797 days since the last release
Last repo commit
First released
Downloads364,142 / month, #7,211 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pgserver-0.1.4-cp310-cp310-macosx_10_9_x86_64.whl; pgserver-0.1.4-cp310-cp310-macosx_11_0_arm64.whl; pgserver-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pgserver-0.1.4-cp310-cp310-win_amd64.whl; pgserver-0.1.4-cp311-cp311-macosx_10_9_x86_64.whl; pgserver-0.1.4-cp311-cp311-macosx_11_0_arm64.whl; pgserver-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pgserver-0.1.4-cp311-cp311-win_amd64.whl; pgserver-0.1.4-cp312-cp312-macosx_10_9_x86_64.whl; pgserver-0.1.4-cp312-cp312-macosx_11_0_arm64.whl; pgserver-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pgserver-0.1.4-cp312-cp312-win_amd64.whl; pgserver-0.1.4-cp39-cp39-macosx_10_9_x86_64.whl; pgserver-0.1.4-cp39-cp39-macosx_11_0_arm64.whl; pgserver-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pgserver-0.1.4-cp39-cp39-win_amd64.whl

Tags

Capabilities
embedded postgres for pythonpip-installable postgresqlpostgres without system installpgvector python integrationself-contained database serverpostgres in docker containersvector database for python apps
Topics
embedded-databasepgvectorrag-applications
PyPI keywords
postgresqlpgvectorpgserverrag

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 › “pip-installable postgresql”

  • pgserverEmbeds a PostgreSQL server with pgvector extension into your Python…
  • duckdb-extensionsPackages DuckDB core extensions as pip-installable Python modules,…
  • openslide-binProvides prebuilt OpenSlide binaries for Linux, macOS, and Windows,…

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

More Database packages

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
redis Worth it
PyPI · Database · released Jul 2026

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.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

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.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

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.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also pg0-embedded · vecs · pgvector · PyPgConfig · llama-index-vector-stores-postgres · apache-airflow-providers-pgvector · py-pglite · pgvecto-rs · pgdb · etcd-distro