psycopg2
PyPIv2.9.12psycopg2 - Python-PostgreSQL Database Adapter
Safe to adopt
Yes — psycopg2 scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 142 days ago. 3 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 142 days ago. 3 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 2.6 MB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
LGPL with exceptions — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding psycopg2 to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Python
- python >=3.9
Release history
2 releases in the last two years, typically about 128 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.9.12latest | 4 months ago | 2.6 MB | LGPL with exceptions |
| 2.9.11 | 11 months ago | 2.6 MB | LGPL with exceptions |
| 2.9.10 | 1 year ago | 1001 KB | LGPL with exceptions |
| 2.9.9 | 2 years ago | 1001 KB | LGPL with exceptions |
| 2.9.8 | 2 years ago | 1001 KB | LGPL with exceptions |
| 2.9.7 | 3 years ago | 997 KB | LGPL with exceptions |
| 2.9.6 | 3 years ago | 999 KB | LGPL with exceptions |
| 2.9.5 | 3 years ago | 1009 KB | LGPL with exceptions |
| 2.9.4 | 3 years ago | 1004 KB | LGPL with exceptions |
| 2.9.3 | 4 years ago | 1002 KB | LGPL with exceptions |
| 2.9.2 | 4 years ago | 1002 KB | LGPL with exceptions |
| 2.9.1 | 4 years ago | 1001 KB | LGPL with exceptions |
| 2.9 | 5 years ago | 971 KB | LGPL with exceptions |
| 2.8.6 | 6 years ago | 972 KB | LGPL with exceptions |
| 2.8.5 | 6 years ago | 971 KB | LGPL with exceptions |
Overview
psycopg2 is an PyPI package that psycopg2 - Python-PostgreSQL Database Adapter. The latest version is 2.9.12, released under the LGPL with exceptions license.
Who should use it
Teams working in the PyPI ecosystem who need psycopg2 - Python-PostgreSQL Database Adapter and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.
Pros
- Clear open-source license (LGPL with exceptions).
- Zero runtime dependencies — minimal footprint.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use psycopg2?
Yes — psycopg2 scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 142 days ago. 3 releases in the last 2 years.
How do I install psycopg2?
Run `pip install psycopg2` to add psycopg2 to your PyPI project.
What license is psycopg2 released under?
psycopg2 is distributed under the LGPL with exceptions license.
Is psycopg2 still maintained?
The most recent release of psycopg2 (v2.9.12) was published 4 months ago.