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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bcitflex-3.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bd4fc283cce2d9ba9f0a399287503e45e81eb5d92b4c57a26c7de0764504a28e
MD5 ea27673b36073fa1a25480a105d9af97
BLAKE2b-256 17971718c8ef10a5b5375c06d0f9a688e357c1e0b088f28fcb5fdb5b5299251d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bcitflex-3.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20427c0cd38553877de488a1dedea640e09a32b5b89fe9c00ca1aeb25f714d1e
MD5 81e2a4b9506912d4a9c3eb657e6cc02b
BLAKE2b-256 d8ed074f20c9fbd4b1b489783a94948ef2060f6513bbd96a336fc7da14d6652c

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