PyPI · pypi:psycopg2
psycopg2 active
psycopg2 - Python-PostgreSQL Database Adapter
The latest stable version of psycopg2 is 2.9.13, published on 2026-09-09. Verified by Vigia on 2026-11-13.
| Latest stable version | 2.9.13 |
|---|---|
| Published | 2026-09-09 23:53:49 UTC |
| Install | pip install --upgrade psycopg2 |
| Requires | python >=3.10 |
| License | LGPL with exceptions |
| Advisories on latest version | none known |
| Last verified | 2026-11-13 08:07:48 UTC |
| Sources | pypi.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-09 23:53:49 UTC · 64 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 66 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.9.13 | 2026-09-09 23:53:49 UTC |
2.9.12 | 2026-04-20 23:33:13 UTC |
2.9.11 | 2025-10-10 11:10:09 UTC |
2.9.10 | 2024-10-16 11:18:24 UTC |
2.9.9 | 2023-10-03 12:45:27 UTC |
2.9.8 | 2023-09-28 11:46:52 UTC |
2.9.7 | 2023-08-05 10:35:31 UTC |
2.9.6 | 2023-04-03 11:31:56 UTC |
2.9.5 | 2022-10-25 12:34:08 UTC |
2.9.4 | 2022-10-06 15:59:48 UTC |
2.9.3 | 2021-12-29 15:27:12 UTC |
2.9.2 | 2021-11-12 00:44:04 UTC |
2.9.1 | 2021-06-17 01:04:02 UTC |
2.9 | 2021-06-16 15:32:31 UTC |
2.8.6 | 2020-09-06 22:41:27 UTC |
2.8.5 | 2020-04-06 07:02:16 UTC |
2.8.4 | 2019-10-20 09:11:38 UTC |
2.8.3 | 2019-06-13 23:57:37 UTC |
2.8.2 | 2019-04-14 17:20:39 UTC |
2.8.1 | 2019-04-06 20:04:14 UTC |
Showing the 20 most recent of 66 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
python 3.8 | 2.9.10 |
python 3.9 | 2.9.12 |
python 3.10 | 2.9.13 |
python 3.11 | 2.9.13 |
python 3.12 | 2.9.13 |
python 3.13 | 2.9.13 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of psycopg2?
The latest stable version of psycopg2 is 2.9.13, published on 2026-09-09. Verified by Vigia on 2026-11-13.
How do I install the latest version of psycopg2?
Run pip install --upgrade psycopg2. The latest stable version is 2.9.13 (verified 2026-11-13).
Is psycopg2 deprecated?
No. psycopg2 is not marked as deprecated in the registry.
Which Python version does psycopg2 require?
psycopg2 2.9.13 declares this requirement: python >=3.10.
Does psycopg2 2.9.13 have known vulnerabilities?
No known advisories affect psycopg2 2.9.13 according to the data Vigia checks.
Is psycopg2 still maintained?
psycopg2 published 2 stable releases in the last 12 months; the most recent was 64 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- rich-rst
- py-key-value-aio
- typing-inspect
- argon2-cffi-bindings
- requests-file
- wsproto
- ruamel-yaml-clib
- torch
- aiosqlite
- python-slugify
- linkify-it-py
- graphql-core
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/pypi/psycopg2) [](https://vigia.coredls.cloud/pypi/psycopg2) [](https://vigia.coredls.cloud/pypi/psycopg2)
For agents
GET https://vigia.coredls.cloud/v1/packages/pypi/psycopg2
GET https://vigia.coredls.cloud/v1/packages/pypi/psycopg2/versions/{version}