Home > other >  Python and pyqt5 software, how to protect the source code
Python and pyqt5 software, how to protect the source code

Time:11-17

The great god give me advice on the train of thought

CodePudding user response:

Use Pyarmor to deal with the

Pyarmor is a command line tool, informs the to obfuscate the python scripts, bind obfuscated scripts to fixed to the machine or expire obfuscated scripts. It protects the python scripts by the following ways...

Quote from Python.org

Making the search, case and Chinese instructions, consult: (dashingsoft/pyarmor)

CodePudding user response:

If you are protecting source company, go out left slowly research blog
If a man, there are several simple

1. Use compileall generated. Pyc file, this is binary, crackers, ordinary people do not understand, python - m compileall XXX. Py (not fill in the current directory by default all py)
2. Packaging pyinstaller, packaged entry documents, automatic search for all dependent, generated exe program, of course, it's only Windows
3. Mixed encryption, namely write code in a mess, nausea, read personal feel better than the above all, there is a library, pyobfuscate, of course, you write the code manually at sixes and sevens east west a phrase who can solution, including your own, you can first confused again encryption

CodePudding user response:

refer to the second floor without a white reply:
if you are a company to protect the source code, go out left slowly research blog
If a man, there are several simple

1. Use compileall generated. Pyc file, this is binary, crackers, ordinary people do not understand, python - m compileall XXX. Py (not fill in the current directory by default all py)
2. Packaging pyinstaller, packaged entry documents, automatic search for all dependent, generated exe program, of course, it's only Windows
3. Mixed encryption, in plain English is to write the code in a mess, nausea, read personal feeling is better than the above, there is a library, pyobfuscate, of course, you write the code manually at sixes and sevens east west sentence words no one can solution, including your own, you can first confused again encryption
I am a person, but to fixed, sold, the left or you for the 3 point line

CodePudding user response:

reference ring daming lake reply: 3/f
Quote: refer to the second floor without a white reply:
if you are a company to protect the source code, go out left slowly research blog
If a man, there are several simple

1. Use compileall generated. Pyc file, this is binary, crackers, ordinary people do not understand, python - m compileall XXX. Py (not fill in the current directory by default all py)
2. Packaging pyinstaller, packaged entry documents, automatic search for all dependent, generated exe program, of course, it's only Windows
3. Mixed encryption, in plain English is to write the code in a mess, nausea, read personal feeling is better than the above, there is a library, pyobfuscate, of course, you write the code manually at sixes and sevens east west sentence words no one can solution, including your own, you can first confused again encryption
I am a person, but to fixed, sold, the left or you for the 3 point line

Suggest make a package
  • Related