{"package":"psycopg2","ecosystem":"pypi","latest_version":"2.9.13","description":"psycopg2 - Python-PostgreSQL Database Adapter","license":"LGPL with exceptions","license_risk":"unknown","commercial_use_notes":"verify manually — license not parseable / not declared.","homepage":"https://psycopg.org/","repository":"https://github.com/psycopg/psycopg2","downloads_weekly":12480138,"health":{"score":92,"risk":"low","breakdown":{"maintenance":25,"popularity":20,"security":25,"maturity":15,"community":7,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.9.13","total_count":66,"recent":["2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9","2.9.1","2.9.2","2.9.3","2.9.4","2.9.5","2.9.6","2.9.7","2.9.8","2.9.9","2.9.10","2.9.11","2.9.12","2.9.13"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":null,"last_published":"2026-09-09T23:53:49.232633Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":3655,"forks":543,"open_issues":17,"is_archived":false,"pushed_at":"2026-09-10T00:26:35Z","subscribers_count":69},"bundle":null,"typescript":null,"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"2.9.13","version_hint":null,"summary":"psycopg2@2.9.13 is safe to use (health: 92/100)","alternatives":[{"name":"psycopg","reason":"psycopg 3 is the current version","builtin":false}]},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/pypi/psycopg2","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/pypi/psycopg2","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/pypi/psycopg2","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate"},"_cache":"hit","_response_ms":3}