MagicLock encrypts your Python code and AI models with one command and locks them to machines you authorize, fully offline by default. PyLocket is built for a different job: protecting the app you sell, then issuing per-customer license keys, delivering downloads, and pushing updates to your end users.
One command encrypts your Python code and AI models into artifacts that import and run like ordinary Python, but only on machines you authorize: a local device-fingerprint gate checks authenticity, validity, and entitlement fully offline, and an optional paid web-gated mode adds a cloud kill switch. Model weights decrypt in memory at inference, never on disk. It supports Python 3.9 through 3.14 on macOS, Windows, and Linux, with a 48-hour full trial and plans authorizing 2 devices (monthly) or 5 devices (lifetime). What it leaves to you: selling. There are no per-customer license keys, no delivery pages or checkout, no update distribution, and no code-signing pipeline.
PyLocket protects the packaged build you produce with PyInstaller, cx_Freeze, or Briefcase, per-function encryption in a hardened native runtime, with keys issued to each licensed device at activation. The difference is scale and commerce: you issue as many per-customer license keys as you sell, at a flat $4 each, with device binding, offline grace, and remote revocation per customer. Branded delivery pages, free trials, checkout, and one-click updates pushed to installed apps ship with the platform, and every build is code-signed from an identity-verified developer.
The short version: MagicLock licenses a fixed set of devices you authorize under your own plan. PyLocket issues a license per paying customer, however many that turns out to be, and runs the delivery and update side of shipping to them.
An honest comparison, including where MagicLock is the better fit.
| Capability | MagicLock | PyLocket |
|---|---|---|
| Encrypts Python code, zero code changes | ✔ | ✔ |
| Encrypts AI model weights (in-memory decrypt) | ✔ | ✘ |
| Python 3.9–3.11 support | ✔ | ✘ |
| Runs fully offline with no activation, by default | ✔ | ✘ |
| Lifetime one-time purchase option | ✔ | ✘ |
| Device binding | ✔ | ✔ |
| Remote kill switch / revocation | ✔ | ✔ |
| Per-customer license keys you sell, no device cap | ✘ | ✔ |
| Branded delivery pages, trials, and checkout | ✘ | ✔ |
| One-click updates pushed to installed apps | ✘ | ✔ |
| Code-signed builds & identity-verified developers | ✘ | ✔ |
MagicLock is priced per developer plan: a 48-hour full trial, HK$99/month for 2 authorized devices, or HK$499 one-time for 5 devices, and already-shipped artifacts keep working after a subscription ends. PyLocket has a free tier; paid plans are a flat subscription per account plus $4 per end-user license activated, with no percentage of your sales. Based on publicly available information; verify current specifics with each vendor.
MagicLock is a capable protection tool with genuinely strong model encryption. The question is whether you're locking code to your own machines, or selling it to customers and running licenses, delivery, and updates at that scale.