r/Python • • Oct 20 '26

Discussion Compiling django with Nuitka or Cython ?

Hey, I am working on django development
my client would prefer to slef host the app instead of hosting it on our servers, we dont mind however we would like to make sure we give them a build rather than plain code so we dont expose our code base

I came across compiling with Cython or Nuitka, I cant decide which to use?

Second ask, I heard that I should not compile my whole django apps and rather than that I better do that carefully not to mess up our different imports, how correct is that ?

Thanks in advance

12 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/PaluMacil Oct 20 '26

If you’re suggesting that is a good business model, then I’m not interested in doing any business with you 😆 there is a good reason why most engineers hate Oracle. Honestly, a lot of what they catch is companies having no honest clue where are things might be installed, and Oracle being able to scan for it better than they have an idea of their own infrastructure

If someone is going to try to reverse engineer your binary, they’re gonna figure it out. Adding things to try to stop that is a cat and mouse game and rarely worth it.

2

u/the_hoser Oct 20 '26

No, of course not. I'm just saying that binary piracy at a corporate level is a lot more common than you'd think.