Show More
Commit Commit message Age Author Refs
r25339:88a02754
Merge pull request #12017 from Carreau/cast_cleanup_II cast_unicode code simplification.
Matthias Bussonnier
0
r25338:d525e643
cast_unicode code simplification. Also simplify also the creation of a dictionary with dict comprehension.
Matthias Bussonnier
0
r25337:00f0d8af
Merge pull request #12015 from Carreau/cleanup-imports Cleanup imports, update some deprecation messages.
Matthias Bussonnier
0
r25336:ad716972
Merge pull request #12016 from Carreau/cleanup-cast Cleanup cast_unicode
Matthias Bussonnier
0
r25335:5a8935c7
Cleanup unused imports.
Matthias Bussonnier
0
r25334:537d3ccf
_format_fields is unused, removing.
Matthias Bussonnier
0
r25333:f984edc3
Remove some of the cast_unicode as we can prove they are not bytes. 1) inspect getdoc impementation return None if docs is not str. 2) if a value is split, joined, or concatenated with str, it must be str, or we woudl get a type error.
Matthias Bussonnier
0
r25332:61a4f1f7
Merge pull request #12009 from kousikmitra/master "Code Cleanup: Remove unused unused utility functions from 'IPython/utils/py3compat.py' #11985
Matthias Bussonnier
0
r25331:cef81a6f
Merge pull request #12008 from meeseeksmachine/auto-backport-of-pr-12007-on-7.10.x Backport PR #12007 on branch 7.10.x (Fix the right inputhook)
Matthias Bussonnier
0
r25330:a089b783
Code Cleanup: Remove unused unused utility functions from 'IPython/utils/py3compat.py' #11985
kousik
0
< 1 2 3 4 5 6 7 .. 2534 >
https://codecov.io/github/ipython/ipython/coverage.svg?branch=master https://img.shields.io/pypi/v/IPython.svg https://img.shields.io/travis/ipython/ipython.svg https://www.codetriage.com/ipython/ipython/badges/users.svg https://raster.shields.io/badge/Follows-NEP29-brightgreen.png

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 versions and Python Support

Starting with IPython 7.10, IPython follows NEP 29

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.

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:

https://github.com/ipython/ipython/pull/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:

  • the classic Python REPL.
  • bpython
  • mypython
  • ptpython and ptipython <https://pypi.org/project/ptpython/>
  • xonsh <https://xon.sh/>