Postgres Array Comparison Python Compiler With All Libraries