Skip to main content

A generic homework checker.

Project description

Homework checker

This is a python module and script that can be used to check homeworks.

The idea behind the script is the following:

  • There is a homework yaml file, see homework.yml that follows the schema
  • In this file we define the structure of the homework
  • The homework checker library knows how to execute certain types of tasks following the guides in the yaml file

It is expected that the submitted homework will follow the folder structure specified in the homework.yml file.

Core functionality

Run different tests

For now we support running tests for code written in different languages:

  • c++
  • bash

Inject data into homeworks

We sometimes want to inject a certain folder before running tests, there is an option to do this here.

How it works

I will probably not go into details here at this level of the package maturity. For now you can start digging from the check_homework.py script and hopefully the code is clear enough. You can also look at the homework.yml file that we use to test all the implemented functionality.

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

homework_checker-2.0.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

homework_checker-2.0.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file homework_checker-2.0.0.tar.gz.

File metadata

  • Download URL: homework_checker-2.0.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for homework_checker-2.0.0.tar.gz
Algorithm Hash digest
SHA256 04eddc523dced9c8b2f64936fdf8ac29f1f033ca9c10929a1a84beaaa4142052
MD5 7064fca33ce8d378a8e6418466893a00
BLAKE2b-256 e6619368bf0e56676f861ef64858c60e84c6699bada0c463da36a3da23923143

See more details on using hashes here.

File details

Details for the file homework_checker-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for homework_checker-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 587aa6e720e4c0c4ac0f064234bb254f6103d9193042ccaaa74c57b1b72e7f85
MD5 d1116237eab94a919ca2a1f4eee1c56f
BLAKE2b-256 adca8d563ab33f21163e695a9b2aeacf9185a341fe49275706c4ad9c8cbcab2b

See more details on using hashes here.

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