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
- create a folder where you want to clone all the repos
- create a file named
00.ids
in the folder
this file should contain the github ids of all the students, one id per line - at that point
collect-homework clone
will clone all the repos in the folder - in order to pull all the repos in the folder
collect-homework pull
- you get the gist of it; type
collect-homework help
to see all the available commands - of particular interest is the
collect-homework summary
command, which will display a one-line summary of all repos in the folder - 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 writingstudent/the-repo
instead of juststudent
(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
Built Distribution
File details
Details for the file collect_homework-0.2.2.tar.gz
.
File metadata
- Download URL: collect_homework-0.2.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4db966ec952d3ddbe9fd439b0dafcad0fb17dca671f5e9d06d919342f26d34e |
|
MD5 | e1e876c589dd1f7e757d86f075f38301 |
|
BLAKE2b-256 | 6be551ccbb31437c617745d55b1ba4682ddea93aec48a3b759ac43087366572b |
File details
Details for the file collect_homework-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: collect_homework-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1b121d4dca522301e2adaff300b8fadcdaa0dbb8fa6ddc79f49e402f570f0a7 |
|
MD5 | a1a77d6934681c48908a901fa6465122 |
|
BLAKE2b-256 | 87d6bb80d902b509b37341a08c8b5948a0a4a5b737f91529de7540f36e61cc7f |