Browse BCIT Flex course offerings.
Project description
BCIT Flex
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
requireslibpq-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:
- Create a database using the cli command. Pass
--help
for more information.
flask --app bcitflex create-db
- Build schema using alembic:
flask --app bcitflex upgrade-db
- 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 OfferingsRate My ProfessorsWeb appGUI- Return RMP rating
- Indication of data freshness
- Program information
- User relevant course view
- User course wishlist
- User course schedule planner
Contributors
- Sam - 0x53616D75656C
- Jonathan - jonbiemond
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bcitflex-3.6.0.tar.gz
.
File metadata
- Download URL: bcitflex-3.6.0.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc4748f44f378f219874662f6725f5f3c38abf3570d0d1cb0b306f83f1a456b9 |
|
MD5 | 8472685a9abdd071d4e6bb1fefea8eea |
|
BLAKE2b-256 | e244828a15757e5120be208349f674198a4c607c016c1409bb5e24a91403fe58 |
File details
Details for the file bcitflex-3.6.0-py3-none-any.whl
.
File metadata
- Download URL: bcitflex-3.6.0-py3-none-any.whl
- Upload date:
- Size: 66.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7465c229c0524ec16d7a6c759014d3075b0ffae2f87443b9d872dfde34e4ad07 |
|
MD5 | e9787ab687acb129aff4b49cd9f43299 |
|
BLAKE2b-256 | afdaecf80a4d76effd0305c11aa7a2d0a4281aec1b536c51222dfd765125168e |