skillfed

learnosity-sdk

Learnosity SDK for Python

learnosity-sdk v0.3.13 194.9K downloads/30d#9,823 on PyPI10
Permissive license Apache 2.0 license. See LICENSE.md for details. Active released

What it is and what it does

Learnosity SDK is an official Python client library for integrating with Learnosity's assessment and educational content APIs. It simplifies two core tasks: generating cryptographically signed security requests for API initialization, and interacting with the Data API to manage assessment content and user data. The SDK handles request signing using consumer credentials, UUID generation for user and session tracking, and provides convenience methods to construct configuration payloads for various Learnosity APIs (Items, Questions, Author, Reports, Question Editor, and Data APIs).

The package is designed for server-side use in web applications that embed Learnosity assessment players or content management tools. It depends only on requests and certifi, making it lightweight to integrate into existing Python applications. Developers use it to securely initialize API sessions from their backend, then pass signed requests to client-side JavaScript that renders assessments or content in the browser.

Use it for:

  • Embed Learnosity assessment players into your web application by generating signed initialization requests server-side.
  • Manage assessment content and student data through the Data API without exposing credentials to the client.
  • Generate unique user and session IDs for tracking student progress across multiple assessment sessions.
  • Build multi-tenant educational platforms that isolate student data using the SDK's request signing mechanism.
  • Integrate Learnosity's question editor or authoring tools into your own content management system.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Learnosity SDK provides Python bindings to create signed security requests for Learnosity APIs and interact with the Data API for assessment and educational content management.

Yes, if you are building on the Learnosity platform. The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It is the official integration library for Python developers working with Learnosity APIs. Install it only if your application actually uses Learnosity services; it is not a general-purpose assessment or educational tool.

Install

learnosity-sdk on PyPI

pip

pip install learnosity-sdk

uv

uv add learnosity-sdk

poetry

poetry add learnosity-sdk

Installing learnosity-sdk

Before you install

Low install friction with only two runtime dependencies (requests and certifi). The package is actively maintained with a recent release in early 2026, and the repository shows ongoing activity.

License in practice

Licensed under Apache 2.0 with permissive terms, allowing commercial and private use with minimal restrictions—suitable for most production applications.

Quickstart

pip install learnosity_sdk

from learnosity_sdk.request import Init
from learnosity_sdk.utils import Uuid

user_id = Uuid.generate()
session_id = Uuid.generate()

items_request = {
    "user_id": user_id,
    "activity_id": "example_activity",
    "session_id": session_id
}

init = Init('items', items_request, consumer_key, consumer_secret)

Verify before relying

  • Exact Python version support (documentation references 'bugfix or security' status branches but does not specify minimum version)
  • Whether all Learnosity API endpoints are covered or if some require direct HTTP calls outside the SDK

Package facts

License Apache 2.0 license. See LICENSE.md for details. (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, certifi
Maintenance actively maintained — 212 days since the last release
Last repo commit
First released
Downloads 194,904/month — #9,823 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: learnosity_sdk-0.3.13-py2.py3-none-any.whl

Tags

learnosity api clientassessment platform sdkeducational api integrationsigned request generationlearnosity python bindingdata api clientassessment content management
assessment-platformapi-clienteducational-tech

More WWW/HTTP packages