2. What is it and why use it?
â˘
Web-based REPL (read-eval-print-loop) - simple and
interactive programming environment alternative to the
default shell
â˘
Cross platform and free
â˘
Rich toolkit: Terminal / Web / Qt console
â˘
Great for learn new languages
â˘
Allows to save code snippets
â˘
Output in interactive mode: text, tables, graphics
3. Installing IPython
Minimal effort (newbies)!
â˘
Anaconda for Mac or Windows
!
Complete!
â˘
â˘
OSX - easy_install ipython will download and install all dependencies; pip install ipython will
also work but ignore some dependencies
Ubuntu (and Debian-based distros):
â˘
installs IPython and its dependencies
sudo apt-get install ipython-notebook
â˘
additional tools for scientiďŹc computing (optional)
sudo apt-get install python-matplotlib python-scipy python-pandas python-sympy python-nose
â˘
Windows: http://ipython.org/ipython-doc/stable/install/install.html#windows
5. Characteristics
â˘
Easy installation
â˘
Menu with several options
â˘
Multiple cell types (markdown, raw text, headings)
â˘
Magics (% inline and %% multiline)
â˘
Code completion
â˘
Integrated help
â˘
Allows download notebooks and load them again from ďŹle
7. IPython SQL
â˘
Introduces a sql magic for IPython
â˘
Connect to a db using SQLAlchemy connecting strings
â˘
Multiple connections can be manteined
â˘
Dict-style access for result sets is supported
â˘
Supports Pandas, Graphing and Dumping
â˘
https://github.com/catherinedevlin/ipython-sql