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.idsin the folder
this file should contain the github ids of all the students, one id per line - at that point
collect-homework clonewill 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 summarycommand, 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.reponamefile
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.idsfile by writingstudent/the-repoinstead of juststudent
(you can even put the complete github url instead if that's more convenient for you)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file collect_homework-0.3.0.tar.gz.
File metadata
- Download URL: collect_homework-0.3.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
560009f84c8967495e62d972826738549e5a608f1527e9d69d4edded9d4ff9ba
|
|
| MD5 |
ee5de24da6992ee50158f385eed8eed1
|
|
| BLAKE2b-256 |
d42b40feb4bd3d3bab434600bc07211a40e3fb745fe6e4eded540559a2db5690
|
File details
Details for the file collect_homework-0.3.0-py3-none-any.whl.
File metadata
- Download URL: collect_homework-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed967dd99f27eab581759d8274689660348f4507fde00c4efd4f47aad0ba85a0
|
|
| MD5 |
58ed2b715f59ad433656ee78fa226bae
|
|
| BLAKE2b-256 |
c3516720c4da8e7a441e0e9e770f8f0bb0b06d01a462755de3ac64142ff71e88
|