Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 

debannerizer

A Python tool for scraping class schedules from the Mines Self-Service Banner system into a database. Produced as a final project for CSCI-403 by Jack Rosenthal, Ariel Shlosberg, and Nicholas Lantz (aka. That Rubik's Cube Team).

Required Packages

Install these using pip (or however you like). You should install them for Python 3.

SQLAlchemy
psycopg2
beautifulsoup4
lxml
PyYAML

Usage Instructions

You're going to need to setup config.yaml with the connection to the database. There's a sample config.yaml to give you an idea how this looks. You can even use a different database connector (SQLite for example).

To import data, use the import_tool.py, providing the term (as banner likes it in its post requests) as the only argument, like so:

$ python3 import_tool.py 201710

The 201710 is the way that banner represents terms, the format is relatively trivial, the first four digits are the year, and then the month of the start of the term follows as the next digit, followed by a zero to fill.

We included some cool examples of how to use the data with SQLAlchemy in examples.py.

About

A Python tool for scraping class schedules from the Mines Self-Service Banner system into a database.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages