# Jupyter
Jupyter Notebook (formerly IPython Notebooks) is a web-based interactive computational environment for creating Jupyter notebooks documents.
# Libraries
- calmap (opens new window) - plot pandas time series data sampled by day in a heatmap per calendar year, similar to GitHub's contributions plot, using matplotlib - 🐙 (opens new window) 🐍 (opens new window)
- Jupyter Dashboards Layout Extension (opens new window) - 🐙 (opens new window) 🐍 (opens new window)
- nbresuse (opens new window) - A small extension for Jupyter Notebooks that displays an indication of how much resources your current notebook server and its children (kernels, terminals, etc) are using. - 🐙 (opens new window) 🐍 (opens new window)
- voilà (opens new window) - Voilà allows you to convert a Jupyter Notebook into an interactive dashboard that allows you to share your work with others. It is secure and customizable, giving you control over what your readers experience. - 🐙 (opens new window) 🐍 (opens new window)
# JupyterHub Distributions
- The Littlest JupyterHub (opens new window) - A simple JupyterHub distribution for a small (0-100) number of users on a single server.
- Zero to JupyterHub with Kubernetes (opens new window) - This project will help you set up your own JupyterHub on a cloud and leverage the clouds scalable nature to support large groups of users. Thanks to Kubernetes, we are not tied to a specific cloud provider.
# Links
- Building a Repeatable Data Analysis Process with Jupyter Notebooks (opens new window) by Chris Moffitt, 20 November 2018.
- How to Write a Jupyter Notebook Extension (opens new window) by Will Koehrsen, 8 December 2018.
# Snippets
# Useful magic commands
The %run
commands runs a Python script inside the notebook:
%run file.py
1
The %%writefile
writes the conents of a cell to a file:
%%writefile
def to_upper(x: str):
return x.upper()
1
2
3
4
2
3
4