Skip to main content

Easily manage homework submissions

Project description

manage your student's homework

Description

assuming you have asked your students to create a repo on github to submit their homework, this script will help you efficiently clone/pull/merge all the repos in a folder, and display a summary of the status of all the repos

Installation

pip install collect-homework

Initial setup

  1. create a folder where you want to clone all the repos
  2. create a file named 00.ids in the folder
    this file should contain the github ids of all the students, one id per line
  3. at that point
    collect-homework clone
    
    will clone all the repos in the folder
  4. in order to pull all the repos in the folder
    collect-homework pull
    
  5. you get the gist of it; type
     collect-homework help
    
    to see all the available commands
  6. of particular interest is the
    collect-homework summary
    
    command, which will display a one-line summary of all repos in the folder
  7. finally you can focus on one or several students by typing e.g. (this makes sense for most commands)
    collect-homework -s "JohnDoe JaneMartin" pull
    

handling repo names

assuming you run this command in a folder e.g. /Users/johndoe/python-homework:

  • then by default all the students are expected to have a repo named python-homework
  • if this does not match your setup, you can specify the repo name in the 00.reponame file
    this one-line file should contain the name of all the repos, e.g. python-homework-2024
  • and if a student does not comply with that name, you can specify the repo name in the 00.ids file by writing student/the-repo instead of just student
    (you can even put the complete github url instead if that's more convenient for you)

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

collect_homework-0.4.1.tar.gz (20.6 MB view details)

Uploaded Source

Built Distribution

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

collect_homework-0.4.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file collect_homework-0.4.1.tar.gz.

File metadata

  • Download URL: collect_homework-0.4.1.tar.gz
  • Upload date:
  • Size: 20.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for collect_homework-0.4.1.tar.gz
Algorithm Hash digest
SHA256 1dfcf70f9e94b6c2fea12d47330e9104e94790aa79975724dff1cddcc672534e
MD5 02abb8e143d5b87d0499b658ef545bba
BLAKE2b-256 41e56c2d4e2b837ef86a6285959eb3a0a72b7f0c5704c038d9f57324862d8d4f

See more details on using hashes here.

File details

Details for the file collect_homework-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for collect_homework-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cfad079c9ca6481c2337256e5d7c41a66419e25e6f0a15d05322cc308244f68
MD5 9d677fead6b09e2cb71008e97250a8ef
BLAKE2b-256 6a3c2dca6c4d297d2c23a8f0800765b66f54df361015ef9c73df6d97b2fa24b6

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