Python translation of Alien RFID Reader Ruby API