The official Python SDK for integrating with the Learnosity platform. It provides tools for generating secure requests, building question and assessment UIs, and interacting with Learnosity APIs. Current version 0.3.13, released November 2024. The SDK is actively maintained, with regular minor releases.
pip install learnosity-sdkVerified import paths — ran on the pinned version, not inferred.
Instantiate the Init class with your consumer key/secret and request parameters, then generate the secure request packet.
Change import to `from learnosity_sdk import Init`.
Use `security` instead of `security_packet`.
Upgrade Python to 3.7 or later.
Use the packet as returned by `init.generate()`.
Set the `domain` to your application's domain (e.g., 'yourcompany.com').
Update to SDK >=0.3.11 to avoid deprecation warnings.