An Interactive computation is a persistent computer program that runs with a "human in the loop" where the primary mode of steering the program is through the human iteratively writing/running blocks of code and looking at the result.
Reference:https://www.youtube.com/watch?v=YKmJvHjTGAM&list=PL055Epbe6d5aP6Ru42r7hk68GTSaclYgi&index=29
Reference: https://ipython.readthedocs.io/en/stable/about/history.html
reference: https://www.youtube.com/watch?v=xuNj5paMuow&list=PL055Epbe6d5aP6Ru42r7hk68GTSaclYgi
The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. The Jupyter notebook combines two components:
Uses include:
reference: https://jupyter.org/
print("Hola Roberto!")
Hola Roberto!
for x in range(5):
print(x)
0 1 2 3 4
Prerequisite: Python
While Jupyter runs code in many programming languages, Python is a requirement (Python 3.3 or greater, or Python 2.7) for installing the JupyterLab or the classic Jupyter Notebook.
Using Mamba or Conda
mamba install -c conda-forge notebook
conda install -c conda-forge notebook
Using PIP
pip install notebook
Once Jupyter Notebook is installed, you can run it with the following command:
jupyter notebook
Prerequisite: Python
While Jupyter runs code in many programming languages, Python is a requirement (Python 3.3 or greater, or Python 2.7) for installing the JupyterLab or the classic Jupyter Notebook.
Using Mamba or Conda
mamba install -c conda-forge jupyterlab
conda install -c conda-forge jupyterlab
Using PIP
pip install jupyterlab
Once JupyterLab is installed, you can run it with the following command:
jupyter-lab
from IPython.display import YouTubeVideo
YouTubeVideo('KcoYnFVw9Xs', width=1000, height=800)
Prerequisite: Docker CE
You just have to install the community edition of Docker, so that you can install JupyterLab from Docker images containing Jupyter applications and interactive computing tools. You can use a docker stack image to do any of the following (and more):
You can use ready-to-run Docker images maintained by the Jupyter team:
docker run -p 8888:8888 jupyter/minimal-notebook:3b1f4f5e6cc1
from IPython.display import YouTubeVideo
YouTubeVideo('KVR1_cVlLRE', width=1000, height=800)
docker run -ti --rm -p 8888:8888 otrf/jupyterthon:2021
JupyterHub is a set of processes that together provide a single user Jupyter Notebook server for each person in a group. Three major subsystems are started by the jupyterhub command line program:
Single-User Notebook Server (Python/Tornado): a dedicated, single-user, Jupyter Notebook server is started for each user on the system when the user logs in. The object that starts the single-user notebook servers is called a Spawner.
Reference: https://jupyterhub.readthedocs.io/en/latest/reference/technical-overview.html
BinderHub connects several services together to provide on-the-fly creation and registry of Docker images. It utilizes the following tools:
from IPython.display import YouTubeVideo
YouTubeVideo('1g1c81YTONo', width=1000, height=800)
docker run -ti --rm -p 8888:8888 otrf/jupyterthon:2021
docker run -ti --rm -e JUPYTER_ENABLE_LAB=yes -p 8888:8888 otrf/jupyterthon:2021
References:
from IPython.display import YouTubeVideo
YouTubeVideo('4LrBMHL69VI', width=1000, height=800)