python-psycopg2
Port variant v13
Summary Python-PostgreSQL Database Adapter (3.13)
Package version 2.9.12
Homepage https://psycopg.org/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 23 APR 2026, 14:06:01 UTC
Port created 28 AUG 2018, 14:25:25 UTC
Subpackage Descriptions
single Psycopg is the most popular PostgreSQL database adapter for the Python programming language. Its main features are the complete implementation of the Python DB API 2.0 specification and the thread safety (several threads can share the same connection). It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a large number of concurrent "INSERT"s or "UPDATE"s. Psycopg 2 is mostly implemented in C as a libpq wrapper, resulting in being both efficient and secure. It features client-side and server-side cursors, asynchronous communication and notifications, "COPY TO/COPY FROM" support. Many Python types are supported out-of-the-box and adapted to matching PostgreSQL data types; adaptation can be extended and customized thanks to a flexible objects adaptation system. Psycopg 2 is both Unicode and Python 3 friendly. :alt: Build status
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) postgresql17:dev:std
python313:dev:std
python-setuptools:single:v13
autoselect-python:single:std
Build and Runtime postgresql17:client:std
python313:primary:std
Download groups
main mirror://PYPI/p/psycopg2
Distribution File Information
1dedb1c7a1d8552c4a6044c6b1c41a52e6a8e2d144af83eccac758076b1b7c15 379683 python-src/psycopg2-2.9.12.tar.gz
Ports that require python-psycopg2:v13
No other ports depend on this one.