Proctor Exam Xblock
Xblock restricting access to course test to Proctor Exam monitoring process.
Installation
Install this package with pip using FUN package index via:
$ pip install --extra-index-url https://pypi.fury.io/openfun xblock-proctor-exam
Alternatively, if you intend to work on this project, clone this repository first, and then make an editable installation via:
$ pip install -e ".[dev]"
Configuration
Proctor Exam xblock relies on Configurable LTI Consumer which should also be installed in Python environment, therefore it also use its Django settings for configuration, see Configurable LTI Consumer documentation.
A typical Proctor Exam LTI configuration should look like this:
LTI_XBLOCK_CONFIGURATIONS = [
{
"shared_secret": "TestSharedSecret",
"oauth_consumer_key": "TestOauthConsumerKey",
"display_name": "", # this is required to let xblock register itself in studio
"is_launch_url_regex": False,
"automatic_resizing": None,
"inline_ratio": None,
"ignore_configuration": True,
"show_button": False,
"pattern": ".*fun\.proctorexam\.com/lti\?id=(?P<exam_id>[0-9]+)",
"hidden_fields": [
"display_name",
"description",
"lti_id",
"launch_target",
"inline_height",
"accept_grades_past_due",
"ask_to_send_username",
"ask_to_send_email",
"custom_parameters",
"has_score",
"hide_launch",
"modal_height",
"modal_width",
"weight",
"button_text"
],
"defaults": {
"launch_target": "new_window",
"lti_id": "proctor_exam",
},
}]
configurable-lti-provide also allows to set LTI OAuth credentials in LTI_XBLOCK_CONFIGURATION,
or in an other constant LTI_XBLOCK_SECRETS which then can be stored in encrypted vault.
LTI_XBLOCK_SECRETS = {
"proctor_exam": {
"shared_secret": "TestSharedSecret",
"oauth_consumer_key": "TestOauthConsumerKey",
}
}
Or they can be set at course level in advanced settings
Add finally, proctor_exam to the list of advanced modules in the
"advanced settings" of a course.
Please note that the workbench included in the present repository is running a standard configuration with fake credentials. (see config/settings.yml.dist)
Metadata
Release files for xblock-proctor-exam 1.0.0
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 |
|---|---|---|---|---|
| xblock-proctor-exam-1.0.0.tar.gz | 210.1 kB | Without provenance | Details for xblock-proctor-exam-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xblock_proctor_exam-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for xblock_proctor_exam-1.0.0-py2.py3-none-any.whl |
Total release size: 432.6 kB
Release files / xblock-proctor-exam-1.0.0.tar.gz
| Download URL | xblock-proctor-exam-1.0.0.tar.gz |
|---|---|
| Size | 210.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
404288da9a825ee907d6b77d149d16c9c677dbf9c09881133925bccdeb2ca322
|
|
BLAKE2b-256 checksum How to use checksums |
c27c1447f6fd857ec36b8d0be91c8767adc2716a0ea904e7f4fd7fd23525ece1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18
|
Release files / xblock_proctor_exam-1.0.0-py2.py3-none-any.whl
| Download URL | xblock_proctor_exam-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 222.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bfc000c388bc83c8bf7e43c72db75b8d2f5bf5c7603a306a8cb2e3b1132666f9
|
|
BLAKE2b-256 checksum How to use checksums |
fae9c3293e73421bdbd18f58c6277af523e16bc18233f5f38de8d72ffbcef9eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18
|
Security for xblock-proctor-exam 1.0.0
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.