Skip to main content

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.

Metadata

Release files for d2lmf 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for d2lmf 0.0.4
File Size Uploaded Provenance Actions
d2lmf-0.0.4.tar.gz 17.5 kB Without provenance Details for d2lmf-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for d2lmf 0.0.4
File Interpreter ABI Platform Actions
d2lmf-0.0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for d2lmf-0.0.4-py2.py3-none-any.whl

Total release size: 25.6 kB

Release files / d2lmf-0.0.4.tar.gz

Download URL d2lmf-0.0.4.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d4c968d731e36157205df509f9a75868e7c3857427ec64355f7f2fe989a8ca4b
BLAKE2b-256 checksum
How to use checksums
4a6352011fe656cdace2062c3209d00c30ecb68258f319f74667461ab2a49e47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / d2lmf-0.0.4-py2.py3-none-any.whl

Download URL d2lmf-0.0.4-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ef1bbb95c2ca5dc74104d08e2c7ab27d536612e99dc1372db7278bc0bcbe9568
BLAKE2b-256 checksum
How to use checksums
87356fd8c27d913acc6343e1e9354589c660ea0863c107f54923fe509dcfd11d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for d2lmf 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page