A Python interface for the Paris Diderot CS departement students results website.
Note: this project is useless for you if you’re not a CS student at Paris Diderot.
Note 2: the code will likely not work for years 2015/2016 and after but I don’t have access to the results website anymore; please open a pull-request if you can fix it.
[sudo] pip install p7magma
The library works with both Python 2.x and 3.x.
from magma.base import Student s = Student("M2", "john", "smith", "topsecret") print s.courses.desc() # print all courses print s.courses.followed().desc() # print all followed courses print s.courses.with_results().desc() # print all courses with results