A Project with Python

Re: A Project with Python

by Andreas Grabs -
Number of replies: 7
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Translators

Hi Paul,

in my opinion there are different ways to accomplish that.

  1. You could use the LTI-Tool in moodle. The Python-App has to provide the LTI-API.
  2. You could use the Scorm or IMS interface to include your Python-App in moodle
  3. You could develop a moodle activity that interacts over a webservice with the Python-App

In the first two variations you have the grading feature already integrated. For the last one the grading feature must be implemented separately.

Best regards
Andreas

Average of ratings: Useful (3)
In reply to Andreas Grabs

Re: A Project with Python

by Paul Raper -
Hi Andreas,

Many thanks for the reply.

I had thought about LTI and your last suggestion, but have to admit I had completely overlooked the Scorm option.

If you like, I shall keep this thread updated with our progress on this topic.

Best,
Paul
In reply to Paul Raper

Re: A Project with Python

by Divya Kumar A -

Hi Paul,

Hope you have progressed things to make automation with moodle and python. Can you share your insights? I don't know where to start with but I would like to do some automation on downloading the csv files of assignment grades and uploading into some cloud service using python... 


Regards,

Divya Kumar

In reply to Divya Kumar A

Re: A Project with Python

by Acqua Alta -
Hi Divya,
I'm not sure the original thread deals with automation in Moodle using Python.

*MAYBE* this is relevant:
https://docs.moodle.org/dev/Selenium_tests (This page is very old, last updated in 2008)
https://en.wikipedia.org/wiki/Selenium_(software)

To the best of my very very limited knowledge, Selenium can be scripted (also) using Python.
In reply to Paul Raper

Re: A Project with Python

by Katherine Prammer -

What is the solution for using python in Moodle?  I want to have students plot data from a csv file., which was generated from sensors.

How can  Jupiter notebooks be used in Moodle?

In reply to Katherine Prammer

Re: A Project with Python

by Colin Fraser -
Picture of Documentation writers Picture of Testers
And, as above, check both Moodle and Jupyter documentation on how to implement an LTI. Jupyter should have an option for it. SCORM, well, that's a lot more labor intensive, so I would be reluctant to go there, once you get started, how far does that rabbit hole go?