pip install SQLAlchemy
python
from sqlalchemy import create_engine
engine = create_engine('mysql://username:password@host:port/database')
connection = engine.connect()
result = connection.execute('SELECT * FROM table_name')
for row in result:
print(row)
connection.close()