Psycopg 3 – PostgreSQL database adapter for Python#
Psycopg 3 is a newly designed PostgreSQL database adapter for the Python programming language.
Psycopg 3 presents a familiar interface for everyone who has used Psycopg 2 or any other DB-API 2.0 database adapter, but allows to use more modern PostgreSQL and Python features, such as:
Documentation#
- Getting started with Psycopg 3
- More advanced topics
- Psycopg 3 API
- The
psycopg
module - Connection classes
- Cursor classes
sql
– SQL string compositionrows
– row factory implementationserrors
– Package exceptionsconninfo
– manipulate connection stringsadapt
– Types adaptationtypes
– Types information and adaptersabc
– Psycopg abstract classespq
– libpq wrapper modulepsycopg_pool
– Connection pool implementations_dns
– DNS resolution utilities
- The