/course-calendar-python

Read the UBC Course Calendar data with Python 3

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Course Calendar Python

Get started with reading the UBC Course Calendar CSV data using Python 3.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for use with UBC course calendar data available from the Learning Analytics Project site.

Prerequisites

  1. Install Python 3.
  2. Install Git.

Installation

  1. Clone this repo. git clone https://github.com/ubccapico/course-calendar-python.git
  2. Then cd into the repo. cd course-calendar-python
  3. Copy/paste the ubc_course_calendar_data.csv file you downloaded to the course-calendar-python folder.
  4. Create a python virtual environment python3 -m venv .venv (if you get the following error on Mac xcrun: error: invalid active developer path, try installing the x-code dev tools xcode-select --install).
  5. Activate the virtual environment source .venv/bin/activate
  6. Install project dependencies pip install -r requirements.txt
  7. Run python hack_courses.py to read the CSV and print some information about the dataset.

Author

License

This project is licensed under the GNU General Public License v3.0.