Skip to main content

Library for autograding Git repositories

Project description

git-autograder

Git Autograder used for Git Mastery exercise solutions.

Installation

pip install git-autograder

Usage

GitAutograderRepo initializes and reads the submission repository. It contains critical information for autograding such as the start commit (denoted by git-mastery-start-<first commit short hash>) and user's commits.

For basic usage:

from git_autograder import autograder, GitAutograderOutput, GitAutograderRepo

@autograder()
def grade(repo: GitAutograderRepo) -> GitAutograderOuput:
  ...

Unit tests

To execute the unit tests, run python -m pytest -s -vv.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

git_autograder-5.0.0b1.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

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

git_autograder-5.0.0b1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file git_autograder-5.0.0b1.tar.gz.

File metadata

  • Download URL: git_autograder-5.0.0b1.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for git_autograder-5.0.0b1.tar.gz
Algorithm Hash digest
SHA256 8d0e4b856014aebde9e79ea5a6f69f8dbfbe12350846e3d13c524484864baaaa
MD5 a3c3573fae01aa4df778de9a08c8553b
BLAKE2b-256 0a9791952e79fa86ba831c78cc911ac668e57dce5a46dc101b6cc453e9bc1b9e

See more details on using hashes here.

File details

Details for the file git_autograder-5.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for git_autograder-5.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d85ef2f46e3d1209578400a3a88837b5cc34d4b03c10d55ac69577a1bd408fe
MD5 9adc7f6dfa9c9defe59a28597497ba5d
BLAKE2b-256 0582c01dfac2c3f312d46aa149da8d2e78357b3fd15892d10560608268d7f3d0

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