forked from ScoDoc/ScoDoc
shell: ajoute np et pd
This commit is contained in:
parent
1e7a509879
commit
66f39b8f16
36
scodoc.py
36
scodoc.py
@ -45,35 +45,39 @@ def make_shell_context():
|
|||||||
from app.scodoc import sco_utils as scu
|
from app.scodoc import sco_utils as scu
|
||||||
from flask_login import login_user, logout_user, current_user
|
from flask_login import login_user, logout_user, current_user
|
||||||
import app as mapp # le package app
|
import app as mapp # le package app
|
||||||
|
import numpy as np
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"db": db,
|
"ctx": app.test_request_context(),
|
||||||
"User": User,
|
|
||||||
"Role": Role,
|
|
||||||
"UserRole": UserRole,
|
|
||||||
"Permission": Permission,
|
|
||||||
"notes": notes,
|
|
||||||
"scolar": scolar,
|
|
||||||
"ndb": ndb,
|
|
||||||
"scu": scu,
|
|
||||||
"pp": pp,
|
|
||||||
"flask": flask,
|
|
||||||
"current_app": flask.current_app,
|
"current_app": flask.current_app,
|
||||||
"current_user": current_user,
|
"current_user": current_user,
|
||||||
"login_user": login_user,
|
"db": db,
|
||||||
"logout_user": logout_user,
|
|
||||||
"ctx": app.test_request_context(),
|
|
||||||
"mapp": mapp,
|
|
||||||
"models": models,
|
|
||||||
"Evaluation": Evaluation,
|
"Evaluation": Evaluation,
|
||||||
|
"flask": flask,
|
||||||
"Formation": Formation,
|
"Formation": Formation,
|
||||||
"FormSemestre": FormSemestre,
|
"FormSemestre": FormSemestre,
|
||||||
"FormsemestreInscription": FormsemestreInscription,
|
"FormsemestreInscription": FormsemestreInscription,
|
||||||
"Identite": Identite,
|
"Identite": Identite,
|
||||||
|
"login_user": login_user,
|
||||||
|
"logout_user": logout_user,
|
||||||
|
"mapp": mapp,
|
||||||
|
"models": models,
|
||||||
"Module": Module,
|
"Module": Module,
|
||||||
"ModuleImpl": ModuleImpl,
|
"ModuleImpl": ModuleImpl,
|
||||||
"ModuleImplInscription": ModuleImplInscription,
|
"ModuleImplInscription": ModuleImplInscription,
|
||||||
|
"ndb": ndb,
|
||||||
|
"notes": notes,
|
||||||
|
"np": np,
|
||||||
|
"pd": pd,
|
||||||
|
"Permission": Permission,
|
||||||
|
"pp": pp,
|
||||||
|
"Role": Role,
|
||||||
|
"scolar": scolar,
|
||||||
|
"scu": scu,
|
||||||
"UniteEns": UniteEns,
|
"UniteEns": UniteEns,
|
||||||
|
"User": User,
|
||||||
|
"UserRole": UserRole,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user