bfontaine / p7magma

A Python interface to Magma (a website for CS students at Paris Diderot)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

p7magma

Build status Coverage status Pypi package

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.

Install

[sudo] pip install p7magma

The library works with both Python 2.x and 3.x.

Usage

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

About

A Python interface to Magma (a website for CS students at Paris Diderot)

License:MIT License


Languages

Language:Python 78.7%Language:HTML 16.8%Language:Makefile 4.5%