submissionsync
Create shortcuts to the latest submitted assignment versions from a hierarchical student work directory structure.
Overview
submissionsync automates the organization of student submissions by creating shortcuts to only the latest version of each assignment. Perfect for managing large volumes of student work organized in the nested directories produced by "MS Teams Assignments".
Features
- 🔗 Automatic shortcut creation to latest submission versions
- 📁 Intelligent filtering of Student Work directories
- ⚡ Modification time caching for performance
- 🔄 Force rebuild option for rechecking all submissions
- 🐛 Debug mode for troubleshooting
- 📊 Optional directory tree visualization
- 🖥️ Cross-platform Python module (shortcuts on Windows)
Installation
pip install submissionsync
Quick Start
Using Defaults
Run with default paths:
submissionsync
This uses:
- Source:
~/UTC Sheffield - Output:
P:\Documents\Student Work - Latest Submissions
Custom Directories
Specify custom source and output paths:
submissionsync /path/to/student/work /path/to/output
Usage
Command Line Interface
submissionsync [SOURCE] [OUTPUT] [OPTIONS]
Arguments:
SOURCE: Source directory containing student work (optional, default:~/UTC Sheffield)OUTPUT: Output directory for shortcuts (optional, default:P:\Documents\Student Work - Latest Submissions)
Options:
--debug Show detailed processing information
--show-tree Display directory tree before processing
--force Force recreation of all shortcuts (ignore cache)
--version Show version and exit
--help Show help message and exit
Examples
# Debug mode with verbose output
submissionsync --debug
# Force rebuild of all shortcuts
submissionsync --force
# Show directory tree and process
submissionsync --show-tree
# Custom paths with options
submissionsync /source/path /output/path --debug --force
Module Usage
Use submissionsync as a Python library:
python -m submissionsync
Available Functions
from submissionsync import (
mask, # Filter mask for relevant directories
get_latest_mtime, # Get latest modification time in path
iter_latest_versions, # Iterate over latest version folders
create_symlink_structure # Main function to create shortcuts
)
Directory Structure
The tool expects a structure like:
Metadata
Release files for submissionsync 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| submissionsync-0.1.1.tar.gz | 8.9 kB | Without provenance | Details for submissionsync-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| submissionsync-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for submissionsync-0.1.1-py3-none-any.whl |
Total release size: 17.6 kB
Release files / submissionsync-0.1.1.tar.gz
| Download URL | submissionsync-0.1.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f801b6568205a24c6db88d093fc7028d72c9a2f1aa8c72caa0be47325f812f24
|
|
BLAKE2b-256 checksum How to use checksums |
c46ee47b16691b943eb2eb2f92aa8403c72b575b771cf62440493071b0f4960e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / submissionsync-0.1.1-py3-none-any.whl
| Download URL | submissionsync-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c11e53c4e94f60d5122b0b3c7dedf049d5102b1ca0691002612f2f92bb4e929b
|
|
BLAKE2b-256 checksum How to use checksums |
a54e94af67f0c35e4e172ce2b8696940b9eea0aa23db6fd28b3156e3fd6d91cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Security for submissionsync 0.1.1
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.