Please use cryptography
instead!
This project is pretty old and won't be maintained further. For much better (!) symmetric encryption, I advise to take a look at the cryptography package: it's super friendly!
Here's an API that offers the same simple API: https://cryptography.io/en/latest/fernet/