NEMO-online-training
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
- in the configuration, you can specify the number of days to extend the access expiration date by using
- 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) andrecipients(list of email addresses oruserto send to the user) - in the subject and message, the following variables are available:
training_user: the user who is completing the trainingtraining: the training being completedrecord: the record of the training being completedaction: the action being performed (send email action)
- in the configuration, you can specify the email subject, message and recipients by using
- 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)
- in the configuration, you can specify the tool ids to qualify the user on by using
- 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)
- in the configuration, you can specify the access level to grant by using
Display options:
- set
NEMO_ONLINE_TRAINING_ADMIN_NAMEin settings.py to customize the admin section name. Default is "Online training" - set
NEMO_ONLINE_TRAINING_ADMIN_TRAINING_NAMEin settings.py to customize the training model admin name. Default is "Training" - set
NEMO_ONLINE_TRAINING_ADMIN_TRAINING_USER_NAMEin settings.py to customize the training user model admin name. Default is "Training User" - set
NEMO_ONLINE_TRAINING_ADMIN_TRAINING_RECORD_NAMEin 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.3
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 | Actions |
|---|---|---|---|---|
| nemo_online_training-1.3.3.tar.gz | 44.2 kB | Without provenance | Details for nemo_online_training-1.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nemo_online_training-1.3.3-py3-none-any.whl | Python 3 | none | any | Details for nemo_online_training-1.3.3-py3-none-any.whl |
Total release size: 100.7 kB
Release files / nemo_online_training-1.3.3.tar.gz
| Download URL | nemo_online_training-1.3.3.tar.gz |
|---|---|
| Size | 44.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1706bdad88ac195406b7f3423677558416b92c4b89482c0d1acfc8793740ebb9
|
|
BLAKE2b-256 checksum How to use checksums |
dda987e6238bd1ada820fdb784331b05eba7ff45600787c9640c4d8f33df06db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / nemo_online_training-1.3.3-py3-none-any.whl
| Download URL | nemo_online_training-1.3.3-py3-none-any.whl |
|---|---|
| Size | 56.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4efb743213f47ec48e5437f5b0ad95221b1e18ed64b74675575100a3f6e13a9
|
|
BLAKE2b-256 checksum How to use checksums |
8fe40ec38dec8dc4f421f7e81e29f3ed6a9d4734f1afe424078338e3aa371da3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for NEMO-online-training 1.3.3
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.