{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/5"}],"enrichment":{"capability":"Embeds a PostgreSQL database directly in Python with zero configuration, no Docker required, and built-in pgvector support for vector operations.","skillfed_tags":["embedded-database","vector-search","testing"],"use_cases":["Rapid prototyping and development when you need SQL and vector search without infrastructure setup","Automated testing that requires a real PostgreSQL database without Docker or external services","Building AI/ML applications with pgvector for semantic search and embeddings in a single Python process","Distributing Python applications that need embedded database functionality without end-user PostgreSQL installation","Local development environments where Docker overhead or complexity is undesirable"],"what_it_does":"pg0-embedded is a Python wrapper that bundles PostgreSQL as an embedded database, eliminating the need for separate installation, Docker, or configuration management. It starts a PostgreSQL instance directly from Python code and provides a simple API to execute SQL queries, manage the instance lifecycle, and retrieve connection details. The package includes pgvector extension support out of the box, making it suitable for applications that need vector similarity search alongside traditional SQL operations.\n\nThe package is designed for rapid prototyping, testing, and development workflows where spinning up a full PostgreSQL server is overhead. It works as a context manager for automatic startup and shutdown, or as standalone instance management with explicit start/stop calls. Connection URIs are generated automatically, and the instance runs on localhost with configurable port, username, password, and database name.","worth_installing":"Yes, if you need PostgreSQL with pgvector in a development or testing context and want to avoid Docker or external database setup. The active maintenance, zero security vulnerabilities, permissive MIT license, and broad platform support make it low-risk. Medium install friction (platform-specific wheels) is a minor trade-off for the convenience of zero-config embedded operation. Not suitable if you need persistent data across application restarts or production-grade database isolation\u2014verify persistence behavior before relying on it for stateful applications."},"id":"pg0-embedded","links":{"html":"https://skillfed.io/packages/pg0-embedded","md":"https://skillfed.io/packages/pg0-embedded.md","pypi":"https://pypi.org/project/pg0-embedded/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-31","license_spdx":"MIT","license_treatment":"permissive","name":"pg0-embedded","python_support":"supports_current","summary":"Python API for pg0 - embedded PostgreSQL"},"popularity":{"monthly_downloads":83255,"position":14087,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.15.1"}
