'How can I create an executable out of jupyter notebook code?
My use-case is - To visualize the peer feedback of staff to find interesting facts and inferences.
Ex - reading data from a .csv file and creating visualization on the feedback like a word cloud, bar charts, spider charts, etc.
The expected end-user experience is -
a) User clicks on the executable
b) User is asked to select a file
c) User sees all the visualizations
Also, in the future, I want to give the option for users to apply filters and search for categorical variables & staff nos.
ps: I want to keep tools like power bi, MicroStrategy, etc out of scope for this PoC.
Solution 1:[1]
There does not seem to be a direct way to convert a Jupyter notebook to an executable file.
However the standard way to tackle your problem seems to be a two-step process:
- convert the notebook into a regular Python script. You can download your notebook as a Python script from the Jupyter GUI or use
nbconvert, this thread is related. - turn the script into an executable. There are several tools available for that matter, such as Cx_freeze or Pyinstaller.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | joubs |
