Skip to main content

progress plugin for Tutor

Project description

Progress plugin for Tutor

Progress plugin for Tutor.

This plugin installs aulasneo/openedx-progress into the Open edX image. See the openedx-progress README for more details about the Open edX Django app, its models, and management commands.

Installation

pip install git+https://github.com/aulasneo/tutor-contrib-progress

Usage

Enable the plugin:

tutor plugins enable progress

After enabling the plugin, rebuild the Open edX image:

tutor images build openedx

If you use a private registry, push the rebuilt image:

tutor images push openedx

Restart containers for local deployments:

tutor local restart

Restart pods for Kubernetes deployments:

tutor k8s start

Then run the init command:

tutor {local|k8s} do init --limit progress

This plugin adds the following manual job:

tutor {local|k8s} do backfill-course-completion-summaries

Useful options:

  • --course-id course-v1:edX+DemoX+Demo_Course limit to a course id.
  • --user-id 123 can be repeated to process specific learners.
  • --batch-size 500 controls database iteration batches.
  • --sleep 0.5 pauses between batches.
  • --dry-run selects learners without writing rows.
  • --force recomputes rows that already exist.

For Kubernetes users, this plugin sets up a CronJob to process dirty course completion summaries every hour at a randomized minute.

For local users, set a cronjob to run tutor local exec lms ./manage.py lms process_dirty_course_completion_summaries periodically.

Configuration

Note: Only relevant for K8s deployments.

  • PROGRESS_COMPLETION_SUMMARIES_SCHEDULE: Set the schedule for processing dirty course completion summaries. Default is "<random-minute> * * * *" (every hour, with a randomized minute).

License

This software is licensed under the terms of the AGPLv3.

Disclaimer

Part of this code was developed with the aid of AI tools.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tutor_contrib_progress-21.0.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

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

tutor_contrib_progress-21.0.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file tutor_contrib_progress-21.0.0.tar.gz.

File metadata

  • Download URL: tutor_contrib_progress-21.0.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tutor_contrib_progress-21.0.0.tar.gz
Algorithm Hash digest
SHA256 a689eeca3a5375a46ceb665ff0b6722ef9a43c84cda2253df0e75337169fe5e5
MD5 50c2479b78da60b3cab964f0025c8364
BLAKE2b-256 642f03d538f145944c81a66e8ba2948b7c3b8f6c21d166644e914654ea55aab4

See more details on using hashes here.

Provenance

The following attestation bundles were made for tutor_contrib_progress-21.0.0.tar.gz:

Publisher: publish.yml on aulasneo/tutor-contrib-progress

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

File details

Details for the file tutor_contrib_progress-21.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tutor_contrib_progress-21.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13f69f2207ef88da8fa2bfde240b101eb773e2d11932dd44bfe27c46367694f6
MD5 24a0f10cce9572b054a4be081d169662
BLAKE2b-256 040c61fad2125a44a31b1a58da2cd7a1e51dd55f60f402c6c2e308bec264a630

See more details on using hashes here.

Provenance

The following attestation bundles were made for tutor_contrib_progress-21.0.0-py3-none-any.whl:

Publisher: publish.yml on aulasneo/tutor-contrib-progress

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page