Display Python code and Jupyter notebook on wix website - web-deployment

I'm writing a blog and I wanted to host a jupyter notebook on the wix website. What are the ways I can do it?

You can always turn your Jupyter Notebook to html that you can easily embed anywhere including Wix.
You can do it with this.

Related

How to use ipywidgets in jupyter-notebook without Internet

I have developed interactive application in python using jupyter notebook with ipywidgets and use voila to run the notebook.
On my development system (with internet) I have the application working flawlessly. But on the system without internet the application does not load. On inspection with developer tools, the web application is trying to load scripts from mathjax, font-awesome and here
If anyone could guide me on how to workaround this problem ? Run jupyter notebook application with ipywidgets without internet. Can we change some settings / configuration to use the static copy of these dependencies?
---- Update
On the system without internet, running jupyter lab and notebook and running the cells works perfectly fine. I am able to view the font-awesome icons and other ipywidgets. This issue is observed only using voila
Thanks in advance for your help.
Looks like we need to override the references to cdn and fontawesome in the templates of voila with local references.
Please find the reply from Jupyter discourse forum here.
I had the same issue about "font-awesome" icons which is not working with voila. To workaround it, I'm now using unicode characters in description strings instead of icon property.

How to view two jupyter notebooks on the same screen (I have just one monitor) using a Mac?

I welcome instructions to do this either with Jupyter Notebook or Jupyter Lab.
My intent for learning purposes, is to download and open various notebooks from GitHub, and open new notebooks to replicate the original notebook from GitHub.
I could simply switch back-and-forth from one notebook to the other to achieve my goal. But, it would be a lot easier if I could have both notebooks opened vertically in two separate windows. Is there an easy way to do some sort of split-screen viewing?
You can do this out of the box in JupyterLab by opening both notebooks and then dragging one of the tabs to the right side of the screen. You can’t do this in the legacy jupyter notebook viewer - it needs to be jupyter lab.
See the jupyterlab docs on the interface for more info.

Embedding executed Jupyter notebook in rst-based documentation

I would like to embed a Jupyter notebook in an RST file. Preferably, this notebook can be interactive, but it can at least be seen. It would also be nice if these notebooks could be executed in the documentation build, but I don't know if that is possible.
I am not looking for a solution that would not involve having the notebook embedded in an rst file -- I know that nbsphinx can build documentation from ipynb files, but that is not what I am looking for.
Thank you!

Jupyter Notebook extensions within Jupyter Lab

Is it possible to use notebook extensions (nbextensions) within Jupyter Lab?
I think my extensions are enabled... I call jupyter nbextension enable on them beforehand. But I don't see them in notebooks from within Jupyter Lab.
No, it is not possible to use a Notebook Classic extension in JupyterLab.
Though a great deal of effort has been made to make the notebook UI in JupyterLab look and feel like the UI in Notebook Classic, on the backend they do not share a code base. Thus, nbextensions for Notebook Classic have zero fundamental compatibility with JupyterLab. Beyond that, as #madhu94 points out, the extension API (how extensions should be structured, required methods, etc) are completely different in Classic and Lab.
There are some examples of projects with both an nbextension for Notebook Classic and a labextension for JupyterLab (eg jupyter-widgets/ipywidgets). In these cases the project will have separate code for each kind of extension.

jupyter lab open an iframe on a tab for monitoring dask scheduler

I am developping with dask distributed and this package provides a very useful debugging view as a bokeh application.
I want to have this application next to my notebook in a jupyterlab tab.
I have managed to do so by opening the jupyter lab reference (Help > Jupyter lab reference) and modifying the url with the inspect tool of firefox from it's orignial value to 127.0.0.1:8787 (the URL for the dask dashboard)
see below :
dask scheduler console in jupyter lab
Is there a less hacky way to open a website in jupyter lab?
It looks like there is an active Github issue for this. I recommend tracking https://github.com/jupyterlab/jupyterlab/issues/2369
It sounds like you may also want to look at https://github.com/dask/dask-labextension

Resources