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/
If you have an open exam, help me test the new and improved version!! See here: https://github.com/joelsgp/uoy-assessment-uploader/pull/1
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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed0dd086e667bec7ea68f97d8400416bcf4a6bd87731e31c4158bdce992cc2df |
|
MD5 | 2c883b86dba5f7e4800d37ce852ec6df |
|
BLAKE2b-256 | dd79f6515a5a289827c3688fe3409cf7372c886019161db8c87e9bd328288940 |
Hashes for uoy_assessment_uploader-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0228df7ee6f8a48e0b800a37445e933e7e14e2e6aa1c8c0ee1849d149d6f2e2f |
|
MD5 | 5a528d64643c718e728a194abc9ffa7d |
|
BLAKE2b-256 | 657f6cf92fcd6c4b3bb01467c5395d7981dbc877e5d292115e389a9f48f8155d |