Skip to main content

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)

Metadata

Release files for collect-homework 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collect-homework 0.6.1
File Size Uploaded Provenance Actions
collect_homework-0.6.1.tar.gz 20.6 MB Without provenance Details for collect_homework-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for collect-homework 0.6.1
File Interpreter ABI Platform Actions
collect_homework-0.6.1-py3-none-any.whl Python 3 none any Details for collect_homework-0.6.1-py3-none-any.whl

Total release size: 20.6 MB

Release files / collect_homework-0.6.1.tar.gz

Download URL collect_homework-0.6.1.tar.gz
Size 20.6 MB
Tags Source
SHA-256 checksum
How to use checksums
0e2d9124e32f10011c377dc7f6c23bb55722ddffc9e8eb0b81a91fc6264e5c27
BLAKE2b-256 checksum
How to use checksums
d6b903992e3e2551808030a93ab467024b5a3f32c8768aece7f1371e4ed9f8a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / collect_homework-0.6.1-py3-none-any.whl

Download URL collect_homework-0.6.1-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f5492111c30e0a9a14b2cbc5eec3c0e7b77823e8009162aab48b523f7668d7c
BLAKE2b-256 checksum
How to use checksums
4dd5c18daaaa4148a6ccc346d85194fea5931688b0c31a7c0ab5f99a59661335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for collect-homework 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page