ivanov / ipython-trainingwheels

A beginner student friendly profile for IPython notebook
4 stars 2 forks source link

Todo list on waffle   Stories in Ready

IPython Training Wheels

This repository contains an alternative IPython Notebook profile with a few bells and whistles taken out of the default profile (with some other features added). To see the kinds of features we're adding, see the standard imports button.

Mozilla Science Lab Global Summer Sprint

Help us push forward on this project as part of Mozilla Science Lab Global Sprint.
Install the profile as described below, check the issue list, and start hacking.

You can read more about IPython configuration for how to create a new profile. The default template for the notebook (for reference) can be found here.
Most customizations in the profile are found in custom/custom.js.

What is an IPython Notebook profile?

IPython Notebook comes with a set of a default configurations that can be modified. Loading the notebook with a different profile will enable a different set of configurations as described in that profile. Profiles are typically stored in The IPython directory, but you can also keep a profile in the current working directory.

Using this Profile

To store this profile in your IPython directory, clone this repostory into your ~/.ipython directory using the commands:

cd ~/.ipython
git clone https://github.com/ivanov/ipython-trainingwheels.git profile_swc

Thereafter, just run ipython notebook --profile=swc in order to use the training-wheels profile with the notebook.

Alternatively, you can clone this repository wherever you want, and then just specify the location in order to use the profile. To do so, use the following commands:

git clone https://github.com/ivanov/ipython-trainingwheels.git /path/to/some/dir
ipython notebook --profile-dir=/path/to/some/dir

Did it work?

We've added visual element to help you verify that you are running this profile, The top of the Notebook will be "Software Carpentry Grey" as opposed to white, like this:

The Help menu in the Notebook should have extra entries ("Training Wheels Help" and "Software Carpentry"), like this:

There will be an extra "Training Wheels" top level menu:

Other features: