r/Python • u/_khi4 • 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
View all comments
Show parent comment
2
u/PaluMacil Oct 20 '26
Yes, I'm not saying I don't think people pirate binaries. I'm saying average software engineers grab Python code from proprietary files they don't own but they don't try to creak licensing on a binary so often. At least not where I've worked. How many times have you heard someone say something like, "just copy something off the internet"? That's stealing and a license violation 9 times out of 10. But in a work environment, when have you seen a coworker use a cracked Adobe Pro? Even if it's once or twice, I'm guessing you've seen or heard someone Google something and copy paste some Python code many many times.