from sqlalchemy import create_engine # default engine = create_engine('postgresql://{user}:{password}@{host}:{port}/{db_name}') # psycopg2 engine = create_engine('postgresql+psycopg2://{user}:{password}@{host}:{port}/{db_name}')