Skip to main content

A command line interface to autograder.io

Project description

Autograder.io CLI

Autograder.io CLI (agio) is a command line interface to autograder.io.

Quick start

First, obtain a token (below).

$ pip install agiocli
$ agiocli

Obtaining a Token

  1. Log in autograder.io with your web browser
  2. Open browser developer tools
  3. Click on a course link
  4. In the developer console, click on a request, e.g., my_roles/ or projects/)
  5. Under Request Headers, there is an Authorization entry that looks like "Token ". Copy the hex string and save it to the file .agtoken in your home directory.

Contributing

Install

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -e .[dev,test]

Run tests

$ pytest
$ pytest -vv --log-cli-level=DEBUG

Test code style

$ pycodestyle agiocli tests setup.py
$ pydocstyle agiocli tests setup.py
$ pylint agiocli tests setup.py
$ check-manifest

Regression, including tests and style checks

$ tox

Acknowledgments

Autograder.io CLI is written by Andrew DeOrio awdeorio@umich.edu. Justin Applefield removed bugs and contributed features.

It is based on work by James Perretta (Autograder.io Contrib) and Amir Kamil (Autograder Tools).

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

agiocli-0.1.0.tar.gz (19.7 kB view hashes)

Uploaded Source

Built Distribution

agiocli-0.1.0-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

Supported by

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