{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/5"}],"enrichment":{"capability":"PyPgConfig detects and exposes PostgreSQL configuration details from the system's pg_config tool, allowing Python code to query PostgreSQL version, library dependencies, and build settings.","skillfed_tags":["postgres-integration","system-discovery"],"use_cases":["Detect PostgreSQL version at runtime to conditionally enable or disable features in a Python application.","Query which libraries PostgreSQL was compiled with to verify compatibility before attempting a connection.","Locate the Python installation path that PostgreSQL was built with to ensure consistent Python environments.","Automate build or deployment scripts that need to confirm PostgreSQL is installed and inspect its configuration.","Validate PostgreSQL build options (e.g., Python support) before initializing a database client."],"what_it_does":"PyPgConfig is a thin Python wrapper around the PostgreSQL pg_config utility. It runs pg_config on the system and parses its output to expose PostgreSQL metadata\u2014version number (with major/minor breakdown), linked libraries, and build-time options like Python support\u2014as Python objects and attributes.\n\nThe package is useful when you need to programmatically discover PostgreSQL installation details at runtime, such as which libraries PostgreSQL was compiled with or whether Python support is enabled. It requires that PostgreSQL and pg_config be installed on the system where the code runs.","worth_installing":"Yes, if you need to programmatically query PostgreSQL configuration at runtime and can accept an alpha-stage, dormant package. The low install friction and permissive license are in its favor, and there are no known vulnerabilities. However, the lack of updates since 2023-11-28 and alpha status mean you should verify it works with your PostgreSQL version and be prepared to maintain a fork if needed."},"id":"pypgconfig","links":{"html":"https://skillfed.io/packages/pypgconfig","md":"https://skillfed.io/packages/pypgconfig.md","pypi":"https://pypi.org/project/pypgconfig/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-11-27","license_spdx":null,"license_treatment":"permissive","name":"PyPgConfig","python_support":"supports_current","summary":"Access pg_config from Python"},"popularity":{"monthly_downloads":98966,"position":13046,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0a2"}
