Skip to main content

Extract exam dates and deadlines from Cambridge Judge Business School learning platform and generate calendar files

Project description

Polecat

A CLI tool that extracts exam dates, assignment deadlines, and quiz schedules from the Cambridge Judge Business School (JBS) learning platform and generates an .ics calendar file.

Features

  • Extracts dates from two sources:
    • Key Dates table (unit releases, live sessions, quiz opens/closes)
    • Assignment pages (submission deadlines)
  • Filters to show only important deadlines by default
  • Generates standard .ics files compatible with Google Calendar, Outlook, Apple Calendar
  • Human-in-the-loop: you complete SSO login manually (no credentials stored)

Requirements

  • Python 3.10+
  • A JBS learning platform account

Installation

Quick Install (Recommended)

pip install jbs-polecat
playwright install chromium

That's it! Now run polecat to start.

Install from Source

For development or if you prefer to clone the repository:

git clone https://github.com/shoaib-akhter/polecat.git
cd polecat
pip install -e .
playwright install chromium

Usage

polecat

Steps

  1. Browser opens - A Chromium browser window will open
  2. Login - Complete SSO login manually in the browser
  3. Select term - Use the dropdown to filter courses by term (e.g., "Lent")
  4. Press Enter - Confirm in terminal once courses are visible
  5. Review dates - Check the summary table in terminal
  6. Confirm - Type y to proceed
  7. Filter options - Choose what to include in calendar:
    • Assignment "Opens" dates (default: no)
    • Unit releases and live sessions (default: no)
  8. Done - Calendar file saved as JBS_Calendar_[Term]_[Year].ics

Example Output

Found 9 course(s):
  - MBA10 Strategy (2025/26)
  - MBA11 Marketing (2025/26)
  ...

Filtered: 30 event(s) will be saved to calendar

SUCCESS! Calendar file created:
  /path/to/JBS_Calendar_Lent_2026.ics

What Gets Extracted

Event Type Included by Default
Assignment Due dates Yes
Exam dates Yes
Quiz Opens/Closes Yes
Assignment Opens dates No (opt-in)
Unit release dates No (opt-in)
Live session dates No (opt-in)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jbs_polecat-1.0.0.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jbs_polecat-1.0.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file jbs_polecat-1.0.0.tar.gz.

File metadata

  • Download URL: jbs_polecat-1.0.0.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for jbs_polecat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e2eda7957a6555f32fa3eaa079061603ec8a00b4e15f0ab57c995d67f813f9c0
MD5 ce482196315ffd75f0c922af67b04373
BLAKE2b-256 c57c22ded1b46065b822d6a424cce8f0df4ce055b22ef6a76476ace29837d939

See more details on using hashes here.

File details

Details for the file jbs_polecat-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: jbs_polecat-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for jbs_polecat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8171c4bf9c47ab2696aa123d845b86b137ade5854518aff0b8afb0a4e91fa8fa
MD5 ab9c8b9ea61cf8b95b64527807378024
BLAKE2b-256 c9727530c4fac1ab1c38ecb6add2dba849cadddb955a86215e7ee3f17cd62832

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page