Skip to content
← Publications

Navaja Negra

Protect your Python... because if it's as bad as it sounds, better nobody sees it

Albacete, Spain

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.

Listen to the audio on why AI turns dumb

I send one email a day, and as soon as you sign up you get a ten minute audio on what almost nobody knows about ChatGPT and Claude.

Daniel Alfocea