Skip to main content

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

Metadata

Release files for bcitflex 3.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bcitflex 3.11.0
File Size Uploaded Provenance Actions
bcitflex-3.11.0.tar.gz 54.0 kB Without provenance Details for bcitflex-3.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bcitflex 3.11.0
File Interpreter ABI Platform Actions
bcitflex-3.11.0-py3-none-any.whl Python 3 none any Details for bcitflex-3.11.0-py3-none-any.whl

Total release size: 131.1 kB

Release files / bcitflex-3.11.0.tar.gz

Download URL bcitflex-3.11.0.tar.gz
Size 54.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bcf00ca9b6f0f5eaf259d6437f8066496974442d97a45c1784bcf2019a5ba935
BLAKE2b-256 checksum
How to use checksums
ecc67a1bb9af72d89b36032e10eca4e5daeba0c4cb5009ab51770938c9271550
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / bcitflex-3.11.0-py3-none-any.whl

Download URL bcitflex-3.11.0-py3-none-any.whl
Size 77.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e83550930deec2115f9e126c5c6c4f8551c6a51a7d8e9a879800d8cada46dc6
BLAKE2b-256 checksum
How to use checksums
375511861ddcae7d721fd9a805756d7aa8e8489da5c43227d29f2eb3a7dc973f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for bcitflex 3.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page