Package for easily adding a course on UWaterloo's QUEST.
Project description
This python package allows one to easily interact with the University of Waterloo’s QUEST system to easily add a course.
Install
The Repository
You can install this package from source using:
git clone https://github.com/kcolford/uwaterloo-addcourse.git cd uwaterloo-addcourse python setup.py install
PyPi
Using easy_install, you just have to invoke:
easy_install uwaterloo-addcourse
You can use pip to install this package with just:
pip install uwaterloo-addcourse
You can also navigate to our PyPi page and choose one of the download links at the bottom.
Usage
There are two ways to use this API: the command line and the python interpreter. Note that when using the interpreter, you have more control over the queries you would have when using the command line. Although the command line is far more user friendly.
Command Line
To add a class from the command line, simply invoke the helper script like so:
user@computer:~/$ addcourse Desired Course: cs246 QUEST ID: jsmith Password: ...
For command line arguments, see addcourse --help.
Python Interpreter
Simply write a script like so:
#! /usr/bin/env python from addcourse import * addcourse('jsmith', 'password123', numbers('cs246'))
Note that the call to numbers fetches a list of class numbers that correspond to the given course code (in this case 'cs246'). You can then use a splicing or other list manipulations to delete classes you don’t want or add alternative classes that you do want. See pydoc addcourse for more information.
License and Disclaimer
Copyright (C) 2015 Kieran Colford
This file is part of UWaterloo-AddCourse.
UWaterloo-AddCourse is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
UWaterloo-AddCourse is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with UWaterloo-AddCourse. If not, see <http://www.gnu.org/licenses/>.
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for uwaterloo-addcourse-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 012f9ab040da4d5e66de10323af32532dd9f60c79894d830e29e9ba7b0bbbab5 |
|
MD5 | d9c519d9a04c2639b9895afda02ffb1f |
|
BLAKE2b-256 | 114ba8fb8731862dbbc22f9108c571b83f6180f7a30c183d055ffe0d6508ba81 |
Hashes for uwaterloo_addcourse-1.0.5-py3.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | e92bda95bf891ff46645cee4924528a3ce2494f4e045f8122d937784da7e287e |
|
MD5 | 7b8655a89fa08d1db1ab5b4106751f39 |
|
BLAKE2b-256 | 7ac83dc32cb9a5dd2a45263cbcb6504bfdc759414153fee02ed85a0df8eb1932 |
Hashes for uwaterloo_addcourse-1.0.5-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | fadd24cca70ea6cac8656c44eba0f64303e4ecb740ea757531abec6c9418e4c8 |
|
MD5 | d57fc07771085382e878bc37da780c15 |
|
BLAKE2b-256 | 2bfd8dd14e28ff3f2b58f813d930f5cd2c871238a8e6a8e8045b3c84810493e0 |
Hashes for uwaterloo-addcourse-1.0.5.win32.msi
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da384c3bb0c712a156e49c8a6b38b7ec91fa7b8dc77f5fdcbc1ff99cf26958b |
|
MD5 | d565264823503b2c28b1c0fde6c0410a |
|
BLAKE2b-256 | e4b95680278e5d789468d1ec2e5b89a0ee403d4dec7e7de6c10db0b1f4257d43 |
Hashes for uwaterloo-addcourse-1.0.5.win32.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b3b9cdc16ebafb1c11ab6eb6756a0f3b9be344d8181043953aedd208fb5cb5b |
|
MD5 | 39bf675bea76a2d5c853f24648429c64 |
|
BLAKE2b-256 | 0087b92c809c3e8cbbec8e5056c3b4e61de3bf8ea306481e484d6de78849b6ba |