learnosity-sdk
Learnosity SDK for Python
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-sdkuv
uv add learnosity-sdkpoetry
poetry add learnosity-sdkInstalling 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
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
SiftPython client library for Sift Science's fraud…
permissive · top 15,000 on PyPI
oktaA Python SDK for the Okta Management APIs,…
permissive · top 5,000 on PyPI
amplitude-analyticsOfficial Amplitude backend SDK for Python that…
permissive · top 5,000 on PyPI
nvidia-lm-evalEvaluates language models against standardized…
permissive · top 15,000 on PyPI
httpx-sseConsume Server-Sent Event (SSE) messages from…
permissive · top 1,000 on PyPI
databricks-sdkProvides Python bindings to all public…
permissive · top 1,000 on PyPI
fastapi-auth0Integrates Auth0 authentication into FastAPI…
permissive · top 15,000 on PyPI
landlockLandlock provides a Python interface to Linux's…
permissive · top 5,000 on PyPI
gooddata-sdkProvides a Python API to interact with GoodData…
permissive · top 15,000 on PyPI
scalewayProvides Python bindings to interact with…
permissive · top 15,000 on PyPI