Skip to main content

Browse BCIT Flex course offerings.

Project description

ci

BCIT Flex

www.bcitflex.tech

A website for easily viewing BCIT course offerings. Features a course filter to aid in course selection.

Please feel free to report any issues, bugs or suggestions. Pull requests are welcome.

Installation

pip install bcitflex

Prerequisites

  • A PostgreSQL instance is required for the database.
  • Dependency psycopg2 requires libpq-dev to be installed for Ubuntu/Debian systems.
sudo apt install libpq-dev python3-dev

For more details see the pycopg2 documentation and StackOverflow.

DB Setup

PostgreSQL is used as the DBMS. To create and initialize the database:

  1. Create a database using the cli command. Pass --help for more information.
flask --app bcitflex create-db
  1. Build schema using alembic:
flask --app bcitflex upgrade-db
  1. Populate the subject table with the list of subjects to scrape courses for:
flask --app bcitflex load-subjects

By default, subjects COMP, MATH, COMM AND BLAW are loaded. To load all subjects pass the --all-subjects flag.

Usage

To run the webscraper and populate the database with the latest course offerings:

flask --app bcitflex load-db

To run the dev webserver:

flask --app bcitflex run

Roadmap

  • Filter by prerequisites
  • Individual Course Offerings
  • Rate My Professors
  • Web app
  • GUI
  • Return RMP rating
  • Indication of data freshness
  • Program information
  • User relevant course view
  • User course wishlist
  • User course schedule planner

Contributors

Project details


Download files

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

Source Distribution

bcitflex-3.7.0.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

bcitflex-3.7.0-py3-none-any.whl (69.3 kB view details)

Uploaded Python 3

File details

Details for the file bcitflex-3.7.0.tar.gz.

File metadata

  • Download URL: bcitflex-3.7.0.tar.gz
  • Upload date:
  • Size: 49.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for bcitflex-3.7.0.tar.gz
Algorithm Hash digest
SHA256 d15ab7260525edce5e866c720fd2d6c7e8b7901717efb24d539faf49a617e5e8
MD5 92e729108f88cf277112b26e11951bfb
BLAKE2b-256 30f7f34947024b622ecbdbc70be6cdf471d98b4b6d7e80177d0c052d9e53918b

See more details on using hashes here.

File details

Details for the file bcitflex-3.7.0-py3-none-any.whl.

File metadata

  • Download URL: bcitflex-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 69.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for bcitflex-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5ca7702556cf5ac72d7d5e560a360be57477efb4fdacf648c64f3ca662ebb8c
MD5 5accf6636e47ad0198e0ff72e9aff1c8
BLAKE2b-256 fb86bd2bdd34d1ba46238767e6fcc80d23c11fa04b6dbd15328c19975ae56852

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page