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
- Log in autograder.io with your web browser
- Open browser developer tools
- Click on a course link
- In the developer console, click on a request, e.g.,
my_roles/
orprojects/
) - 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.1.tar.gz
(20.0 kB
view hashes)
Built Distribution
agiocli-0.1.1-py3-none-any.whl
(12.7 kB
view hashes)