You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthias Bussonnier 1893a8f594
Merge pull request #13668 from telamonian/fix-handling-of-bdbquit
3 weeks ago
.github Update test.yml 4 weeks ago
IPython fix uncaught `BdbQuit` exceptions on ipdb `exit` 3 weeks ago
docs Merge pull request #13661 from Carreau/wn83 4 weeks ago
examples Links cleanup, in particular peps have moved 3 months ago
scripts Remove unused code for building Windows installers 5 years ago
tools Fix various typos 3 months ago
.editorconfig Add EditorConfig to preserve trailing whitespace 5 years ago
.flake8 pyflakes to avoid missing imports 2 years ago
.git-blame-ignore-revs Update .git-blame-ignore-revs with previous commit 1 year ago
.gitattributes Tell git about certain file extensions (.py, .js, .html) for use in word-diffs. 10 years ago
.gitignore fix uncaught `BdbQuit` exceptions on ipdb `exit` 3 weeks ago
.mailmap some mailmap updates 5 months ago
.meeseeksdev.yml Let anyone add "good first issue" 3 years ago
.pre-commit-config.yaml [pre-commit] Add initial configuration 7 months ago Remove iptest and other Nose-dependent code 6 months ago
COPYING.rst Tweak wording referring to LICENSE 4 years ago
LICENSE Update LICENCE and Copying to match. 4 years ago Create 4 months ago
README.rst Fixed some errors 5 months ago Fix various typos 3 months ago
appveyor.yml Fix various typos 3 months ago
codecov.yml Merge pull request #13357 from Carreau/nuke-lib.inputhook 6 months ago
long_description.rst 3rd attempt at 8.0.0a1 5 months ago
mypy.ini some typing 6 months ago
pyproject.toml PEP 517 support 6 months ago
pytest.ini fix pytest 4 weeks ago
readthedocs.yml Use readthedocs.yaml file as we need a recent version of sphinx 4 years ago
setup.cfg fix setup.cfg 2 months ago reformat 4 weeks ago Format code 4 months ago







IPython: Productive Interactive Computing


Welcome to IPython. Our full documentation is available on 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 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:

As well as the following Pull-Request for discussion:

This error does also occur if you are invoking directly – which you should not – or are using easy_install If this is the case, use pip install . instead of install , and pip install -e . instead of 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:


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\
    • Windows: tools\configure-git-blame-ignore-revs.bat