Click
sqlparse

[mysql]
PyMySQL

[postgres]
pg8000
