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.

PyPI https://travis-ci.org/JohannesEbke/moodle_inscribe.svg?branch=master

Usage

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

  • The Course ID - look at the URL: https://moodle.example.edu/course/view.php?id=42 (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 setup.py develop
moodle_inscribe --host moodle.hm.edu --course-id 42 --email johannes.ebke@hm.edu --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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file moodle_inscribe-3.9.1.tar.gz.

File metadata

  • Download URL: moodle_inscribe-3.9.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for moodle_inscribe-3.9.1.tar.gz
Algorithm Hash digest
SHA256 107da053b0a2dcea9ff4549e67ad235c429b0c9adb2a00817068e6adef71b1fe
MD5 8081a4359d21b620447fbf6398553822
BLAKE2b-256 3cb4170fb614818dc350f30f7571ff46a1d1cba5aa58aba492464cc3d1eb8a03

See more details on using hashes here.

File details

Details for the file moodle_inscribe-3.9.1-py2.py3-none-any.whl.

File metadata

  • Download URL: moodle_inscribe-3.9.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for moodle_inscribe-3.9.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a9782ce0111bc9c9b65ead2f597f60d4d0fe8906a87c27623de32854f9687d85
MD5 cdc58ca917e909ad78ce5cc2309887a6
BLAKE2b-256 eaad71ff3b475eca11eeed70b885f9090c8f3e73f2d7d9b56e8f1a7b3822885d

See more details on using hashes here.

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