Hi Fellow Kivy Developers,
I released a Kivy program (called Desdi) for iOS devices in the Apple store and will soon have it in the Android store. To protect the code I looked for a Python obfuscator that could obfuscate modules, methods, variables, and parameters in a project with many thousands of lines of code distributed across many packages and modules. I found none. So I rolled my own and made sure it would obfuscate Kivy language files (.kv) too.
If you have commercial Kivy apps in the Android or iOS stores, protect your investment--obfuscate your code. Both stores encourage developers to do so. And that's for compiled code--the advice applies doubly for we who like Python interpreted code :)
The obfuscator is called
pymixup. It's available for free on
http://github.com/rdevost/pymixup/. It can obfuscate pure Python projects and Kivy projects. I hope later to add Django/Jinja template support.
I worked to make the obfuscation process as easy possible, initially populated the reserved keywords for a number of common packages, and chose sane defaults. Hopefully you will find it useful. Please let me where it can improve.
Richard