My goal is to present .ipynb
file to the management. However, some management is non-IT. So, I would like to present them like GitHub
or is there a .js
library to do this?
My goal is to present .ipynb
file to the management. However, some management is non-IT. So, I would like to present them like GitHub
or is there a .js
library to do this?
You can convert your .ipynb file to a PDF file
jupyter nbconvert --execute --to pdf notebook.ipynb
Then use django to render as a pdf file
from django.http import FileResponse, Http404
def pdf_view(request):
try:
return FileResponse(open('notebook.pdf', 'rb'), content_type='application/pdf')
except FileNotFoundError:
raise Http404()