dialect+driver://username:password@host:port/database
The Postgresql dialect uses psycopg2 as the default DBAPI. pg8000 is also available as a pure-Python substitute;详情见
# default
engine = create_engine('postgresql://scott:tiger@localhost/mydatabase')
# psycopg2