Skip to content

RagingTiger/Pythonic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL;DR

JupyterLab notebook exploring various pythonic solutions to common problems in Python 3.

Quickstart On Mac with Docker:

# assumes your current working directory is Pythonic
docker run -d \
           --rm \
           --name jupyter-pythonic \
           -e JUPYTER_ENABLE_LAB=yes \
           -e TZ=America/New_York \
           -p 8888:8888 \
           -v $PWD:/home/jovyan/work \
           jupyter/scipy-notebook:lab-3.1.14 && \
sleep 5 && \
docker logs jupyter-pythonic 2>&1 | grep "http://127.0.0.1" | tail -n 1 | awk '{print $2}'

Usage

Below we will discuss running the JupyterLab server.

Docker

Docker will be the primary way discussed for running the JupyterLab server. Please see the Docker documentation for more info about Docker.

Remove

To remove the server simply stop it

$ docker stop jupyter-pythonic

:)

head -n 15 README.md