Python 3
Python 3 packagelicensing 0.54. Reviewed source revision.
- Key — Activate, retrieve, create and update license keys.
- AI — Read usage analytics and Web API logs, and record application events.
- Message — Read, create and remove update messages.
- Product — List products and search their license keys.
- Customer — Create customers and retrieve their associated licenses.
- Data — Read and update data objects attached to licenses or activations.
- PaymentForm — Create payment-form sessions from your server.
- Helpers — Compute machine codes and check individual license properties.
- Subscription — Record metered usage for customer subscriptions.
- User — Manage customer usernames, passwords and license associations.
- ActivatedMachine — The activation details returned on a license.
- Reseller — The reseller details returned on a license.
- LicenseKey — The parsed license object, including saving and loading signed responses.
- Response — The response envelope before its license data has been verified and parsed.
- RSAPublicKey — The XML RSA public key used to check license signatures.
- Settings
Python 2 / IronPython
Python 2 / IronPython implementation. Reviewed source revision.- Key — Activate, retrieve and release licenses, and create trial keys.
- Helpers — Compute machine codes and compare activation identifiers.
- ActivatedMachine — The activation details returned on a license.
- LicenseKey — The parsed license object, including saving and loading signed responses.
- Response — The response envelope before its license data has been verified and parsed.
- RSAPublicKey — The XML RSA public key used to check license signatures.
- Settings
FAQ
Which Reference Should I Use?
Which Reference Should I Use?
Use Python 3 when you install
licensing with pip. Use Python 2 / IronPython when you copy cryptolens_python2.py into an older application. Their available methods and parameters differ; the legacy implementation is not a copy of every Python 3 feature.Can I Call Every Web API Method Through This SDK?
Can I Call Every Web API Method Through This SDK?
No. These pages list the methods this SDK exposes. If a Web API method has no Python wrapper, use its documented HTTP endpoint. For example, retrieving an existing customer secret requires GetCustomers; the Python SDK has no
Customer.get_customers method.Does a Successful SDK Call Complete Every License Check?
Does a Successful SDK Call Complete Every License Check?
Key.activate and Key.get_key verify the returned license signature. Your application still decides whether the license permits the requested work. See the license-check FAQ for product, feature, expiry, blocking and machine checks.