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.1.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

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

markus_exam_matcher-0.1.1-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file markus_exam_matcher-0.1.1.tar.gz.

File metadata

  • Download URL: markus_exam_matcher-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for markus_exam_matcher-0.1.1.tar.gz
Algorithm Hash digest
SHA256 37046c2c4b001cc454dd6f71c306fa1c237ecd0004469dd9bcf39db07f596eb3
MD5 047914dd40d512424b03b73be025555b
BLAKE2b-256 50bb1d5146bed218f889a6914a1c023dd7c9d829947858c7c2788374bd80599d

See more details on using hashes here.

File details

Details for the file markus_exam_matcher-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for markus_exam_matcher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebeeda6fd288914792cfadf3060b0fb279a384c637ea23deeda6e1b3e0f03f56
MD5 74fa600d27a563f49edeffd8a9596210
BLAKE2b-256 9577a8bf6ffb1146c1b1683614da2237cc5a863d321f4ad965e333c89796bf3f

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 Pingdom Monitoring Sentry Error logging StatusPage Status page