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',
    '...'
]

NEMO Compatibility

NEMO-Online-Training NEMO NEMO-CE
>= 1.3.0 >= 8.1.0 >= 8.1.0
>= 7.4.0 >= 7.4.0

Usage

Add online training 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)
  • qualify the user on a tool
    • in the configuration, you can specify the tool ids to qualify the user on by using tool_ids (list of tool ids)
  • grant physical access level to the user
    • in the configuration, you can specify the access level to grant by using physical_access_level_ids (list of physical access level ids)

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

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.3.0
File Size Uploaded
nemo_online_training-1.3.0.tar.gz 41.7 kB Details

Built distribution (wheel)

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

Total release size: 96.5 kB

Release files / nemo_online_training-1.3.0.tar.gz

Download URL nemo_online_training-1.3.0.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
37d3c89fe2cc703a74bab67592d139ea337bdc4276c45bfab79d31870f839fe6
BLAKE2b-256 checksum
How to use checksums
9a7ccfbae761e469cf6cc7145920ec6402352ed9651067a7c9aaeeff4f9284ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL nemo_online_training-1.3.0-py3-none-any.whl
Size 54.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33de0a6fd71e70dcb9fc3d0d220df352c104f67945c87d3062e5b142b9554ba9
BLAKE2b-256 checksum
How to use checksums
eb28b6b853b3d5dc426a82d898817781a6167cef90fdf8db0217a779371e3d35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

1.3.2

2 release files

1.3.1

2 release files

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release 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