Automated Gradescope submission tool for QUT students with a pretty CLI interface
Project description
QUT Gradescope Auto Submitter
One command to submit assignments to Gradescope. No more repetitive clicking.
gradescope submit
Why This Exists
As a QUT student, I was tired of:
- Clicking through Gradescope 50+ times per assignment during rapid iteration
- Waiting for pages to load when testing different approaches
- Losing focus switching between code editor and browser
- Manual file compression, uploads and form submissions
This tool automates the entire submission process so you can focus on coding, not clicking.
⚡ Quick Start
# Install
pip install qut-gradescope-autosubmitter && playwright install chromium
# One-time setup
gradescope init # Create config file
gradescope credentials # Save QUT login
# Daily usage
gradescope submit # Submit current assignment
That's it. No more manual submissions.
Or use it with your existing repository as a Github Action 😊
🔄 How It Works
- 🔐 Authenticates with QUT SSO - Handles university login automatically (using Playwright)
- 🎯 Navigates to Gradescope - Finds your course and assignment using smart matching
- 📦 Bundles your files - Creates submission zip (respects .gitignore)
- ⬆️ Submits automatically - Handles uploads and form submission
- 📊 Shows your grade - Displays results when available
Everything runs locally using browser automation. No data leaves your machine except for the normal submission to Gradescope.
✨ Key Features
🎨 Beautiful Terminal Interface
Modern CLI built with Rich - panels, progress bars, and custom themes that make terminal work enjoyable.
🔐 Flexible Authentication
- Session persistence - Stay logged in between submissions (faster)
- Multiple credential options - Environment variables, .env files, or interactive prompts
- Manual login mode - Browser-based authentication for maximum security
🤖 Smart Automation
- Fuzzy matching - Finds courses/assignments even with partial names
- Automatic file detection - Bundles relevant files intelligently
- Git integration - Optional hooks for submit-on-commit workflows
- CI/CD ready - GitHub Actions support for automated submissions
🛠️ Developer Experience
- Cross-platform - Windows, macOS, Linux support
- Rich help system - Beautiful documentation and error messages
- System diagnostics - Built-in troubleshooting tools
- Customizable UI - Adjust colors and behavior to your preference
⚙️ Basic Configuration
Create gradescope.yml in your project:
# Required: Course and assignment details
course: cab201 # Course code (must partially match Gradescope course name)
assignment: t6q1 # Assignment name (must partially match Gradescope assignment name)
# Optional: Submission settings
zip_name: submission.zip # Name of the zip file to create and submit
bundle: # File patterns to include in submission
- "*" # Everything (respects .gitignore)
# - "*.py" # All Python files
# - "*.cpp" # All C++ files
# - "*.h" # All header files
# - "src/**/*" # Everything in src directory
# Optional: Behaviour settings
notify_when_graded: true # Wait for and display grade (default: true)
headless: false # Run browser in background (default: false)
always_fresh_login: false # Always login fresh
manual_login: false # Open browser for manual login
no_session_save: false # Don't save credentials to session env vars
🔗 Automation Options
🪝 Git Hooks (submit to Gradescope before/after every commit):
gradescope hooks # Interactive setup
🤖 GitHub Actions (cloud automation): See GitHub Actions Setup Guide for complete configuration.
📚 Documentation
- Command Reference - Complete command guide with examples
- Credential Management - Security options and setup
- Automation Setup - Git hooks and CI/CD integration
⚠️ Important Notes
Current Status:
- ✅ PyPI Release - Available on PyPI
- ✅ Stable Features - Core submission functionality is reliable and tested
Usage Responsibility:
- This tool is provided "as-is" for legitimate academic use
- Users are responsible for complying with QUT academic integrity policies
- Avoid excessive submissions that may trigger rate limiting on QUT SSO
- Use session persistence (default) to minimize login requests
Limitations:
- Requires QUT SSO access and Gradescope course enrollment
- May break if QUT or Gradescope significantly change their interfaces
- Some specialized assignment types may not be supported
📋 Requirements
- Python 3.8+
- QUT student account with Gradescope access
- Internet connection for initial setup and submissions
🔧 Troubleshooting
Common issues:
- Installation errors: Try the separate dependency installation method above
- Login failures: Use
gradescope credentialsto reconfigure - Assignment not found: Check course code and assignment name in config
- Browser issues: Run
gradescope doctorfor system diagnostics
For detailed troubleshooting, see the Command Reference or run gradescope --help.
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
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 qut_gradescope_autosubmitter-1.0.2.tar.gz.
File metadata
- Download URL: qut_gradescope_autosubmitter-1.0.2.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5e9bfb253981a180175933fb54a7029b8aceadeb007c4320ddb2c622b6e39e8
|
|
| MD5 |
84c069fae560c0bd5d878baf9e329b1c
|
|
| BLAKE2b-256 |
3ed73a2bd25a51de195ee866369049cc27541dd34de2fec483f2bb99172e5bdd
|
Provenance
The following attestation bundles were made for qut_gradescope_autosubmitter-1.0.2.tar.gz:
Publisher:
python-publish.yml on danieltsam/qut-gradescope-autosubmitter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qut_gradescope_autosubmitter-1.0.2.tar.gz -
Subject digest:
f5e9bfb253981a180175933fb54a7029b8aceadeb007c4320ddb2c622b6e39e8 - Sigstore transparency entry: 484856286
- Sigstore integration time:
-
Permalink:
danieltsam/qut-gradescope-autosubmitter@5c35eb687be0bf0a8361be46817ab41188522c8d -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/danieltsam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5c35eb687be0bf0a8361be46817ab41188522c8d -
Trigger Event:
release
-
Statement type:
File details
Details for the file qut_gradescope_autosubmitter-1.0.2-py3-none-any.whl.
File metadata
- Download URL: qut_gradescope_autosubmitter-1.0.2-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf03a4cfa28b75c4ff78912290de90534a876692d683e6713b5c843dd962e5bc
|
|
| MD5 |
2289c607bcf2233be9cb11e8cccd6fed
|
|
| BLAKE2b-256 |
13a946e3f41c5ad2f107600cc32cdf902ea01b794ec5b797788e83c901e253d5
|
Provenance
The following attestation bundles were made for qut_gradescope_autosubmitter-1.0.2-py3-none-any.whl:
Publisher:
python-publish.yml on danieltsam/qut-gradescope-autosubmitter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qut_gradescope_autosubmitter-1.0.2-py3-none-any.whl -
Subject digest:
bf03a4cfa28b75c4ff78912290de90534a876692d683e6713b5c843dd962e5bc - Sigstore transparency entry: 484856299
- Sigstore integration time:
-
Permalink:
danieltsam/qut-gradescope-autosubmitter@5c35eb687be0bf0a8361be46817ab41188522c8d -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/danieltsam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5c35eb687be0bf0a8361be46817ab41188522c8d -
Trigger Event:
release
-
Statement type: