Skip to main content

Marker

A marking utility to help automate code testing, and interfacing with the submission platform. Currently, the following platforms are supported:

  • Canvas
  • MarkUs

This package installs the program marker. It can either be run as an interactive REPL or through the command line directly. It supports the following commands:

  • download: Downloads files from the given LMS.
  • prepare: Copies needed files into student directories, compiles code.
  • run: Runs all the test cases, creates logs and compiles marks.
  • upload-marks: Uploads the student marks to the LMS.
  • upload-reports: Uploads the testing logs to the LMS for the student.
  • delete-reports: Deletes the testing logs from the LMS for the student.
  • set-status: Sets the marking state of the submission (MarkUs only).
  • stats: Gives you some basic statistics of the results.

Each of the commands can be run either for individual students or for everyone. Run marker help or marker help command for more information.


How to install

There are 2 ways to install this marker.

(1) Using PIP

This is by far the recommended way of installing this utility. Simply run:

pip install marker

(2) Build from source

Alternatively, if you want to develop, you will need to build from source. First, clone this repository to your machine:

git clone https://github.com/mustafaquraish/marker

Then, go into the cloned repo and use flit to install

cd marker
pip install flit
flit install

How to use

Some examples on how to use this marker with Python and C code are provided in the templates directory, however it is designed to work with any programming language as long as you can run tests from the command line. Even if you're not using C, the template will be helpful in showing you how to set it up to work with your environment.


Full Documentation

Metadata

Release files for marker 2.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marker 2.1.5
File Size Uploaded Provenance Actions
marker-2.1.5.tar.gz 35.8 kB Without provenance Details for marker-2.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for marker 2.1.5
File Interpreter ABI Platform Actions
marker-2.1.5-py3-none-any.whl Python 3 none any Details for marker-2.1.5-py3-none-any.whl

Total release size: 63.2 kB

Release files / marker-2.1.5.tar.gz

Download URL marker-2.1.5.tar.gz
Size 35.8 kB
Tags Source
SHA-256 checksum
How to use checksums
456e61e07b94f375aae6a39de5bd25887eeae05f444e54a0cbd57623a6692202
BLAKE2b-256 checksum
How to use checksums
3cdb99a256c55eb99e5616cf43abd173b00f3e9f882b3e9049ebfaeea4d8107e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / marker-2.1.5-py3-none-any.whl

Download URL marker-2.1.5-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13c00cea810d6c104a6ca5aba61bc1577b1f0d1229cd7c44c4927d195fb08842
BLAKE2b-256 checksum
How to use checksums
87fb6a2e67b8d264ed563fe35e83329015ca49b2188f64d7ec3ffb838d7a1757
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Security for marker 2.1.5

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.

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