Browse BCIT Flex course offerings.
Project description
BCIT Flex
Webscrape BCIT available courses, quickly view course offerings and write the information to a text file
Please feel free to report any issues, bugs or suggestions. Pull requests are welcome.
The information is
- Code
- Name
- Prerequisites
- Credits
- URL
- Offerings
- Instructor
- Price
- Duration
- Meeting Times
- Status
- Rate My Professor URLs
Installation
- Clone the repository
- Install the requirements
poetry install
Note: Additionally a PostgreSQL instance is required for the database.
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:
poetry run alembic upgrade head
- Populate the database with subjects from psql:
\i bcitflex/scripts/populate_subject.sql
Usage
To run the webscraper and populate the database with the latest course offerings:
poetry run flask --app bcitflex load-db
To run the webserver:
poetry run flask --app bcitflex run
Supports
- Displaying all course offerings for specific course
- Saving all courses to a text file for a specific subject
TODO
- Filter by prerequisites
Individual Course OfferingsRate My ProfessorsWeb appGUI- Return RMP rating
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
bcitflex-3.1.1.tar.gz
(23.4 kB
view details)
Built Distribution
bcitflex-3.1.1-py3-none-any.whl
(36.6 kB
view details)
File details
Details for the file bcitflex-3.1.1.tar.gz
.
File metadata
- Download URL: bcitflex-3.1.1.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9b712c6fe5abf37253056e2498cd3a5cddd4a3f1a9c972bc094a877cf8d80d4 |
|
MD5 | ccee4fbea87217f94b81fec8be8e7d5f |
|
BLAKE2b-256 | d26193cdd6af309b9a30b877f4be96f2007103229020e5c108d6202b692eb241 |
File details
Details for the file bcitflex-3.1.1-py3-none-any.whl
.
File metadata
- Download URL: bcitflex-3.1.1-py3-none-any.whl
- Upload date:
- Size: 36.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68f58c57d8d033032b08ee491e7fedb11243d663746db855b5f86c27b23b2e31 |
|
MD5 | 4c1c1d536b9f87f33172fb41c764ec08 |
|
BLAKE2b-256 | 2de5bc4a84da68cf3e85a6f352322b4c942f722b2c1182a58357811272d04664 |