Coder Social home page Coder Social logo

tucan-grades's Introduction

Tucan Grades

Small Python script to check tucan for new grades and send an email if there are any.

Setup

To run the script you need to have Python3 installed and then install Robobrowser by running

pip3 install robobrowser

You also need to provide the scripy with some information in a file called config.json. An example can be found in the config_sample.json file. You can just fill in the information and rename the file. It is possible to run this script for multiple users, by just adding multiple user objects to the array in the configuration file. For each user you have to provide the following things:

  • user id to log into tucan
  • password to log into tucan
  • tucan email adress (@stud.tu-darmstadt.de)
  • general email adress you want the new grades to be sent to

You can then run this script repeatedly in a cronjob to check tucan every couple of minutes.

crontab -e
*/15 * * * * cd <path to tucan-grades> && python3 tuncan-grades.py

Note: If you installed python3 via homebrew you might need to specify the exact path to the python3 executable. In my case this is /usr/local/bin/python3

Dependencies

  • Python3
  • RoboBrowser

tucan-grades's People

Contributors

danielpalen avatar

Watchers

 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.