Skip mandatory Coursera courses in seconds
Project description
skipera
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skipera-1.0.0.tar.gz.
File metadata
- Download URL: skipera-1.0.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e84074617b7ec1899035ecce080f974f69dc5ccd4501fa57b288da1a2fae73e
|
|
| MD5 |
fb129cf1b3a8c42aeab70757443ad8d3
|
|
| BLAKE2b-256 |
b2feab7ff43ea9855aab3aae841b7af43e60611020b2be5c0ceaa5cc220f7ac4
|
File details
Details for the file skipera-1.0.0-py3-none-any.whl.
File metadata
- Download URL: skipera-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ad8316cd4dff042c757e28f0e5c81c42a619661ed3f3c1a1e3d83b0174e9611
|
|
| MD5 |
2b8220d3dcb75f80b95942a5f7e505aa
|
|
| BLAKE2b-256 |
5829a1e705d33fe9ade321d396ab64ec45fc3f202fe8462be800c8b340b4f6a0
|