Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révisionLes deux révisions suivantes |
teaching:progappchim:jupyter [2021/01/17 03:56] – [Références :] villersd | teaching:progappchim:jupyter [2022/03/09 10:26] – villersd |
---|
* Jupyter a succédé à IPython Notebook | * Jupyter a succédé à IPython Notebook |
* Jupyter est installé par défaut avec la distribution python Anaconda. C'est la manière la plus adéquate d'utiliser Jupyter. | * Jupyter est installé par défaut avec la distribution python Anaconda. C'est la manière la plus adéquate d'utiliser Jupyter. |
* Sinon, on peut utiliser facilement les notebooks Jupyter sur la plateforme [[https://notebooks.azure.com/|Microsoft Azure notebooks]], avec un code utilisateur UMONS ou un autre compte à définir. | * <del>Sinon, on peut utiliser facilement les notebooks Jupyter sur la plateforme [[https://notebooks.azure.com/|Microsoft Azure notebooks]], avec un code utilisateur UMONS ou un autre compte à définir.</del> |
* Avec un compte Google, on peut aussi utiliser [[https://colab.research.google.com/notebooks/welcome.ipynb]] qui est en fait une forme d'utilisation de Jupyter | * Avec un compte Google, on peut aussi utiliser [[https://colab.research.google.com/notebooks/welcome.ipynb]] qui est en fait une forme d'utilisation de Jupyter |
* Autres solutions : | * Autres solutions : |
* Jupyter book | * Jupyter book |
* [[https://jupyterbook.org/intro.html]] | * [[https://jupyterbook.org/intro.html]] |
* [[https://medium.com/swlh/the-new-jupyter-book-4028f054893f|The New Jupyter Book - Jupyter Book extends the notebook idea]] | * [[https://blog.jupyter.org/announcing-the-new-jupyter-book-cbf7aa8bc72e|Announcing the new Jupyter Book]] Chris Holdgraf, Medium, Aug 12, 2020 |
Davide Camera, Medium, 25/08/2020 | |
* Sélections d'exemples : | * Sélections d'exemples : |
* [[https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks|A gallery of interesting Jupyter Notebooks]] | * [[https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks|A gallery of interesting Jupyter Notebooks]] |
* [[http://nb.bianp.net/sort/views/|Notebook Gallery, links to the best IPython and Jupyter Notebooks]] | * [[http://nb.bianp.net/sort/views/|Notebook Gallery, links to the best IPython and Jupyter Notebooks]] |
* [[https://try.jupyter.org/]] | * [[https://try.jupyter.org/]] |
| |
| ===== Exemples pour débuter ===== |
| * {{:teaching:progappchim:jupyter_primer_in_jupyter-02.ipynb}} |
| |
===== Avis, présentations, revues, articles,... : ===== | ===== Avis, présentations, revues, articles,... : ===== |
* Matplotlib | * Matplotlib |
* [[https://towardsdatascience.com/how-to-produce-interactive-matplotlib-plots-in-jupyter-environment-1e4329d71651|How to produce Interactive Matplotlib Plots in Jupyter Environment]] ([[https://github.com/matplotlib/ipympl]]) | * [[https://towardsdatascience.com/how-to-produce-interactive-matplotlib-plots-in-jupyter-environment-1e4329d71651|How to produce Interactive Matplotlib Plots in Jupyter Environment]] ([[https://github.com/matplotlib/ipympl]]) |
| * {{ :teaching:progappchim:animationembedding-03.ipynb |}} : avec des animations des graphiques matplotlib |
* [[http://bokeh.pydata.org/en/latest/|Bokeh]] | * [[http://bokeh.pydata.org/en/latest/|Bokeh]] |
* [[https://nbviewer.jupyter.org/github/plotly/python-user-guide/blob/master/Index.ipynb|Plotly]] | * [[https://nbviewer.jupyter.org/github/plotly/python-user-guide/blob/master/Index.ipynb|Plotly]] |
* [[https://towardsdatascience.com/interactive-graphs-in-python-830b1e6c197f|Interactive Graphs in Python - An incredibly quick and easy extension to Matplotlib]] (exemple simple avec matplotlib) | * [[https://towardsdatascience.com/interactive-graphs-in-python-830b1e6c197f|Interactive Graphs in Python - An incredibly quick and easy extension to Matplotlib]] (exemple simple avec matplotlib) |
* **Exemples** : | * **Exemples** : |
* [[https://samplespublic-linusable.notebooks.azure.com/nb/notebooks/notebooks/jupyter_widgets-01.ipynb]] : sinusoïde à fréquence ajustable | * {{ :teaching:progappchim:jupyter_widgets-01.ipynb |}} : sinusoïde à fréquence ajustable |
* [[https://samplespublic-linusable.notebooks.azure.com/nb/notebooks/notebooks/jupyter_widgets-Maxwell-01.ipynb]] : Distribution de vitesses de Maxwell (visualisation interactive avec deux interactions simultanées, masse et température) | * {{ :teaching:progappchim:jupyter_widgets-maxwell-01.ipynb |}} : Distribution de vitesses de Maxwell (visualisation interactive avec deux interactions simultanées, masse et température) |
* [[https://samplespublic-linusable.notebooks.azure.com/nb/notebooks/notebooks/physics/Beat_Frequencies.ipynb]] : [[wp>fr:Battement_(physique)|battement]] sonore dû à la superposition de deux fréquences proches | * {{ :teaching:progappchim:beat_frequencies.ipynb |}} : [[wp>fr:Battement_(physique)|battement]] sonore dû à la superposition de deux fréquences proches |
| * {{ :teaching:progappchim:basic_interactor_demo.ipynb |}} : avec la librairie graphique Bokeh |
* [[https://github.com/ipython-contrib/jupyter_contrib_nbextensions|Jupyter notebook extensions]], add functionality to the Jupyter notebook using Javascript extensions loaded locally in your browser. | * [[https://github.com/ipython-contrib/jupyter_contrib_nbextensions|Jupyter notebook extensions]], add functionality to the Jupyter notebook using Javascript extensions loaded locally in your browser. |
* Installer des librairies à partir d'un notebook Jupyter : [[http://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/index.html|Installing Python Packages from a Jupyter Notebook]] | * Installer des librairies à partir d'un notebook Jupyter : [[http://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/index.html|Installing Python Packages from a Jupyter Notebook]] |
| |
* Exemples en chimie : | * Exemples en chimie : |
* [[https://samplespublic-linusable.notebooks.azure.com/nb/notebooks/notebooks/chemistry/chemical_elements_data-01.ipynb]] : librairie python sur les éléments chimiques et visualisation d'une propriété | * {{ :teaching:progappchim:chemical_elements_data-01.ipynb |}} : librairie python sur les éléments chimiques et visualisation d'une propriété |
* [[https://notebooks.azure.com/linusable/libraries/samples-public/tree/notebooks/chemistry|Lecture de fichiers IR]] (spectres de HCl et CO) | * {{ :teaching:progappchim:jcamp-dx_ir-file-reading-01.ipynb |}} : Lecture de fichiers IR (spectres de HCl et CO) |
* [[http://nbviewer.jupyter.org/github/lmmentel/ase-jnb/blob/master/ase-html.ipynb|Viewing ase structure using HTML]] (lukasz Mentel) | * [[http://nbviewer.jupyter.org/github/lmmentel/ase-jnb/blob/master/ase-html.ipynb|Viewing ase structure using HTML]] (lukasz Mentel) |
| |
* [[https://github.com/maartenbreddels/ipyvolume/|Ipyvolume]], 3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL | * [[https://github.com/maartenbreddels/ipyvolume/|Ipyvolume]], 3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL |
* [[http://www.countingcalculi.com/explanations/google_sheets_and_jupyter_notebooks|Integrate Google Sheets and Jupyter Notebooks]] | * [[http://www.countingcalculi.com/explanations/google_sheets_and_jupyter_notebooks|Integrate Google Sheets and Jupyter Notebooks]] |
| * [[https://towardsdatascience.com/create-a-simple-app-quickly-using-jupyter-notebook-312bdbb9d224|Create a Simple App Quickly Using Jupyter Notebook - A guide for data scientists and others who would like to turn their Python functions into an interactive app]] Andras Gefferth, Medium, 04/01/2022 |
* Spécificités Microsoft Azure Notebooks : | * Spécificités Microsoft Azure Notebooks : |
* [[https://notebooks.azure.com/help/jupyter-notebooks|aide]] (packages install, persistance, terminal,...- | * [[https://notebooks.azure.com/help/jupyter-notebooks|aide]] (packages install, persistance, terminal,...- |