A command-line tool to help mark assignments submitted to D2L.
Project description
How to Use
A sample command might be:
d2lmf extract -xjcm "Assignment 1 Download Oct 11, 2015 803 PM.zip" mark/a1/T01
This extracts the submissions from the zip folder into the directory mark/a1/T01. The flags x, j, c and m specify that we want to extract any zip, rar, tar, or 7z archives that students submitted, delete ‘junk’ like .DS_Store, collapse needlessly nested directories, and merge all submitted files into a directory for each student.
On Windows, you may need to invoke d2lmf through Python, like so:
python -m d2lmf extract -xjcm "Assignment 1 Download Oct 11, 2015 803 PM.zip" mark/a1/T01
How to Install
Ubuntu
sudo apt-get install python-pip
sudo pip install d2lmf
OSX
curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
sudo python get-pip.py
sudo pip install d2lmf
Windows
First, download and install Python 2.7 from https://www.python.org/downloads/
Then, install d2lmf with the command below:
python -m pip install d2lmf
Dependencies
The extraction of rar and 7z archives depends on external tools. If you do not have those tools installed, those archives will be skipped.
On Windows, only zip files may be extracted.
Release Status
Note the version number: 0.0.4. There may be bugs, and the interface may undergo significant changes between releases.
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
Hashes for d2lmf-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef1bbb95c2ca5dc74104d08e2c7ab27d536612e99dc1372db7278bc0bcbe9568 |
|
MD5 | 28b3c81d6b6ef83fad16cb60ac940f73 |
|
BLAKE2b-256 | 87356fd8c27d913acc6343e1e9354589c660ea0863c107f54923fe509dcfd11d |