An attempt at creating a Python transducer library