从交互式Jupyter Notebook创建Web应用程序的最简单方法是什么? [英] What is the easiest way to create a webapp from an interactive Jupyter Notebook?

查看:515
本文介绍了从交互式Jupyter Notebook创建Web应用程序的最简单方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Jupyter Notebook,可以绘制一些数据并让用户通过滑块与之交互.

I have a Jupyter Notebook that plots some data and lets the user interact with it via a slider.

制作具有类似功能的Web应用程序最简单的方法是什么? (重复使用大量代码...)

What would be the easiest way to make a web app with a similar functionality? (reusing as much of the code...)

推荐答案

我相信最简单的方法是使用

I believe the easiest way is to use voilà.

安装后,您只需运行:

voila <path-to-notebook> <options>

您将拥有一台作为网络应用程序运行笔记本电脑的服务器,所有输入代码都将省略.

And you will have a server running your notebook as a web app, with all the input code omitted.

这篇关于从交互式Jupyter Notebook创建Web应用程序的最简单方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆