Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Proctor Exam Xblock

Xblock restricting access to course test to Proctor Exam monitoring process.

CircleCI

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)

Download files

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

Source Distribution

xblock-proctor-exam-0.9.0b0.tar.gz (211.0 kB view details)

Uploaded Source

Built Distribution

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

xblock_proctor_exam-0.9.0b0-py2.py3-none-any.whl (222.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file xblock-proctor-exam-0.9.0b0.tar.gz.

File metadata

  • Download URL: xblock-proctor-exam-0.9.0b0.tar.gz
  • Upload date:
  • Size: 211.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

File hashes

Hashes for xblock-proctor-exam-0.9.0b0.tar.gz
Algorithm Hash digest
SHA256 8ddc68bebaec540cd861969f63c3a9498cf7f81b900f1499b2e44a57244caec4
MD5 5a95c97670422cb1941da3280591838e
BLAKE2b-256 76d34b8fe0d8e887d2a1ac11765dfc8db21c01d370f4246e1c162b6c941ea970

See more details on using hashes here.

File details

Details for the file xblock_proctor_exam-0.9.0b0-py2.py3-none-any.whl.

File metadata

  • Download URL: xblock_proctor_exam-0.9.0b0-py2.py3-none-any.whl
  • Upload date:
  • Size: 222.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

File hashes

Hashes for xblock_proctor_exam-0.9.0b0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8ac6dcb233b91014d5bb12f96f73471d273d474d0a9a8d6734b06c060c168958
MD5 2e41eaca9f3e3472153e694238400600
BLAKE2b-256 10ca728f5dc2eef96e251cc0109ba6d4850406f1d07bc039e813bce2c79e9b60

See more details on using hashes here.

Supported by

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