Devolens (formerly Cryptolens) is a mature licensing platform. But licensing and code protection are two different jobs, and a license check is only as strong as the code enforcing it. Unprotected Python is trivial to decompile and patch.
Licensing as a Service. You install its SDK and add a call like Key.activate(...); it manages license keys, activation, device binding, entitlements, and offline validation, with a dashboard and analytics. It's language-agnostic and proven at scale. What it doesn't do, by design, is protect your source code; it assumes the calling code is trustworthy.
Protects your code and enforces licensing together. Each function is encrypted, keys are issued per device at activation and never shipped, and the license check runs inside a hardened native runtime, not in plaintext Python. On top of that it's a full platform: licensing, device binding, revocation, code-signed builds, delivery pages, trials, updates, and checkout.
Devolens does exactly what a licensing platform should. The gap is not Devolens; it is that the code calling it ships unprotected. Its own Python guide has you insert an SDK call into your .py. Once that app is in a customer's hands, the check is just Python:
Anyone can decompile the bytecode, find that branch, and patch it to always pass. Even RSA-signed license responses do not help, because the patch removes the code that checks the signature. With PyLocket, there is no plaintext branch to find: the check runs inside the native runtime, and run_app()'s code is encrypted with keys issued only to a licensed device. Nothing to decompile, nothing to patch.
An honest comparison, including where Devolens is the better fit.
| Capability | Devolens | PyLocket |
|---|---|---|
| Protects your code from decompilation | ✘ | ✔ |
| License check can't be patched out of the app | ✘ | ✔ |
| License keys, activation, device binding, revocation | ✔ | ✔ |
| Offline license validation | ✔ | ✔ |
| Code-signed, identity-verified builds | ✘ | ✔ |
| Packaging, branded delivery, checkout, updates | ✘ | ✔ |
| Protection + licensing + delivery in one platform | ✘ | ✔ |
| Licenses many languages & web SaaS, not just Python | ✔ | ✘ |
| Enterprise licensing governance at proven scale | ✔ | ✘ |
Devolens production plans start at €199/mo (Business), €699/mo (Scale), then custom Enterprise, with a 30-day trial. PyLocket is a flat subscription per account plus $4 per license activated, with no percentage of your sales. Based on publicly available information; verify current specifics with each vendor.
Devolens is a strong, well-regarded licensing platform. You can always pair a licensing service with a separate protection tool; PyLocket simply gives you both, enforced together, for a Python app.