This package is an unofficial backport of psycopg3's connection pool to psycopg2. The changes are meant to be minimal. The full test suite and CI are also ported.
This package is useful for psycopg2 users who:
- have a need for a production-grade connection pool on psycopg2, and
- are unable to upgrade to psycopg3 as of yet
Backport changes:
- Backported the code from
psycopg
topsycopg2
. - Renamed PyPI package from
psycopg-pool
topsycopg-pool-backport
. - Renamed Python package from
psycopg_pool
topsycopg2_pool
. - Changed the logger name from
psycopg.pool
topsycopg2_pool
. - Removed async support.
- Removed
typing-extensions
dependency.
See the original psycopg-pool
documentation for usage details.
See the psycopg repo for the upstream code.
You can install this package using:
pip install psycopg-pool-backport
Copyright (C) 2020 The Psycopg Team