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 scientific 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 file
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