← Publications
Navaja Negra
Protect your Python... because if it's as bad as it sounds, better nobody sees it
Entertaining, instructive, and a genuine brainfuck about protecting Python code.
What it’s about
There are scenarios where you need to protect your Python code: intellectual property, distributing applications, performance or sensitive algorithms.
I go through basic obfuscation methods, code packaging and encryption and, to finish, the advanced technique: creating custom Python interpreters. For each method I look at whether it really works, with real use cases and its limits.
Why it’s relevant
Python is open source by design. But sometimes you have proprietary algorithms, commercial products or internal tools you don’t want just anyone to see.
The talk covers the whole spectrum, from simple to extreme.