Mioh Coursefinder
Find a file
2026-06-07 13:42:58 -04:00
.env first commit 2026-06-07 13:37:44 -04:00
main.py first commit 2026-06-07 13:37:44 -04:00
readme.md remade readme with chat because I have other things to do 2026-06-07 13:42:58 -04:00
requirements.txt first commit 2026-06-07 13:37:44 -04:00
Screenshot.png first commit 2026-06-07 13:37:44 -04:00

Miami University Course Finder

A small terminal app for checking Miami University course availability from the command line.

Screenshot

What It Does

  • Opens the Miami University course list in a browser
  • Selects the Oxford campus automatically
  • Chooses the next available term
  • Filters by subject and course number
  • Prints the open sections in a clean table

Requirements

  • Python 3.10 or newer
  • A Chromium browser for Playwright

Installation

pip install -r requirements.txt
playwright install chromium

Usage

Run the script:

python main.py

When prompted, enter a course in this format:

SUBJECT NUMBER

Examples:

  • CSE 174
  • MTH 151
  • ENG 111

How It Works

The script:

  1. Opens the Miami University course list page
  2. Sets the campus to Oxford
  3. Picks the next term from the available term list
  4. Searches for the subject and course number you entered
  5. Displays only sections with seats remaining

Notes

  • The browser is launched in visible mode (headless=False), so you can watch the search happen.
  • If no open sections are found, the app prints a short message instead of a table.
  • The term selection is inferred from the current date and the options available on the course list page.