Skip to main content

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=False and configure ALLOWED_HOSTS
  • Configure media storage (PDF certificates, PPTX uploads)
  • Set CACHES to 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

iil_learnfw-0.6.0.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iil_learnfw-0.6.0-py3-none-any.whl (71.3 kB view details)

Uploaded Python 3

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

Hashes for iil_learnfw-0.6.0.tar.gz
Algorithm Hash digest
SHA256 504fe04ebf2724fd4a01cd20120806c13d57459f65310fce60ecbec2ea05cebb
MD5 f6f2e408627477cfcd5cf7fc53800a0c
BLAKE2b-256 276575b83213eded8302b0db31db302e88ef08b113a91a1e812bd34f9c9a329e

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_learnfw-0.6.0.tar.gz:

Publisher: publish.yml on achimdehnert/learnfw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for iil_learnfw-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c092c24e190c3d1f7c3b4e139c45b93688a902c5ac70a212ef65e7e0630cd562
MD5 5bcb61e33868b594487e1f8cd15ff260
BLAKE2b-256 122d8df9db6f5001419139afa43ffc9bdbae5ba1f2cc76f05ea895896f9dc9a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_learnfw-0.6.0-py3-none-any.whl:

Publisher: publish.yml on achimdehnert/learnfw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.4

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page