【文件属性】:
文件名称:kernels-service:通过 HTTP 启动 Jupyter 内核
文件大小:5KB
文件格式:ZIP
更新时间:2021-07-01 09:40:15
Python
内核服务
通过 HTTP 启动 Jupyter 内核。 仅提供 IPython/Jupyter 的内核和内核规格 API。
直接发射
kernels.py 启动一个 Tornado Web 服务器,它启动单个内核并提供启动更多内核的能力。
在这里,我们将 IPython API 的基本路径设置为从/jupyter/开始:
$ python kernels.py --base-path=jupyter
[I 150113 14:32:13 kernelmanager:85] Kernel started: a8064a6c-a5a4-45d3-8d50-b226efc10f65
[I 150113 14:32:13 kernels:89] Serving at http://127.0.0.1:8000/jupyter/api/kernels
^C[I 150113 14:32:15 k
【文件预览】:
kernels-service-master
----kernels.py(3KB)
----Dockerfile(230B)
----LICENSE(1KB)
----.gitignore(675B)
----README.md(3KB)