Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Concordia Class Search Python module and command line tool

Project description


concordia-class-search is a project containing a Python module used to interact with Concordia University Class Search to view classes and their status. It also contains a simple app to view this information from the command line.


This project uses web scraping to get its data; when the target website is modified or down, this library breaks. Please keep this in mind when using it.


  • Python 3.6


$ pip install concordia-class-search


As a Python module:

import concordia_class_search

terms = concordia_class_search.terms()
careers =
subjects = concordia_class_search.subjects()
classes = concordia_class_search.class_search(term=2171, career='ugrd', subject='comp', number=352)

As a command line application:

$ ccs search -t 2172 -c ugrd -s comp -n 346
COMP 346 - Operating Systems
  number  section         daytime             room         instructor    dates                    term       status
--------  --------------  ------------------  -----------  ------------  -----------------------  ---------  ---------
    1764  DJ-X-LAB 13 Wk  Th 7:45PM - 9:35PM  TBA          Staff         09/05/2017 - 12/04/2017  Fall 2017  Open
    1765  DI-X-LAB 13 Wk  Th 5:45PM - 7:35PM  TBA          Staff         09/05/2017 - 12/04/2017  Fall 2017  Wait List
    1766  DDDB-TUT 13 Wk  Tu 8:30PM - 9:20PM  TBA          Staff         09/05/2017 - 12/04/2017  Fall 2017  Open
    1767  DDDA-TUT 13 Wk  Tu 8:30PM - 9:20PM  TBA          Staff         09/05/2017 - 12/04/2017  Fall 2017  Open
    1768  DD-LEC 13 Wk    Tu 5:45PM - 8:15PM  FG B050 SGW  Staff         09/05/2017 - 12/04/2017  Fall 2017  Open


$ git clone && cd concordia-class-search
$ python3 -m venv venv && source venv/bin/activate
(venv) $ pip3 install -e .[dev]


(venv) $ make tests

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
concordia_class_search-1.2.1-py3-none-any.whl (10.0 kB) Copy SHA256 hash SHA256 Wheel py3
concordia-class-search-1.2.1.tar.gz (7.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page