I am experience in python and linux , I can work with you closely to connect your DB with python. once you provide details of python version and your DB impala, I will produce your case in my test environment , once you get as you required , I will deliver to you