| 1 |
# IPython Kernel for Jupyter |
| 2 |
|
| 3 |
[](https://github.com/ipython/ipykernel/actions/workflows/ci.yml/badge.svg?query=branch%3Amain++) |
| 4 |
[](http://ipykernel.readthedocs.io/en/latest/?badge=latest) |
| 5 |
|
| 6 |
This package provides the IPython kernel for Jupyter. |
| 7 |
|
| 8 |
## Installation from source |
| 9 |
|
| 10 |
1. `git clone` |
| 11 |
1. `cd ipykernel` |
| 12 |
1. `pip install -e ".[test]"` |
| 13 |
|
| 14 |
After that, all normal `ipython` commands will use this newly-installed version of the kernel. |
| 15 |
|
| 16 |
## Running tests |
| 17 |
|
| 18 |
Follow the instructions from `Installation from source`. |
| 19 |
|
| 20 |
and then from the root directory |
| 21 |
|
| 22 |
```bash |
| 23 |
pytest |
| 24 |
``` |
| 25 |
|
| 26 |
## Running tests with coverage |
| 27 |
|
| 28 |
Follow the instructions from `Installation from source`. |
| 29 |
|
| 30 |
and then from the root directory |
| 31 |
|
| 32 |
```bash |
| 33 |
pytest -vv -s --cov ipykernel --cov-branch --cov-report term-missing:skip-covered --durations 10 |
| 34 |
``` |
| 35 |
|
| 36 |
## About the IPython Development Team |
| 37 |
|
| 38 |
The IPython Development Team is the set of all contributors to the IPython project. |
| 39 |
This includes all of the IPython subprojects. |
| 40 |
|
| 41 |
The core team that coordinates development on GitHub can be found here: |
| 42 |
https://github.com/ipython/. |
| 43 |
|
| 44 |
## Our Copyright Policy |
| 45 |
|
| 46 |
IPython uses a shared copyright model. Each contributor maintains copyright |
| 47 |
over their contributions to IPython. But, it is important to note that these |
| 48 |
contributions are typically only changes to the repositories. Thus, the IPython |
| 49 |
source code, in its entirety is not the copyright of any single person or |
| 50 |
institution. Instead, it is the collective copyright of the entire IPython |
| 51 |
Development Team. If individual contributors want to maintain a record of what |
| 52 |
changes/contributions they have specific copyright on, they should indicate |
| 53 |
their copyright in the commit message of the change, when they commit the |
| 54 |
change to one of the IPython repositories. |
| 55 |
|
| 56 |
With this in mind, the following banner should be used in any source code file |
| 57 |
to indicate the copyright and license terms: |
| 58 |
|
| 59 |
``` |
| 60 |
# Copyright (c) IPython Development Team. |
| 61 |
# Distributed under the terms of the Modified BSD License. |
| 62 |
``` |