ENT / CAS#

All ENT functions that you can use while initializing the client.

An example of client initialization with the ac_reunion ENT:

from pronotepy import Client
from pronotepy.ent import ac_reunion

client = pronotepy.Client('https://demo.index-education.net/pronote/eleve.html',
                   username='demonstration',
                   password='pronotevs',
                   ent=ac_reunion)

Note

All ENT functions just return cookies received from their ENT. You can create your own function with the following signature: (username: str, password: str) -> RequestsCookieJar, and use it for ENTs that have not been implemented.


pronotepy.ent.ac_orleans_tours(username: str, password: str, *, url: str = 'https://ent.netocentre.fr/cas/login?token=ce8ae867a0accc0b7577fcc340bb99f4&idpId=parentEleveEN-IdP', redirect_form: bool = False) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ac_poitiers(username: str, password: str, *, url: str = 'https://sp-ts.ac-poitiers.fr/dispatcher/index2.php', redirect_form: bool = False) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ac_reunion(username: str, password: str, *, url: str = 'https://sso.ac-reunion.fr/saml/discovery/?idp_ident=https://educonnect.education.gouv.fr/idp', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ac_reims(username: str, password: str, *, url: str = 'https://cas.monbureaunumerique.fr/login?selection=EDU&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ac_rennes(username: str, password: str) RequestsCookieJar#

ENT ac Rennes Toutatice.fr

Parameters:
  • username (str) – username

  • password (str) – password

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.atrium_sud(username: str, password: str, *, url: str = 'https://www.atrium-sud.fr/connexion/login', form_attr: dict = {'id': 'fm1'}) RequestsCookieJar#

Generic function for ENT with simple login form

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • form_attr (dict) – attr to locate form

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.cas_agora06(username: str, password: str, *, url: str = 'https://cas.agora06.fr/login?selection=EDU&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.cas_arsene76_edu(username: str, password: str, *, url: str = 'https://cas.arsene76.fr/login?selection=EDU_parent_eleve&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.cas_cybercolleges42_edu(username: str, password: str, *, url: str = 'https://cas.cybercolleges42.fr/login?selection=EDU_parent_eleve&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.cas_kosmos(username: str, password: str, *, url: str = 'https://cas.kosmoseducation.com/login') RequestsCookieJar#

Generic function for CAS

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.cas_seinesaintdenis_edu(username: str, password: str, *, url: str = 'https://cas.webcollege.seinesaintdenis.fr/login?selection=EDU_parent_eleve&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.eclat_bfc(username: str, password: str, *, url: str = 'https://cas.eclat-bfc.fr/login?selection=EDU&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ecollege_haute_garonne_edu(username: str, password: str, *, url: str = 'https://cas.ecollege.haute-garonne.fr/login?selection=EDU_parent_eleve&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_94(username: str, password: str, *, domain: str = 'https://ent94.opendigitaleducation.com', providerId: str = 'urn:fi:ent:prod-cd94-edu:1.0') RequestsCookieJar#

ENT which has an authentication like https://connexion.l-educdenormandie.fr/

Parameters:
  • username (str) – username

  • password (str) – password

  • domain (str) – domain of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_auvergnerhonealpe(username: str, password: str, *, url: str = 'https://cas.ent.auvergnerhonealpes.fr/login?selection=EDU&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_creuse(username: str, password: str, *, url: str = 'https://cas.entcreuse.fr/login?selection=ATS_parent_eleve') RequestsCookieJar#

Generic function for CAS

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_creuse_educonnect(username: str, password: str, *, url: str = 'https://cas.entcreuse.fr/login?selection=EDU', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_elyco(username: str, password: str, *, domain: str = 'https://cas3.e-lyco.fr', entityID: str = '', returnX: str = '', redirect_form: bool = False) RequestsCookieJar#

Generic function for WAYF

Parameters:
  • username (str) – username

  • password (str) – password

  • domain (str) – domain of the ENT

  • entityID (str) – request param entityID

  • returnX (str) – request param returnX

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_essonne(username: str, password: str, *, url: str = 'https://www.moncollege-ent.essonne.fr/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_hdf(username: str, password: str, *, domain: str = 'https://enthdf.fr', providerId: str = '') RequestsCookieJar#

ENT which has an authentication like https://connexion.l-educdenormandie.fr/

Parameters:
  • username (str) – username

  • password (str) – password

  • domain (str) – domain of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_mayotte(username: str, password: str, *, url: str = 'https://mayotte.opendigitaleducation.com/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_somme(username: str, password: str, *, domain: str = 'https://enthdf.fr', providerId: str = '') RequestsCookieJar#

ENT which has an authentication like https://connexion.l-educdenormandie.fr/

Parameters:
  • username (str) – username

  • password (str) – password

  • domain (str) – domain of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_var(username: str, password: str, *, domain: str = 'https://moncollege-ent.var.fr', providerId: str = 'urn:fi:ent:prod-cd83-edu:1.0') RequestsCookieJar#

ENT which has an authentication like https://connexion.l-educdenormandie.fr/

Parameters:
  • username (str) – username

  • password (str) – password

  • domain (str) – domain of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent77(username: str, password: str, *, url: str = 'https://ent77.seine-et-marne.fr/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ent_ecollege78(username: str, password: str, *, url: str = 'https://ent.ecollege78.fr/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.extranet_colleges_somme(username: str, password: str, *, url: str = 'http://www.colleges.cg80.fr/identification/identification.php', form_attr: dict = {}) RequestsCookieJar#

Generic function for ENT with simple login form

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • form_attr (dict) – attr to locate form

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.ile_de_france(username: str, password: str, *, url: str = 'https://ent.iledefrance.fr/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.laclasse_educonnect(username: str, password: str, *, url: str = 'https://www.laclasse.com/sso/educonnect', redirect_form: bool = False) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.laclasse_lyon(username: str, password: str, *, url: str = 'https://www.laclasse.com/sso/login', form_attr: dict = {}) RequestsCookieJar#

Generic function for ENT with simple login form

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • form_attr (dict) – attr to locate form

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.l_normandie(username: str, password: str, *, domain: str = 'https://ent.l-educdenormandie.fr', providerId: str = '') RequestsCookieJar#

ENT which has an authentication like https://connexion.l-educdenormandie.fr/

Parameters:
  • username (str) – username

  • password (str) – password

  • domain (str) – domain of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.lyceeconnecte_aquitaine(username: str, password: str, *, url: str = 'https://mon.lyceeconnecte.fr/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.lyceeconnecte_edu(username: str, password: str, *, domain: str = 'https://mon.lyceeconnecte.fr', providerId: str = '') RequestsCookieJar#

ENT which has an authentication like https://connexion.l-educdenormandie.fr/

Parameters:
  • username (str) – username

  • password (str) – password

  • domain (str) – domain of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.monbureaunumerique(username: str, password: str, *, url: str = 'https://cas.monbureaunumerique.fr/login?selection=EDU&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.neoconnect_guadeloupe(username: str, password: str, *, url: str = 'https://neoconnect.opendigitaleducation.com/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.occitanie_montpellier(username: str, password: str, *, url: str = 'https://cas.mon-ent-occitanie.fr/login?selection=CSES-ENT_parent_eleve') RequestsCookieJar#

Generic function for CAS

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.occitanie_montpellier_educonnect(username: str, password: str, *, url: str = 'https://cas.mon-ent-occitanie.fr/login?selection=MONT-EDU_parent_eleve&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.occitanie_toulouse_edu(username: str, password: str, *, url: str = 'https://cas.mon-ent-occitanie.fr/login?selection=TOULO-EDU_parent_eleve&service=https://example.com/', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.paris_classe_numerique(username: str, password: str, *, url: str = 'https://ent.parisclassenumerique.fr/auth/login') RequestsCookieJar#

ENT which has an authentication like https://ent.iledefrance.fr/auth/login

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ENT

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.pronote_hubeduconnect(pronote_url: str) Callable[[str, str], RequestsCookieJar]#

Pronote EduConnect connection (with HubEduConnect.index-education.net)

Danger

Unlike the other ENT functions, this one needs to be called. e.g. pronotepy.Client(url, username, password, pronote_hubeduconnect(url))

Parameters:

pronote_url (str) – the same pronote_url as passed to the client

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.val_de_marne(username: str, password: str, *, url: str = 'https://cas.moncollege.valdemarne.fr/login?selection=EDU_parent_eleve', redirect_form: bool = True) RequestsCookieJar#

Generic function for CAS with Educonnect

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

  • redirect_form (bool) – True if the site use JS redirection

Returns:

cookies – returns the ent session cookies

Return type:

cookies

pronotepy.ent.val_doise(username: str, password: str, *, url: str = 'https://cas.moncollege.valdoise.fr/login?selection=eleveparent') RequestsCookieJar#

Generic function for CAS

Parameters:
  • username (str) – username

  • password (str) – password

  • url (str) – url of the ent login page

Returns:

cookies – returns the ent session cookies

Return type:

cookies