we wrote a python package that calls SQL querys with a package-global connection pool, similar like this:
import mypackage