Skip to main content

Create shortcuts to latest submitted MS teams assignment versions

Project description

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:

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

submissionsync-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

submissionsync-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file submissionsync-0.1.0.tar.gz.

File metadata

  • Download URL: submissionsync-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for submissionsync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1dc425e4ace63311ed2bf6fecbeb163f226740c579c0a0b15f94ad478003418
MD5 b3964d93334ed301aa3887e3f4286ece
BLAKE2b-256 51f64a8f0a67446806c5571a37595b18506a71637f47bbcdda2340af670654e5

See more details on using hashes here.

File details

Details for the file submissionsync-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: submissionsync-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for submissionsync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fafe07078df29fbdd4663a03547512ec877bebda846695de477c8a14bcca0713
MD5 d098744341fb937d9d22d27b8c94dfb0
BLAKE2b-256 05a90fc015b3272ada1733460ce38bd007e964e7da1a6e0cb6ad7e0e39c5411d

See more details on using hashes here.

Supported by

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