iil-learnfw
Django Learning Platform Framework — Courses, Quizzes, Certificates, Gamification, SCORM.
Part of the IIL Platform ecosystem.
Architecture Decision
- ADR-139: Package design, models, services, API
- ADR-140: Learn-Hub (central deployment using this package)
- ADR-137: Multi-Tenancy (TenantManager, RLS)
Installation
# Minimal
pip install iil-learnfw
# All extras
pip install "iil-learnfw[all]"
# Specific extras
pip install "iil-learnfw[api,tenancy,certificates]"
Quick Start
# settings.py
INSTALLED_APPS = [
"iil_learnfw", # Python module name (pip package: iil-learnfw)
...
]
IIL_LEARNFW = {
"TENANT_AWARE": True, # Enable multi-tenancy (requires `tenancy` extra)
"AUTHORING_ENABLED": True, # Allow course creation via admin/API
"ENROLLMENT_MODE": "self_enroll", # Options: self_enroll | invite_only | open
}
# urls.py
from django.urls import include, path
urlpatterns = [
path("schulungen/", include("iil_learnfw.urls")),
]
Extras
| Extra | Dependencies | Features |
|---|---|---|
api |
djangorestframework, drf-spectacular | REST API + OpenAPI docs |
tenancy |
django-tenancy | Multi-tenant support (ADR-137) |
certificates |
weasyprint, qrcode | PDF certificates with QR verification |
pptx |
python-pptx | PPTX slide import, auto-split |
scorm |
lxml | SCORM 1.2/2004 import/export |
markdown |
markdown, pymdown-extensions | Markdown content rendering |
grading |
httpx | External grading service integration |
all |
All of the above | Full feature set |
Modules
| Module | Responsibility |
|---|---|
iil_learnfw.courses |
Course → Chapter → Lesson, Categories, Enrollment |
iil_learnfw.content |
Content backends: Markdown, PDF, PPTX |
iil_learnfw.progress |
User progress tracking, completion |
iil_learnfw.assessments |
Quizzes, questions, attempts, scoring |
iil_learnfw.certificates |
PDF generation, verification URLs |
iil_learnfw.onboarding |
Mandatory courses, checklists |
iil_learnfw.gamification |
Points, badges, streaks, leaderboards |
iil_learnfw.scorm |
SCORM import/export |
Deployment
Run migrations after installation:
python manage.py migrate
For multi-tenant setups, configure TENANT_AWARE: True in IIL_LEARNFW and ensure each request carries a tenant_id (see ADR-137).
Production checklist:
- Set
DEBUG=Falseand configureALLOWED_HOSTS - Configure media storage (PDF certificates, PPTX uploads)
- Set
CACHESto Redis for session/progress caching
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iil_learnfw-0.6.0.tar.gz.
File metadata
- Download URL: iil_learnfw-0.6.0.tar.gz
- Upload date:
- Size: 68.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
504fe04ebf2724fd4a01cd20120806c13d57459f65310fce60ecbec2ea05cebb
|
|
| MD5 |
f6f2e408627477cfcd5cf7fc53800a0c
|
|
| BLAKE2b-256 |
276575b83213eded8302b0db31db302e88ef08b113a91a1e812bd34f9c9a329e
|
Provenance
The following attestation bundles were made for iil_learnfw-0.6.0.tar.gz:
Publisher:
publish.yml on achimdehnert/learnfw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iil_learnfw-0.6.0.tar.gz -
Subject digest:
504fe04ebf2724fd4a01cd20120806c13d57459f65310fce60ecbec2ea05cebb - Sigstore transparency entry: 2696191343
- Sigstore integration time:
-
Permalink:
achimdehnert/learnfw@59e171e7998818597fefcbc858c381857278864c -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/achimdehnert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@59e171e7998818597fefcbc858c381857278864c -
Trigger Event:
push
-
Statement type:
File details
Details for the file iil_learnfw-0.6.0-py3-none-any.whl.
File metadata
- Download URL: iil_learnfw-0.6.0-py3-none-any.whl
- Upload date:
- Size: 71.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c092c24e190c3d1f7c3b4e139c45b93688a902c5ac70a212ef65e7e0630cd562
|
|
| MD5 |
5bcb61e33868b594487e1f8cd15ff260
|
|
| BLAKE2b-256 |
122d8df9db6f5001419139afa43ffc9bdbae5ba1f2cc76f05ea895896f9dc9a9
|
Provenance
The following attestation bundles were made for iil_learnfw-0.6.0-py3-none-any.whl:
Publisher:
publish.yml on achimdehnert/learnfw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iil_learnfw-0.6.0-py3-none-any.whl -
Subject digest:
c092c24e190c3d1f7c3b4e139c45b93688a902c5ac70a212ef65e7e0630cd562 - Sigstore transparency entry: 2696191426
- Sigstore integration time:
-
Permalink:
achimdehnert/learnfw@59e171e7998818597fefcbc858c381857278864c -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/achimdehnert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@59e171e7998818597fefcbc858c381857278864c -
Trigger Event:
push
-
Statement type: