forked from ScoDoc/DocScoDoc
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 flask_login import login_user, logout_user, current_user
|
||||
import app as mapp # le package app
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
|
||||
return {
|
||||
"db": db,
|
||||
"User": User,
|
||||
"Role": Role,
|
||||
"UserRole": UserRole,
|
||||
"Permission": Permission,
|
||||
"notes": notes,
|
||||
"scolar": scolar,
|
||||
"ndb": ndb,
|
||||
"scu": scu,
|
||||
"pp": pp,
|
||||
"flask": flask,
|
||||
"ctx": app.test_request_context(),
|
||||
"current_app": flask.current_app,
|
||||
"current_user": current_user,
|
||||
"login_user": login_user,
|
||||
"logout_user": logout_user,
|
||||
"ctx": app.test_request_context(),
|
||||
"mapp": mapp,
|
||||
"models": models,
|
||||
"db": db,
|
||||
"Evaluation": Evaluation,
|
||||
"flask": flask,
|
||||
"Formation": Formation,
|
||||
"FormSemestre": FormSemestre,
|
||||
"FormsemestreInscription": FormsemestreInscription,
|
||||
"Identite": Identite,
|
||||
"login_user": login_user,
|
||||
"logout_user": logout_user,
|
||||
"mapp": mapp,
|
||||
"models": models,
|
||||
"Module": Module,
|
||||
"ModuleImpl": ModuleImpl,
|
||||
"ModuleImplInscription": ModuleImplInscription,
|
||||
"ndb": ndb,
|
||||
"notes": notes,
|
||||
"np": np,
|
||||
"pd": pd,
|
||||
"Permission": Permission,
|
||||
"pp": pp,
|
||||
"Role": Role,
|
||||
"scolar": scolar,
|
||||
"scu": scu,
|
||||
"UniteEns": UniteEns,
|
||||
"User": User,
|
||||
"UserRole": UserRole,
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user