{"adoption": {"forks": 268, "observed_at": "2026-08-28T04:06:55.238885+00:00", "stars": 2479}, "canonical_url": "https://ross.abutalabs.com/products/psycopg", "card": {"archived": false, "artifact_type": "library", "description": "New generation PostgreSQL database adapter for the Python programming language ", "domain": ["databases", "backend", "developer-tools"], "enriched": true, "function": ["database-driver", "database"], "health_score": 80, "homepage": "https://www.psycopg.org/psycopg3/", "language": "Python", "license": "LGPL-3.0", "license_family": "copyleft", "maturity": "active", "member_repos": ["psycopg/psycopg"], "name": "psycopg/psycopg", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-26T21:18:45+00:00", "repo": "psycopg/psycopg", "stars": 2479, "tags": ["postgresql", "psycopg3", "libpq", "connection-pooling", "async-support"], "topics": ["database", "development", "python", "postgresql", "driver"], "urls": [], "use_cases": ["connect to postgresql from python", "run sql queries against a postgres database", "use connection pooling for postgres in a web app", "async postgres access with asyncio", "migrate from psycopg2 to a modern driver", "insert and query b data from python"], "what_it_is": "Psycopg 3 is the modern generation PostgreSQL database adapter for Python, offering both pure Python and C-accelerated implementations plus connection pooling. It is the successor to the widely used psycopg2 library.", "when_to_avoid": ["you must maintain legacy code tightly coupled to psycopg2 APIs", "you need a database other than PostgreSQL"], "when_to_choose": ["you need a maintained, modern PostgreSQL driver for Python", "you want async support or connection pooling built in", "you are starting a new Python project using PostgreSQL"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/psycopg", "repo": "psycopg/psycopg", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:55.238885+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:28:16.536423+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4974cd21d3e178248c02e328e700e7b69f7b00d08fa3c491c72627188d017ad0", "fetched_at": "2026-08-28T04:06:55.238885+00:00", "kind": "readme", "missing": false, "url": "https://github.com/psycopg/psycopg"}, {"content_hash": "306ae57e01b6317c605526f419f1f86e620fcfe7b1f0ba100e41b52009691d98", "fetched_at": "2026-08-29T10:10:24.663061+00:00", "kind": "homepage", "missing": false, "url": "https://www.psycopg.org/psycopg3/"}, {"content_hash": "da18242615318a76213a6e3e8fdd73001fcd0388f5740bd0942c95f43d6bb798", "fetched_at": "2026-08-29T10:10:24.665704+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/psycopg/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2362, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}