Skip to main content

Inscribe students into moodle courses by their email. Works with Moodle 3.9.

Project description

Inscribe students into moodle courses by their email, even if the Moodle API is disabled.



As inputs you need two things from a browser where you are logged into moodle:

  • The Course ID - look at the URL: (where 42 is the course id)

  • A valid MoodleSession cookie value: Open the developer tools, go to “Storage” -> “Cookies” and copy the Value of the “MoodleSession”, e.g. AZ42foo

Quick Start:

mkvirtualenv -p $(which python3) moodle
python develop
moodle_inscribe --host --course-id 42 --email --moodle-session AZ42foo

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

moodle_inscribe-3.9.1.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

moodle_inscribe-3.9.1-py2.py3-none-any.whl (5.0 kB view hashes)

Uploaded py2 py3

Supported by

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