Tool for automating submitting assessments to the University of York Computer Science department.
Project description
uoy_assessment_uploader
PyPI page: https://pypi.org/project/uoy-assessment-uploader/
Install
- When you have Python and Pip ready, it's as easy as:
python -m pip install "uoy-assessment-uploader"
- As shrimple as that
Alternative install
-
You can also install it directly from the repo with pip:
python -m pip install "git+https://github.com/joelsgp/uoy-assessment-uploader.git"
-
Or on an alpm (Arch) Linux system you can get it from the AUR at https://aur.archlinux.org/packages/uoy-assessment-uploader.
paru uoy-assessment-uploader
Use
Like this:
-
python -m uoy_assessment_uploader --help
or -
uoy-assessment-uploader --help
Once it's submitted, you should receive an email to your uni address with confirmation. The email will show you the MD5 hash, like so:
MD5 hash of file: 97f212cda7e5200a67749cac560a06f4
If this matches the hash shown by the program, you can be certain you successfully uploaded the right file.
Example
uoy-assessment-uploader --dry-run \
--username "ab1234" --exam-number "Y1234567" \
--submit-url "https://teaching.cs.york.ac.uk/student/2021-2/submit/COM00012C/901/A"
Found file '/home/joelm/src/uoy-assessment-uploader/exam.zip'.
MD5 hash of file: 8bbd39fa6a215eb1ea43c34b0da764b9
Loading cookie file 'cookies.txt'
Loaded cookies.
Logging in..
Logging in from scratch.
Password: <PASSWORD HIDDEN>
Logged in.
Entering exam number..
Entered exam number.
Uploading file...
Skipped actual upload.
Saving cookie file 'cookies.txt'
Saved cookies.
Finished!
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
Hashes for uoy-assessment-uploader-1.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d15aeeca9d768f13d2f549c442ec0c7b457f5b3d6b7727f7b599bcb09fa3a156 |
|
MD5 | c3a8fa575bf66cf2535b4ecc63d94ed6 |
|
BLAKE2b-256 | 33910c444f21b64ee56785cdf6c13e91587eb4677b517e0d635e5455019fe9d6 |
Hashes for uoy_assessment_uploader-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dee82d138f0a40f2321ca8b8e4b39e0b689fe849c548f99e7840007c8f61eeb7 |
|
MD5 | 1f007762b604d3357384bf527098c925 |
|
BLAKE2b-256 | 1e9dcae220ff358a02d5259e4ff6d2e6cc7082033988a132db43bf65712c2b20 |