Skip to main content

A command-line tool for managing assignments using the Temmies library

Project description

temmies-cli

Command Line tool using the temmies library

Installation

[!NOTE] I am currently working on an arch linux package for this tool (AUR). Open an issue if I forget and/or you want me to package it for another distro. A bash script is also in the works.

pipx install temmies-cli

Usage

temmies init <year>/<course>(/<assignment>) <path>

Initialize a new assignment

temmies init <year>/<course>/<assignment> <path>

temmies init 2024-2025/advalgo/labs-wk2 .

Initializing an entire course

temmies init <year>/<course>

Optional args

  • -s : Search for an assignment instead of providing the link i.e. temmies init -s "Advanced Algorithms" .
  • -t <path>: Specify where you want your tests to be (relative to the parent of each assignment folder). Default is ..
  • -f <path>: Specify where you want your files to be (relative to the parent of each assignment folder). Default is ..

File hierarchy example

Once the command is ran:

 .
├── practical_1
│   ├── pizza
|   |   | .temmies <-- This is the temmies file which lets you do `temmies submit`
│   │   ├── tcs
│   │   │   ├── 1.in
│   │   │   ├── 1.out
│   │   │   ├── 6.in
│   │   │   ├── 6.out
│   └── tunnel
|   |   | .temmies <-- there's one of these in each assignment folder
│   │   ├── tcs
│   │   │   ├── 1.in
│   │   │   ├── 1.out
│   │   │   ├── 2.in
│   │   │   ├── 2.out
│   │   │   ├── 3.in
│   │   │   ├── 3.out

temmies submit <file>

temmies submit main.c Submits a file to the relevant assignment. You can pass multiple files as well.

Optional args

  • -q : Quiet submission, don't wait for output

temmies status

Shows an overview of the current assignment's status.

Optional args

  • -d : Adds some more detail (i.e. the leading submission)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

temmies_cli-1.0.12-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file temmies_cli-1.0.12-py3-none-any.whl.

File metadata

  • Download URL: temmies_cli-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for temmies_cli-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1f4639b36970f1d147e29a80b08b5872eae261f24606e9065d83cf37918a7062
MD5 aa90b1283f5d8765e02e60f3808ce9e3
BLAKE2b-256 760dc172e7cde1f7190d94583b5a90cce106ec75a621adba9e41b137c27c7643

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