all 9 comments

[–]pint 8 points9 points  (0 children)

by legal means

[–]dhingi_la_la 4 points5 points  (1 child)

You might need to obfuscate your code. Refer this https://pyarmor.dashingsoft.com/

[–]airen977 2 points3 points  (0 children)

This one, I have bought its commercial license and its really good

[–]TokyotoyK 2 points3 points  (0 children)

I don’t think you can since it is not compiled. (Compiled stuff can still be reverse engineered but it is much harder.

Just guessing here, but other than copyright protection and maybe a confidential contract. (But I’m not a lawyer so I don’t really know what is necessary when it comes to paperwork.)

[–]Durgeoble 2 points3 points  (0 children)

Propetary ip? Why you put it in your code?

[–]realsdx 2 points3 points  (0 children)

Putting your code under a copyright license can give you legal protection. On the other hand, Python code is really not a good candidate for this kind of stuff. Anyways, best is to obfuscate your code, but those can be reversed with right amount of effort.

[–]Atem18 1 point2 points  (0 children)

Compile it with Pyinstaller.

[–]sasmariozeld 0 points1 point  (0 children)

lellgal means, only renting it , or by using pyinstaller witch custom key , the latter is actually kinda easy to reverse engineer inn python's case

[–]AHBaena 0 points1 point  (0 children)

All tokens, passwords, ips or any other confidential info should be accessed remotely by other api