QUT Gradescope Auto Submitter
As a QUT student, I was tired of:
- Clicking through Gradescope 50+ times per assignment when trying to see if I met test cases
- Being forced to wait when I'm trying to get quick feedback on my work
- Losing focus context switching between code editor and browser
- Manual file compression, uploads and form submissions
This tool automates the submission process so you can focus on coding, not clicking.
https://github.com/user-attachments/assets/42f96ca3-e640-4c72-8ba7-c43932be0d79
Install
Recommended — pipx (installs the CLI globally, separate from your project venv):
pipx install qut-gradescope-autosubmitter && playwright install chromium
If playwright isn't found after pipx, either pip install playwright once or use pipx install --include-deps qut-gradescope-autosubmitter so the Playwright CLI lands on your PATH.
Other options: pip install qut-gradescope-autosubmitter && playwright install chromium, or clone this repo and pip install -e ..
Run gradescope doctor if anything looks broken after install.
Usage
From your assignment repo (where your code lives):
gradescope init # creates gradescope.yml
gradescope login # once — browser opens for QUT SSO + 2FA
gradescope submit # zip, upload, wait for autograder (optional)
What submit does:
- Reads
gradescope.ymlfor course, assignment, and which files to include. - Builds a zip from tracked git files matching your
includeglobs. - Opens Gradescope in Chromium (or runs headless if you already logged in).
- Finds your course and assignment, uploads the zip, and handles resubmits.
- If
notify_when_graded: true, polls until a score appears in the terminal.
You run this whenever you want feedback — same loop as clicking through Gradescope yourself, minus the manual steps.
Login & session (why not passwords?)
QUT SSO requires 2FA, so the CLI doesn't ask for your password. That would mean storing credentials and trying to script around 2FA — brittle and not worth it for a coursework helper.
Instead, gradescope login opens a normal browser window. You sign in and complete 2FA yourself. The tool saves a Chromium profile under ~/.cache/qut_gradescope (cookies + local storage — like staying logged in on Chrome).
After that, gradescope submit reuses that session. No password in config, no secrets in env vars. If the session expires, run login again.
With a saved session you can set headless: true in config so submit runs without a visible window.
Config (gradescope.yml)
course: "cab201" # partial match on Gradescope course name
assignment: "t6q1" # partial match on assignment name
zip_name: submission.zip
include:
- "*.py"
notify_when_graded: true # wait for autograder score after upload
headless: false
In a git repo, only files from git ls-files are considered (respects .gitignore).
Git hooks (optional)
To submit on every commit from your assignment repo:
gradescope hooks --install post-commit --quick
Remove with rm .git/hooks/post-commit. Install hooks per repo, not in this tool repo.
Requirements
Python 3.8+, QUT Gradescope access, Chromium (via Playwright).
Changelog
2.0.1
gradescope logincloses the browser automatically after SSO (no Enter prompt).
2.0.0
- Browser session auth (
login/ saved profile) — 2FA handled by you once in the browser. - Slimmer CLI, orange Rich output,
includeglobs, git-based bundling. - Pytest CI; removed GitHub Action submit workflows (use local submit or hooks).
1.0.5
- README: QUT 2FA called out explicitly.
- Removed scheduled-submit workflow.
1.0.4
- Python 3.8 compatibility fix (
Optionaltyping in credentials helper).
1.0.3
- Clearer errors for wrong username/password.
- Headless/SSH: link to submission page when the browser can't stay open.
1.0.2
- Maintenance release (tagged on GitHub).
1.0.1
- First public PyPI release.
- Rich CLI, Playwright automation,
gradescope.yml, git hooks, optional GitHub Action submit.
Pre-1.0.1
Early TestPyPI builds before the stable 1.0 line.
Metadata
Release files for qut-gradescope-autosubmitter 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qut_gradescope_autosubmitter-2.0.2.tar.gz | 20.3 kB | With provenance | Details for qut_gradescope_autosubmitter-2.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qut_gradescope_autosubmitter-2.0.2-py3-none-any.whl | Python 3 | none | any | Details for qut_gradescope_autosubmitter-2.0.2-py3-none-any.whl |
Total release size: 37.7 kB
Release files / qut_gradescope_autosubmitter-2.0.2.tar.gz
| Download URL | qut_gradescope_autosubmitter-2.0.2.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74eb752c52841390e90b65c820f98fb07b235cf5903bd34a1c8c52056d8db632
|
|
BLAKE2b-256 checksum How to use checksums |
e45b4ffc3863cd87ba98f56271ddf66bd57d13fe10b4867e980d9b5c00fad8e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logRelease files / qut_gradescope_autosubmitter-2.0.2-py3-none-any.whl
| Download URL | qut_gradescope_autosubmitter-2.0.2-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb7b034c8302d66ac670a05d1ccd602dae2781285e4fa6056e5b7f0c9fc027dc
|
|
BLAKE2b-256 checksum How to use checksums |
43e73eca55f9212ce0aa35126d306d48ece15ab4aceaa44cc87d4edce8c29379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logSecurity for qut-gradescope-autosubmitter 2.0.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for qut_gradescope_autosubmitter-2.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logA 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.