Skip to main content

NEMO-online-training

Code style: black PyPI - Python Version PyPI Changelog

Plugin for NEMO to allow users to complete online training even before they have a NEMO account

Installation

python -m install nemo-online-training

in settings.py add to INSTALLED_APPS:

INSTALLED_APPS = [
    '...',
    'NEMO_online_training',
    '...'
]

Usage

Add online trainings in Administration -> Detailed administration -> Online trainings

For each training, you can optionally add an action to be performed when the user completes the training.

The following actions are available:

  • extend the user's access expiration date (if the user is already a NEMO user):
    • in the configuration, you can specify the number of days to extend the access expiration date by using extend_by_days
  • remove the training_required flag from the user
  • send an email
    • in the configuration, you can specify the email subject, message and recipients by using subject (django template syntax allowed), message (django template syntax allowed) and recipients (list of email addresses or user to send to the user)
    • in the subject and message, the following variables are available:
      • training_user: the user who is completing the training
      • training: the training being completed
      • record: the record of the training being completed
      • action: the action being performed (send email action)

Display options:

  • set NEMO_ONLINE_TRAINING_ADMIN_NAME in settings.py to customize the admin section name. Default is "Online training"
  • set NEMO_ONLINE_TRAINING_ADMIN_TRAINING_NAME in settings.py to customize the training model admin name. Default is "Training"
  • set NEMO_ONLINE_TRAINING_ADMIN_TRAINING_USER_NAME in settings.py to customize the training user model admin name. Default is "Training User"
  • set NEMO_ONLINE_TRAINING_ADMIN_TRAINING_RECORD_NAME in settings.py to customize the training record model admin name. Default is "Training Record"

Tests

To run the tests:

python run_tests.py

Metadata

Release files for NEMO-online-training 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NEMO-online-training 1.0.2
File Size Uploaded Provenance Actions
nemo_online_training-1.0.2.tar.gz 34.3 kB Without provenance Details for nemo_online_training-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NEMO-online-training 1.0.2
File Interpreter ABI Platform Actions
nemo_online_training-1.0.2-py3-none-any.whl Python 3 none any Details for nemo_online_training-1.0.2-py3-none-any.whl

Total release size: 79.8 kB

Release files / nemo_online_training-1.0.2.tar.gz

Download URL nemo_online_training-1.0.2.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4a0c9fce2c4130a8e78f5c31bd887fdaa208a0574bfef044dd2066bc86784048
BLAKE2b-256 checksum
How to use checksums
de24cf8ecbc160e69088fb19a5a11fcb5974d4427b47a4e16b5262c274880517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / nemo_online_training-1.0.2-py3-none-any.whl

Download URL nemo_online_training-1.0.2-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
003850a7df36971552dc0e6fc87845af5230635a75b9f4c561469a925f255d38
BLAKE2b-256 checksum
How to use checksums
a8c02c53962d1b9d1ab160173abaffdb2256f26f0c84596f1dece0c1df02905b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for NEMO-online-training 1.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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