• Stars
    star
    16,128
  • Rank 1,669 (Top 0.04 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created almost 14 years ago
  • Updated 17 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.

image

image

image

image

image

image

IPython: Productive Interactive Computing

Overview

Welcome to IPython. Our full documentation is available on ipython.readthedocs.io and contains information on how to install, use, and contribute to the project. IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language, that offers introspection, rich media, shell syntax, tab completion, and history.

IPython versions and Python Support

Starting after IPython 8.16, we will progressively transition to Spec-0000.

Starting with IPython 7.10, IPython follows NEP 29

IPython 7.17+ requires Python version 3.7 and above.

IPython 7.10+ requires Python version 3.6 and above.

IPython 7.0 requires Python version 3.5 and above.

IPython 6.x requires Python version 3.3 and above.

IPython 5.x LTS is the compatible release for Python 2.7. If you require Python 2 support, you must use IPython 5.x LTS. Please update your project configurations and requirements as necessary.

The Notebook, Qt console and a number of other pieces are now parts of Jupyter. See the Jupyter installation docs if you want to use these.

Main features of IPython

Comprehensive object introspection.

Input history, persistent across sessions.

Caching of output results during a session with automatically generated references.

Extensible tab completion, with support by default for completion of python variables and keywords, filenames and function keywords.

Extensible system of โ€˜magicโ€™ commands for controlling the environment and performing many tasks related to IPython or the operating system.

A rich configuration system with easy switching between different setups (simpler than changing $PYTHONSTARTUP environment variables every time).

Session logging and reloading.

Extensible syntax processing for special purpose situations.

Access to the system shell with user-extensible alias system.

Easily embeddable in other Python programs and GUIs.

Integrated access to the pdb debugger and the Python profiler.

Development and Instant running

You can find the latest version of the development documentation on readthedocs.

You can run IPython from this directory without even installing it system-wide by typing at the terminal:

$ python -m IPython

Or see the development installation docs for the latest revision on read the docs.

Documentation and installation instructions for older version of IPython can be found on the IPython website

IPython requires Python version 3 or above

Starting with version 6.0, IPython does not support Python 2.7, 3.0, 3.1, or 3.2.

For a version compatible with Python 2.7, please install the 5.x LTS Long Term Support version.

If you are encountering this error message you are likely trying to install or use IPython from source. You need to checkout the remote 5.x branch. If you are using git the following should work:

$ git fetch origin
$ git checkout 5.x

If you encounter this error message with a regular install of IPython, then you likely need to update your package manager, for example if you are using pip check the version of pip with:

$ pip --version

You will need to update pip to the version 9.0.1 or greater. If you are not using pip, please inquiry with the maintainers of the package for your package manager.

For more information see one of our blog posts:

https://blog.jupyter.org/release-of-ipython-5-0-8ce60b8d2e8e

As well as the following Pull-Request for discussion:

#9900

This error does also occur if you are invoking setup.py directly โ€“ย which you should not โ€“ย or are using easy_install If this is the case, use pip install . instead of setup.py install , and pip install -e . instead of setup.py develop If you are depending on IPython as a dependency you may also want to have a conditional dependency on IPython depending on the Python version:

install_req = ['ipython']
if sys.version_info[0] < 3 and 'bdist_wheel' not in sys.argv:
    install_req.remove('ipython')
    install_req.append('ipython<6')

setup(
    ...
    install_requires=install_req
)

Alternatives to IPython

IPython may not be to your taste; if that's the case there might be similar project that you might want to use:

Ignoring commits with git blame.ignoreRevsFile

As of git 2.23, it is possible to make formatting changes without breaking git blame. See the git documentation for more details.

To use this feature you must:

  • Install git >= 2.23
  • Configure your local git repo by running:
    • POSIX: tools\configure-git-blame-ignore-revs.sh
    • Windows: tools\configure-git-blame-ignore-revs.bat

More Repositories

1

ipyparallel

IPython Parallel: Interactive Parallel Computing in Python
Jupyter Notebook
2,541
star
2

xkcd-font

The xkcd font
Python
1,007
star
3

ipython-in-depth

IPython and Jupyter in-depth Tutorial, first presented at PyCon 2012
Jupyter Notebook
924
star
4

traitlets

A lightweight Traits like module
Python
603
star
5

ipykernel

IPython Kernel for Jupyter
Python
601
star
6

ipynb

Package / Module importer for importing code from Jupyter Notebook files (.ipynb)
Jupyter Notebook
235
star
7

pickleshare

File system based database that uses python pickles
Python
68
star
8

ipython-website

IPython website sources. Any fixes to the website should be done on this repository.
HTML
48
star
9

ipython-doc

Old builds of all the documentation for IPython's various releases, plus current development tree.
HTML
36
star
10

rlipython

Readline Interface for IPython 5.4+
Python
31
star
11

salt-states-nbviewer

Salt States for nbviewer
Scheme
19
star
12

disp

Providing default representations of common objects in Python land
Jupyter Notebook
18
star
13

front-to-back

Talk about IPython frontends and backends for PyData SV 2014
Jupyter Notebook
17
star
14

talks

Talks and demonstration notebooks about IPython, to be used by anyone (all materials CC-BY licensed)
Python
16
star
15

matplotlib-inline

Inline Matplotlib backend for Jupyter
Python
13
star
16

marketing

Marketing materials for IPython: logos, banners, stickers, etc.
Jupyter Notebook
12
star
17

ipython_genutils

Vestigial IPython utilities: DO NOT USE
Python
10
star
18

ipython-ansible-jenkins

[Deprecated] Ansible playbook for our Jenkins server
9
star
19

ipython.github.com

Auto-generated sphinx version of the IPython website. Since this is an auto-generated directory, do *not* submit pull requests against this repository. The actual sources are in the ipython-website repository.
HTML
9
star
20

comm

Python Comm implementation for the Jupyter kernel protocol
Python
8
star
21

paper-notebook2013

A paper about the IPython Notebook written in 2013
7
star
22

mozfest2014

Introduction to the IPython Notebook at MozFest 2014
Shell
4
star
23

sloan-2013-reports

Progress reports for the Sloan 2013-14 grant.
Python
4
star
24

usersurveys

Materials for and results from user surveys
Python
2
star