Installing NBviewer on a local computer and using it to view laptops from a local area network computer

I am trying to introduce an IPyhton laptop in my work. I want other colleagues on the local network to be able to see how the Im laptop is sharing with them in their browser or other solution.

Following this question, I realized that the only solution I would be satisfied with would be to view laptops in nbviewer, and not as HTML solutions.

The question is how to install nbviewer and how to configure it to accept a view request on the local network. the instructions listed here no longer work, since nbconvert is now part of IPython and the code is no longer in github.

Does anyone know how to do this?

+4
source share
1 answer

Nbviewer can be installed locally in the same way as before, it just takes the nbconvert library from IPython 1.0 if it is installed on the same computer.

Suppose your ipynb is available at a local address (for example: http://local-comany/foo.ipynb ) and nbviewer is located at ( http://local-nbviewer/ ), after which the url http://local-nbviewer/url/local-company/foo.ipynb will open http://local-nbviewer/url/local-company/foo.ipynb . (he will also work on a laptop on the Internet)

The only requirement is that your nbviewer is hosted on a server that has ipynb access that you want to share. For any URL type: http://local-nbviewer/url/<something>.ipynb nbviewr will try to extract http://<something>.ipynb and display it.

+1
source

Source: https://habr.com/ru/post/1501293/


All Articles