Skip to main content

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

  1. When you have Python and Pip ready, it's as easy as:
    python -m pip install "uoy-assessment-uploader"
    
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uoy-assessment-uploader-1.2.1.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

uoy_assessment_uploader-1.2.1-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file uoy-assessment-uploader-1.2.1.tar.gz.

File metadata

File hashes

Hashes for uoy-assessment-uploader-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d15aeeca9d768f13d2f549c442ec0c7b457f5b3d6b7727f7b599bcb09fa3a156
MD5 c3a8fa575bf66cf2535b4ecc63d94ed6
BLAKE2b-256 33910c444f21b64ee56785cdf6c13e91587eb4677b517e0d635e5455019fe9d6

See more details on using hashes here.

File details

Details for the file uoy_assessment_uploader-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for uoy_assessment_uploader-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dee82d138f0a40f2321ca8b8e4b39e0b689fe849c548f99e7840007c8f61eeb7
MD5 1f007762b604d3357384bf527098c925
BLAKE2b-256 1e9dcae220ff358a02d5259e4ff6d2e6cc7082033988a132db43bf65712c2b20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page