Check out sympy.crypto.crypto
In autocomplete in the editor, it doesn't show up. But in the console, it does. Either way, it has a ton of encryption functions already in there, including Caesar cipher.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.