Skip to content

Python program which automatically submit attendances to moodle.

Notifications You must be signed in to change notification settings

athulreji/moodle-attedance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

moodle-attedance

Python program which automatically submit attendances to moodle using requests and BeautifulSoup.

Prerequisites

Make sure you have installed all of the following prerequisites on your machine:

After installing Python install html5lib5, requests and bs4 packages using pip:

$ pip3 install requests bs4 html5lib

Downloading Code

There are two ways to download the code:

Cloning The GitHub Repository

The recommended way to get thecode is to use git to directly clone the moodle-attendance repository:

$ git clone https://github.com/athulreji/moodle-attedance.git

This will clone the latest version of the repository to a moodle-attendance folder.

Downloading The Repository Zip File

Another way is to download a zip copy of the repository from the main branch on GitHub.

Configuring Code

Edit the login_values.py file by filling the login details and the domain address like given below:

username = 'user05@gmail.com'

password = 'pass234'

domain = 'moodle.example.com'

Running the program

Run the script using python:

$ python3 ./moodle-attendance.py

About

Python program which automatically submit attendances to moodle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages