Skip to content

lingxz/courses

Repository files navigation

Compare all the courses

Uses flask, numpy, pandas, bokeh, and opencv.

Run the thing

To run locally, clone this repo, install all the necessary modules by

pip install -r requirements.txt

Then run the app by doing

python main.py

and go to localhost:5000 to see the app. This uses the scraped data saved in alldata.csv.

For full dev (including scraping the data), install the things by

pip install -r requirements.dev.txt

main.py: runs the server

digits_classifier.py: uses opencv to recognize the digits on the axes

digitizer.py: digitizes the graph by using a bunch of hard coded parameters and saves data into alldata.csv

analyze.py: analyzes the data from alldata.csv

API

There is an API, you can get the data for each subject, in case you want to do something else with it:

GET /api/module/<module>

where <module> is one of the keys of SUBJECTS_LONG_TO_SHORT in this file.

About

choose modules based on some stats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published