{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"Database","url":"https://skillfed.io/packages/category/database/2"},{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"psycopg-c is an optional C-compiled optimization package for Psycopg 3 that speeds up database operations by replacing pure-Python components with compiled extensions.","skillfed_tags":["performance-optimization","c-extension","postgresql"],"use_cases":["Accelerate database queries in production applications where round-trip latency or data marshalling is a bottleneck.","Reduce CPU overhead in high-throughput data pipelines that execute many small queries or process large result sets.","Optimize long-running ETL jobs that rely on the adapter for bulk data movement between PostgreSQL and Python.","Speed up applications by compiling the adapter layer to reduce interpreter overhead."],"what_it_does":"psycopg-c is an optional compiled extension for Psycopg 3, the PostgreSQL database adapter for Python. It is not a standalone package but rather a performance-optimization layer that sits on top of the main adapter library. When installed, it replaces certain hot-path Python functions with C-compiled equivalents to reduce overhead during database operations.\n\nThe package is distributed separately because compilation requires build tools and system libraries that not all environments have available. The documentation explicitly recommends installing it via `pip install \"psycopg[c]\"` rather than directly, so that the version stays synchronized with your installed adapter version. If compilation fails due to missing prerequisites, the fallback is `psycopg[binary]`, which provides pre-built wheels.","worth_installing":"Yes, if you have a C compiler and PostgreSQL development headers available and are using Psycopg 3 in a performance-sensitive application. Install via `pip install \"psycopg[c]\"` to keep versions synchronized. If compilation fails, fall back to `pip install \"psycopg[binary]\"` instead. The LGPL-3.0-only license requires source disclosure if you distribute the linked software, so verify your deployment model first."},"id":"psycopg-c","links":{"html":"https://skillfed.io/packages/psycopg-c","md":"https://skillfed.io/packages/psycopg-c.md","pypi":"https://pypi.org/project/psycopg-c/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-01","license_spdx":"LGPL-3.0-only","license_treatment":"copyleft","name":"psycopg-c","python_support":"supports_current","summary":"PostgreSQL database adapter for Python -- C optimisation distribution"},"popularity":{"monthly_downloads":943615,"position":4672,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.3.4"}
