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.

Example:

submit

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.121-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: temmies_cli-1.0.121-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for temmies_cli-1.0.121-py3-none-any.whl
Algorithm Hash digest
SHA256 2f22a2a6000673ef8e22a84dcbbd35e601770ec65b6ac8c1f305ec33be3e4565
MD5 1ac8c3152ebadff17d5d81b7dc183f54
BLAKE2b-256 5b8b23863753bd8af9a98f7dbaf4c63eb6aca8becf2154ba81cbbb41bbb77ddc

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