Module Import alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Dict Str Str Str AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler body Print Str Expr Call NameLoad NameLoad Assign NameStore Num While NameLoad body TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return Call NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Num AugAssignSub NameStore Num decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpAdd Num AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler body Print Str Expr Call NameLoad NameLoad Assign NameStore Num While NameLoad body TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return Call NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Num AugAssignSub NameStore Num decorator_list
N/A N/A os django.http HttpResponseRedirect django.conf settings N/A urllib2 N/A sh N/A time N/A shutil run_notebook N/A N/A ipython_arguments N/A N/A N/A N/A N/A ipython_arguments extend N/A --ext django_extensions.management.notebook_extension N/A N/A N/A sh ipython notebook _bg True _env N/A PYTHONPATH DJANGO_SETTINGS_MODULE LD_LIBRARY_PATH N/A settings PROJECT_ROOT settings N/A N/A N/A os path join N/A N/A os environ N/A VIRTUAL_ENV lib ipython_arguments N/A shared_notebook N/A N/A request N/A args kwargs N/A N/A notebook_settings N/A list N/A settings IPYTHON_SETTINGS N/A user_directory N/A N/A N/A os path join N/A settings IPYTHON_BASE _shared N/A port 8888 N/A hostname N/A settings IPYTHON_HOST N/A target_url N/A N/A http://{hostname}:{port}/ format hostname hostname port port N/A N/A N/A notebook_settings append N/A N/A --NotebookManager.notebook_dir={user_path} format user_path user_directory N/A N/A N/A notebook_settings append N/A N/A --ipython-dir={user_path}/ipython format user_path user_directory N/A N/A N/A notebook_settings append N/A N/A --port={port} format port port N/A N/A N/A notebook_settings append --pylab=inline N/A N/A N/A notebook_settings append --no-browser N/A N/A N/A N/A N/A os path exists N/A settings IPYTHON_BASE N/A N/A N/A N/A os mkdir N/A settings IPYTHON_BASE N/A N/A N/A N/A N/A os path exists user_directory N/A N/A N/A N/A os mkdir user_directory N/A N/A N/A os mkdir N/A N/A N/A os path join user_directory shared N/A N/A N/A N/A N/A N/A N/A urllib2 urlopen target_url read N/A N/A N/A N/A no notebook found. running a new one in a subshell N/A N/A run_notebook notebook_settings N/A starting 5 N/A starting N/A N/A N/A N/A N/A N/A N/A N/A urllib2 urlopen target_url read N/A N/A HttpResponseRedirect target_url N/A N/A N/A N/A N/A N/A time sleep 1 N/A starting 1 N/A notebook_for_user N/A N/A request N/A args kwargs N/A N/A 
    This should proxy or create an IPython notebook inside of Django, but instead it redirects to the IPython
    notebook URL, forcing a person to go to a different web application entirely.  This is not ideal, but it's the
    best we can do right now, as IPython Notebook is complicated enough to be difficult to proxy to (it uses websockets)
     N/A user N/A request user N/A notebook_settings N/A list N/A settings IPYTHON_SETTINGS N/A user_directory N/A N/A N/A os path join N/A settings IPYTHON_BASE N/A user email N/A port N/A 8888 N/A user pk N/A hostname 127.0.0.1 N/A target_url N/A N/A http://{hostname}:{port}/ format hostname hostname port port N/A N/A N/A user is_authenticated N/A N/A N/A N/A notebook_settings append N/A N/A --NotebookManager.notebook_dir={user_path} format user_path user_directory N/A N/A N/A notebook_settings append N/A N/A --ipython-dir={user_path}/ipython format user_path user_directory N/A N/A N/A notebook_settings append N/A N/A --port={port} format port port N/A N/A N/A notebook_settings append --pylab=inline N/A N/A N/A notebook_settings append --no-browser N/A N/A N/A N/A N/A os path exists user_directory N/A N/A N/A N/A os mkdir user_directory N/A N/A N/A os mkdir N/A N/A N/A os path join user_directory N/A user email N/A N/A N/A N/A N/A N/A N/A urllib2 urlopen target_url read N/A N/A N/A N/A no notebook found. running a new one in a subshell N/A N/A run_notebook notebook_settings N/A starting 5 N/A starting N/A N/A N/A N/A N/A N/A N/A N/A urllib2 urlopen target_url read N/A N/A HttpResponseRedirect target_url N/A N/A N/A N/A N/A N/A time sleep 1 N/A starting 1 N/A