iiseymour / flasked-notebooks Goto Github PK
View Code? Open in Web Editor NEWRendering IPython Notebooks using Flask
Rendering IPython Notebooks using Flask
Hey this is great stuff - I'm really excited by this concept.
I just tried running your example (made no code changes) and somehow got this error ZMQSocketChannel object has no attribute 'execute'.
Is this something you have run into before? Could it be my IPython version?
Thanks!
Proof of concept for dynamically rendering IPython Notebooks using Flask
Yep, I used flask at the beginning of nbviewer, but we definitively need something async
to handle many requests in parallel hence we moved to tornado.
Unlike nbviewer each code cell in a notebook is executed on request.
Cool, using ipython/ipython#5639 and ipython/ipython#5720 nbconvert should get the ability to run the notebook on the fly which will then only be a config option on nbviewer.
your input on it would be great. It won't be enable by default for obvious performance reasons, and also because most of the time we won't get the library installed.
Running app.py starts the flask site which renders the markdown and updated code output cells.
Yes, work great locally for me.
Notebooks are rendered within the existing flask site using the normal templating approach.
I'm not sure I get what you mean here. Can you develop ? Do you think we can do better in nbviewer itself ?
Pages can be developed by starting the IPython Notebook server in the notebooks directory.
I do not get that either, do you mean that your app is serving files from the local filesystem ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.