Giter Club home page Giter Club logo

cmw-wizard's Introduction

cmw-wizard

Automate Classcraft and Moodle Workshop using this Wizard

Classcraft.py and Moodle.py are the two main files here.

Moodle.py automates some actions (all optional) of Moodle's Workshop activity, e.g.:

  • auto-download of all submittion files + renaming them as course acronym - workshop's name - student's name, e.g. MAS - Assignment 1 - Alice Babbage.zip -- only one file supported;
  • detect statistical outliers in grades received by assignments (optionally setting their weight values to 0);
  • detect students who submitted assignments but gave no grades (optionally reducing their total received grade to 70%);
  • receive a subset of 15% randomly selected assignments (e.g. for manually grading);
  • receive a list of names of students who submitted top 10% of the graded assignments (points for grades given are not accounted for, only grades received);
  • receive a list of names of students who submitted bottom 10% of the graded assignments (points for grades given are not accounted for, only grades received);
  • store grades to Google Sheets;
  • apply pre-defined behaviours in Classcraft, positive or negative behaviour, to the top and bottom 10% of the graded assignments.

Classcraft.py automates some actions of the gamified e-learning platform Classcraft, e.g.:

  • detect students who submitted the final assignment of a quest:
    • early,
    • on time,
    • late,
    • never;
  • according to the time when students submitted their assignment of the last task of a quest, apply specific positive or negative behaviours to individual students;
  • apply specific behaviours from a given JSON containing names of students, indicator of positive or negative behaviours and the serial number of the applicable behaviour.

Help on using the defined arguments of either Classcraft.py or Moodle.py can be printed out using -h.

Specific methods defined within either of the base files can be used externally, although the DRIVER must usually be defined.

Classcraft.py generates a .json file with the behaviours it applied. Moodle.py generates a .txt file with its results.

Requirements

The following non-default Python3 modules are used:

  • selenium - requires chromedriver to be located in the folder of either Classcraft.py or Moodle.py
  • pyautogui
  • pyperclip
  • numpy
  • gspread - requires extra setup of Google Sheets API

Moodle and Classcraft login credentials are stored in file credentials.py as:

creds = {
    "user": "username",
    "password": "p4ssw0rd"
} # Moodle login

ccreds = {
    "user": "username",
    "password": "p4ssw0rd"
} # Classcraft login

cmw-wizard's People

Contributors

balannen avatar bogokdu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.