We use Python 3.7 and a few extra packages in this tutorial:
For demonstration/pedagogy:
- jupyter - to present notebooks
For visualization of code profiles:
- snakeviz - Graphical visualization
- line_profiler - Line-level illustration
Just click and run!
You can install all of these in one fell swoop using conda
and running
conda create -n pycon_poets python=3.7 jupyter snakeviz line_profiler
or you can use the provided environment.yml
file
conda env create -f environment.yml
Then, in any terminal session where you'd like to use this environment, start with:
source activate pycon_poets
If you don't use conda
you can use pip
or the tool of your choice to install jupyter
, line_profiler
, and snakeviz
:
pip install jupyter line_profiler snakeviz
or use the requirements.txt
file
pip install -r requirements.txt