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.4.1.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

bcitflex-3.4.1-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bcitflex-3.4.1.tar.gz
Algorithm Hash digest
SHA256 d4bbb0575151451ed18dbe69cc9623c08bfe4b2f145a41bcb8dcf6978422345e
MD5 c44561b906211f29b613fe82a32af0ad
BLAKE2b-256 b739f9a01f4296210e7aca64aff457d6b857816095746de78d248e700ca9be2a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bcitflex-3.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98542af887a7db3c8e7074db5e01eef64f9014e68c804b480bf93d30ce32f056
MD5 9e88f8dba842eaf058cd8e1c51b6693f
BLAKE2b-256 02b6c35449bd885c14d5ba47c439b7c76e0837fb315cd17530a09d5c34511d07

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