Oracle DB inventory using python