Home

Awesome

UVACommandLine

UVACommandLine is an interactive command line utility to submit solutions to the UVA online judge, and visualize submission statistics.

Features

UVACommandLine offers the following features:

Requirements

Installation

  1. Install Python if you haven't.
  2. Download this file and run in the downloads folder the following command: python get-pip.py
  3. Download the client git clone https://github.com/teamreactive/UVACommandLine
  4. Activate the virtualenviroment source bin/activate
  5. Run the client: python uva.py
  6. Submit your solutions, view your statistics

Usage

When you run python uva.py in the current virtuel enviroment, and you are not logged, you get a prompt to enter your account credentials (username, password)

alt tag

Once you are logged, you can type one of the currently supported commands:

help

Syntax: help

Prints the menu

whoami

Syntax: whoami

Prints the user information

msubs

Syntax: msubs [itms]

Prints the list of latest submissions by the user, the list should contains itms files. If itms is omitted, the systems asks for the items that you want to include.

alt tag

submit

Syntax: submit

Opens a dialog asking for the language, the problem, and the filename. It submit the solution iff UVA is available.

quit / exit

quit Saves all settings including account info and exits the program.

If you have use the system at least once, you an use it in non-interactive mode:

TODO

Credits

Contributors

The initial prototype of UVACommandLine was pair programmed by Sebastian Valencia and [Juan Camilo Bages] (https://github.com/jcbages).

License

See LICENSE file for information.