Skip to main content

Skip mandatory Coursera courses in seconds

Project description

skipera

image

Module to facilitate skipping Coursera (https://www.coursera.org/) videos and assessments.

Why?

Skipera assists in automatically skip irrelevant MOOC courses which are made mandatory by universities. Many of such courses are allotted directly by the university as credit fillers and are not in the interest of the student. The progress of the completion of these courses is tracked by the university and credits are allotted.

How?

Skipera makes use of the Coursera web API and completes the videos + reading materials. Graded assessments are completed with the assistance of an LLM API.

Installation

pip install skipera

Or install from source:

git clone https://github.com/serv0id/skipera
cd skipera
pip install .

Configuration

On first run, skipera creates a config file at ~/.skipera/config.json.

Cookies (automatic)

If you're logged into Coursera in your browser (Chrome, Firefox, or Edge), skipera will automatically fetch the required cookies. Just run the command and it handles the rest. Expired cookies are also re-fetched automatically.

Note: On Windows, Chrome must be closed for cookie fetching to work. On macOS, you may see a Keychain access prompt.

Cookies (manual)

If automatic fetching doesn't work, you can manually add your cookies to the config file:

{
  "cookies": {
    "CAUTH": "...",
    "CSRF3-Token": "...",
    "__204u": "..."
  }
}

To find your cookies, follow the instructions given at https://github.com/serv0id/skipera/issues/1.

Usage

skipera course-slug

Where course-slug is from the Coursera URL. For example, if the URL is https://www.coursera.org/learn/introduction-psychology/home/module/2, run:

skipera introduction-psychology

LLM Support

If you wish to solve graded assignments automatically, add your Perplexity or Gemini API key to the config file and use the --llm flag:

skipera introduction-psychology --llm

Note that an average 10 question assignment consumes ~5000 input tokens. If you wish to use another LLM through an API, please feel free to make a pull request or contact me.

Currently, only the single-choice and multiple-choice objective questions are supported in this mode. Note that you might not always achieve passing marks due to the LLM hallucinating sometimes.

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

skipera-1.1.0.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

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

skipera-1.1.0-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file skipera-1.1.0.tar.gz.

File metadata

  • Download URL: skipera-1.1.0.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for skipera-1.1.0.tar.gz
Algorithm Hash digest
SHA256 cc9df0a12655d6ee226c470ce4bef20c611e2ea1f1c2a0cf1339f1e48bdd349f
MD5 9718024c16feb1c73a4fc87018dfb9c3
BLAKE2b-256 c2153db50e5c8cc4a159187f120e9fc29168640ef8984c3e5176d01821297988

See more details on using hashes here.

File details

Details for the file skipera-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: skipera-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for skipera-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8dbae423ba59a90e221c023efc7214d0330fb36d3593d6972873c7eb63e9541
MD5 26e61eecae3a47a079c4bd56b4a11b79
BLAKE2b-256 2c5b15c376b6199ac2e607d309eea8166ed82aa794b981d991f0ba091c6fe47b

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