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
Metadata
Release files for iil-learnfw 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| iil_learnfw-0.6.0.tar.gz | 68.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iil_learnfw-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 139.7 kB
Release files / iil_learnfw-0.6.0.tar.gz
| Download URL | iil_learnfw-0.6.0.tar.gz |
|---|---|
| Size | 68.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
504fe04ebf2724fd4a01cd20120806c13d57459f65310fce60ecbec2ea05cebb
|
|
BLAKE2b-256 checksum How to use checksums |
276575b83213eded8302b0db31db302e88ef08b113a91a1e812bd34f9c9a329e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / iil_learnfw-0.6.0-py3-none-any.whl
| Download URL | iil_learnfw-0.6.0-py3-none-any.whl |
|---|---|
| Size | 71.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c092c24e190c3d1f7c3b4e139c45b93688a902c5ac70a212ef65e7e0630cd562
|
|
BLAKE2b-256 checksum How to use checksums |
122d8df9db6f5001419139afa43ffc9bdbae5ba1f2cc76f05ea895896f9dc9a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logSecurity for iil-learnfw 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for iil_learnfw-0.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.