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
psycopgmodule - Connection classes
- Cursor classes
- COPY-related objects
- Other top-level objects
sql-- SQL string compositionrows-- row factory implementationserrors-- Package exceptionspsycopg_pool-- Connection pool implementationsconninfo-- manipulate connection stringsadapt-- Types adaptationtypes-- Types information and adaptersabc-- Psycopg abstract classespq-- libpq wrapper modulecrdb-- CockroachDB support_dns-- DNS resolution utilities
- The