Check out example codes for "create_engine sqlalchemy with parsed url sql server". It will help you in understanding the concepts better.

Code Example 1

import urllib
params = urllib.parse.quote_plus("DRIVER={SQL Server Native Client 10.0};SERVER=dagger;DATABASE=test;UID=user;PWD=password")

engine = create_engine("mssql+pyodbc:///?odbc_connect=%s" % params)

Learn ReactJs, React Native from akashmittal.com