Copy Protection Solution for Python Software
In the Dinkey Pro/FD SDK we supply Python extensions so that you can communicate with the dongle and perform other more technical security checks using our API. Each version of Python requires a different extension. We supply 32-bit and 64-bit extensions for Windows, macOS and Linux for all actively-maintained versions of Python.
Python sample code is provided to demonstrate how to call the relevant Python extension.
We also supply full sample code for both 32-bit and 64-bit Cython that is compatible with both Python 2.x and 3.x. When using Cython you can link with our regular static protection modules rather than use the Python extension. This offers a higher level of security and is the preferable solution, if possible.
We do not recommend using the automatic Shell method of protection on executables generated from Python scripts by a 3rd-party tool (such as py2exe, for example). This is because the resulting executable is not a true executable in the sense that it does not contain compiled Python code. Normally the Python .py files are still attached to the executable in an unprotected form.