
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
psycopg
Advanced tools
Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python.
This distribution contains the pure Python package psycopg.
.. Note::
Despite the lack of number in the package name, this package is the
successor of psycopg2_.
Please use the psycopg2 package if you are maintaining an existing program
using psycopg2 as a dependency. If you are developing something new,
Psycopg 3 is the most current implementation of the adapter.
.. _psycopg2: https://pypi.org/project/psycopg2/
In short, run the following::
pip install --upgrade pip # to upgrade pip
pip install "psycopg[binary,pool]" # to install package and dependencies
If something goes wrong, and for more information about installation, please
check out the Installation documentation__.
.. __: https://www.psycopg.org/psycopg3/docs/basic/install.html#
For development information check out the project readme__.
.. __: https://github.com/psycopg/psycopg#readme
Copyright (C) 2020 The Psycopg Team
FAQs
PostgreSQL database adapter for Python
We found that psycopg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.