Skip to main content

No project description provided

Project description

Moodle Marking Tools

PyPI - Version PyPI - Python Version


Table of Contents

Overview

Moodle is a learning management system. It can be used to coordinate marking of student work via 'assignments'.

Online marking is well-supported for certain filetypes, such as MS Word. But mathematicians will find it easier to download PDF submissions in bulk, annote offline, then upload back to Moodle.

The tools in this package are designed to make uploading and annotation more streamlined.

Installation

Assuming you have a modern Python installation, just type

pip install moodlemarking

at the command prompt to install this package. Note: if this doesn't work, try

pip3 install moodlemarking

Process

Marking

  • From the relevant Moodle assignment, select the submissions you wish to mark, then click 'Grading Action'.
  • Click 'Export grading sheet' to download a CSV file of blank grades.
  • Go through the proces above, selecting, 'Download submissions' from the 'Grading Action' dropdown. This downloads a folder of submissions.
  • Mark the submissions by annotating the original submission files.
  • Enter marks in the downloaded grading sheet.

Preparing feedback for upload

  • Open the command prompt / terminal.
  • Type moodlezip <root_directory> <output_zip> where <root_directory> is the location of the folder containing the marked student submissions and <output_zip> is the name of the zip file (to be created) that will contain the feedback, ready for upload.

Uploading marks and feedback

  • Return to Moodle. Select the relevant assignment and click 'Grading Action'.
  • Click 'Upload grading worksheet' and select the CSV file you edited in the previous part of the process.
  • Again click 'Grading Actions' and select 'Upload feedback files in a zip'. Select the zip file you created in 'Preparing feedback for upload'.

Adding margins

I include a separate helper tool that adds a left margin to PDFs. This margin can be used for additional comments. Optionally, a top margin can be added.

To use the tool, simply type

add_margin <source_file> <output_file>

at the command prompt. This adds a 200-pixel blank left margin. You may specify the width of the left margin as:

add_margin <source_file> <output_file> -ml MARGIN_WIDTH

and the top margin as

add_margin <source_file> <output_file> -mt MARGIN_HEIGHT

Both the -ml and -mt flags can be combined.

Building the package

If you want to work on this Python package, first clone the repository. Within the repository, you can build the package using

hatch build

and publish via

hatch publish

License

moodlemarking is distributed under the terms of the MIT license.

Project details


Download files

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

Source Distribution

moodlemarking-0.0.1a0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

moodlemarking-0.0.1a0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file moodlemarking-0.0.1a0.tar.gz.

File metadata

  • Download URL: moodlemarking-0.0.1a0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for moodlemarking-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 0b9b174784dd3f24d031abcc49a2ed322477bc21fe684a87b7ec5e3c144a23c3
MD5 e29877f9d1190d5db2e95cc55b475194
BLAKE2b-256 53b33c36a7f06a6829d081ee4fb9d6c0c4ea2651cc174e9788736274900fbe16

See more details on using hashes here.

Provenance

File details

Details for the file moodlemarking-0.0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for moodlemarking-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 a18b7023f5c8770c276ab681c774cebabd5b53c6a0b19b483c9967d2e4ad9bb9
MD5 d44c782b77c7f5b81337b77ac61f70f1
BLAKE2b-256 9bdf7f2dccc986f1b610777be7944f6803140440730ace4ed629f91411d640c6

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page