Skip to main content

A package for matching students to test papers in MarkUs

Project description

MarkUs Exam Matcher

Installation

It is recommended to use a virtual environment to install this package, as it contains many pinned runtime dependencies.

Production Installation (Recommended)

To install the production version of the package, run the following command in the console:

$ pip install git+https://github.com/MarkUsProject/markus-exam-matcher.git

Branch Installation

To install the version specified by a particular branch (when permissions are granted), run the following command in the console:

$ pip install git+https://github.com/MarkUsProject/markus-exam-matcher.git@branch_name

Commit Hash Installation

To install the version specified by a specific commit, the commit hash can be used by running the following command in the console:

$ pip install git+https://github.com/MarkUsProject/markus-exam-matcher.git@commit_hash

Usage

This package works under the assumption that the characters to be detected are surrounded by boxes that are placed side-by-side. An example image with this format is displayed below:

Text

Below is a sample usage that generates a prediction from the file shown above, assuming it was titled my_example.jpg.

$ python3 -m markus_exam_matcher ./my_example.jpg digit
0001250981

Developers

  1. First, clone this repository.
  2. Open a terminal in this repo, and create a new virtual environment.
  3. Run `pip install -e ".[dev]" to install the dependencies.
  4. Then run `pre-commit install`` to install the pre-commit hooks (for automatically formatting and checking your code on each commit).

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

markus_exam_matcher-0.1.0.tar.gz (3.2 MB view hashes)

Uploaded Source

Built Distribution

markus_exam_matcher-0.1.0-py3-none-any.whl (3.2 MB view hashes)

Uploaded Python 3

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