psycopg
Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python.
psycopgはPython実装らしい(pure Python)。それに対して、psycopg2はC実装 両方開発されている(2023/10) -> psycopg 3のみへ
pip install "psycopg[binary]"
without [c] or [binary] extras you will obtain a pure Python implementation.
Psycopg 3 is a complete rewrite based on the experience accumulated with the development and maintenance of psycopg2.