README.rst
124 lines
| 4.7 KiB
| text/x-rst
|
RstLexer
|
r27712 | .. image:: https://codecov.io/github/ipython/ipython/coverage.svg?branch=main | ||
:target: https://codecov.io/github/ipython/ipython?branch=main | ||||
|
r19865 | |||
|
r23534 | .. image:: https://img.shields.io/pypi/v/IPython.svg | ||
|
r19865 | :target: https://pypi.python.org/pypi/ipython | ||
|
r26456 | .. image:: https://github.com/ipython/ipython/actions/workflows/test.yml/badge.svg | ||
|
r27924 | :target: https://github.com/ipython/ipython/actions/workflows/test.yml | ||
|
r19865 | |||
|
r23720 | .. image:: https://www.codetriage.com/ipython/ipython/badges/users.svg | ||
:target: https://www.codetriage.com/ipython/ipython/ | ||||
|
r19865 | |||
|
r28428 | .. image:: https://raster.shields.io/badge/Follows-SPEC--0000-brightgreen.png | ||
:target: https://scientific-python.org/specs/spec-0000/ | ||||
|
r25225 | |||
|
r27825 | .. image:: https://tidelift.com/badges/package/pypi/ipython?style=flat | ||
:target: https://tidelift.com/subscription/pkg/pypi-ipython | ||||
|
r27781 | |||
|
r25225 | |||
|
r4459 | =========================================== | ||
IPython: Productive Interactive Computing | ||||
=========================================== | ||||
|
r0 | |||
|
r1250 | Overview | ||
======== | ||||
|
r864 | |||
|
r22640 | Welcome to IPython. Our full documentation is available on `ipython.readthedocs.io | ||
|
r24794 | <https://ipython.readthedocs.io/en/stable/>`_ and contains information on how to install, use, and | ||
|
r22640 | contribute to the project. | ||
|
r26031 | 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. | ||
|
r1719 | |||
|
r23535 | **IPython versions and Python Support** | ||
|
r23534 | |||
|
r28428 | Starting after IPython 8.16, we will progressively transition to `Spec-0000 <https://scientific-python.org/specs/spec-0000/>`_. | ||
|
r25225 | Starting with IPython 7.10, IPython follows `NEP 29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_ | ||
|
r25974 | **IPython 7.17+** requires Python version 3.7 and above. | ||
|
r25225 | **IPython 7.10+** requires Python version 3.6 and above. | ||
|
r24793 | **IPython 7.0** requires Python version 3.5 and above. | ||
|
r24260 | |||
|
r24261 | **IPython 6.x** requires Python version 3.3 and above. | ||
|
r23534 | |||
|
r23535 | **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. | ||||
|
r23534 | |||
|
r2573 | |||
|
r21596 | The Notebook, Qt console and a number of other pieces are now parts of *Jupyter*. | ||
|
r24303 | See the `Jupyter installation docs <https://jupyter.readthedocs.io/en/latest/install.html>`__ | ||
|
r21596 | if you want to use these. | ||
|
r2573 | |||
|
r26117 | Main features of IPython | ||
======================== | ||||
Comprehensive object introspection. | ||||
|
r2573 | |||
|
r26117 | 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. | ||||
|
r7825 | |||
|
r22640 | |||
|
r22826 | Development and Instant running | ||
=============================== | ||||
|
r22640 | |||
You can find the latest version of the development documentation on `readthedocs | ||||
|
r24303 | <https://ipython.readthedocs.io/en/latest/>`_. | ||
|
r2481 | |||
You can run IPython from this directory without even installing it system-wide | ||||
|
r3345 | by typing at the terminal:: | ||
|
r22823 | |||
|
r10575 | $ python -m IPython | ||
|
r10139 | |||
|
r22799 | Or see the `development installation docs | ||
|
r24303 | <https://ipython.readthedocs.io/en/latest/install/install.html#installing-the-development-version>`_ | ||
|
r22823 | for the latest revision on read the docs. | ||
|
r22710 | |||
Documentation and installation instructions for older version of IPython can be | ||||
|
r24425 | found on the `IPython website <https://ipython.org/documentation.html>`_ | ||
|
r22823 | |||
|
r25254 | 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: | ||||
|
r27336 | - The classic Python REPL. | ||
|
r25254 | - `bpython <https://bpython-interpreter.org/>`_ | ||
- `mypython <https://www.asmeurer.com/mypython/>`_ | ||||
|
r27336 | - `ptpython and ptipython <https://pypi.org/project/ptpython/>`_ | ||
- `Xonsh <https://xon.sh/>`_ | ||||
|
r25428 | |||
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 | ||||
<https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile>`_ | ||||
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`` | ||||