DBUtils - PyPI
https://pypi.org/project/DBUtils14.01.2022 · DBUtils is a suite of tools providing solid, persistent and pooled connections to a database that can be used in all kinds of multi-threaded environments. The suite supports DB-API 2 compliant database interfaces and the classic PyGreSQL interface. The current version 3.0.1 of DBUtils supports Python versions 3.6 to 3.10.
DBUtils - PyPI
pypi.org › project › DBUtilsJan 14, 2022 · DBUtils is a suite of tools providing solid, persistent and pooled connections to a database that can be used in all kinds of multi-threaded environments. The suite supports DB-API 2 compliant database interfaces and the classic PyGreSQL interface. The current version 3.0.1 of DBUtils supports Python versions 3.6 to 3.10.
DBUtils User's Guide - GitHub Pages
webwareforpython.github.io › DBUtils › mainimport pgdb # import used DB-API 2 module from dbutils.pooled_db import PooledDB pool = PooledDB(pgdb, 5, database='mydb') Once you have set up the connection pool you can request database connections from that pool: db = pool.connection() You can use these connections just as if they were ordinary DB-API 2 connections.