sirepo.sim_api.jupyterhublogin module
API’s for jupyterhublogin sim
- copyright:
Copyright (c) 2020 RadiaSoft LLC. All Rights Reserved.
- license:
http://www.apache.org/licenses/LICENSE-2.0.html
-
class sirepo.sim_api.jupyterhublogin.API(in_pkcli=False)[source]
Bases: API
-
api_checkAuthJupyterHub(**kwargs)
-
api_redirectJupyterHub(**kwargs)
-
sirepo.sim_api.jupyterhublogin.cfg()[source]
-
sirepo.sim_api.jupyterhublogin.create_user(qcall)[source]
Create a Jupyter user if not one associated with Sirepo uid
New user_name is created from sanitized Sirepo username.
If user_name is taken, will be appended with random string.
- Returns:
The user_name of the new or existing user
- Return type:
user_name (str)
-
sirepo.sim_api.jupyterhublogin.delete_user_dir(qcall)[source]
-
sirepo.sim_api.jupyterhublogin.init_apis(*args, **kwargs)[source]