import sqlalchemy engine = sqlalchemy.create_engine('postgresql://username:password@localhost/mydatabase')