Connect To Sql Database Using Python Dictionaries