Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Deploying python code with highest safety on the code implementation

Hi fellows, how can I deploy my own library created in Python on Windows or Linux without providing the source code. The reason is that I want to use it in future as production code. So in my case I would only to provide the function or method delarations and not the implementation. How can I achieve this security deployment? I know that there is a pyc file which encrypts the code, but I have read that it is possible with some expense to dencrypt it. That is not what I need.
Assuming that is possible with your solution,
you can build API over your code and sell it as SAAS

if your code is located somewhere on the client side, there is no 100% secure way to deploy it.
it's not something easy for the average user, but if needed, reverse engineering python code is relatively "easy"
Dude .
Thank you. I assumed that there was a way without providing the possibility of reverse engineering. But ok python is open-source so it is difficult to find a way to secure your code after deploying it. In my case my target was to create my library and upload it on a private repo and provide only the applications (without access to the lib code) I created via a public repo.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by putnik1313May 26, 2025 03:04 PM 6 218 May 26, 2025 03:04 PM
Last Post: putnik1313
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 630 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by omar18881Feb 13, 2022 09:02 PM 3 214 Feb 13, 2022 09:02 PM
Last Post: Security Is 1776