jupyter-client 8.6.3


pip install jupyter-client

  Latest version

Released: Sep 17, 2024


Meta
Author: Jupyter Development Team
Requires Python: >=3.8

Classifiers

Framework
  • Jupyter

Intended Audience
  • Developers
  • Education
  • Science/Research
  • System Administrators

License
  • OSI Approved :: BSD License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3

Jupyter Client

Build Status Documentation Status

jupyter_client contains the reference implementation of the Jupyter protocol. It also provides client and kernel management APIs for working with kernels.

It also provides the jupyter kernelspec entrypoint for installing kernelspecs for use with Jupyter frontends.

Development Setup

The Jupyter Contributor Guides provide extensive information on contributing code or documentation to Jupyter projects. The limited instructions below for setting up a development environment are for your convenience.

Coding

You'll need Python and pip on the search path. Clone the Jupyter Client git repository to your computer, for example in /my/project/jupyter_client

cd /my/projects/
git clone git@github.com:jupyter/jupyter_client.git

Now create an editable install and download the dependencies of code and test suite by executing:

cd /my/projects/jupyter_client/
pip install -e ".[test]"
pytest

The last command runs the test suite to verify the setup. During development, you can pass filenames to pytest, and it will execute only those tests.

Documentation

The documentation of Jupyter Client is generated from the files in docs/ using Sphinx. Instructions for setting up Sphinx with a selection of optional modules are in the Documentation Guide. You'll also need the make command. For a minimal Sphinx installation to process the Jupyter Client docs, execute:

pip install ".[doc]"

The following commands build the documentation in HTML format and check for broken links:

cd /my/projects/jupyter_client/docs/
make html linkcheck

Point your browser to the following URL to access the generated documentation:

file:///my/projects/jupyter_client/docs/_build/html/index.html

Contributing

jupyter-client has adopted automatic code formatting so you shouldn't need to worry too much about your code style. As long as your code is valid, the pre-commit hook should take care of how it should look. You can invoke the pre-commit hook by hand at any time with:

pre-commit run

which should run any autoformatting on your code and tell you about any errors it couldn't fix automatically. You may also install black integration into your text editor to format code automatically.

If you have already committed files before setting up the pre-commit hook with pre-commit install, you can fix everything up using pre-commit run --all-files. You need to make the fixing commit yourself after that.

Some of the hooks only run on CI by default, but you can invoke them by running with the --hook-stage manual argument.

About the Jupyter Development Team

The Jupyter Development Team is the set of all contributors to the Jupyter project. This includes all of the Jupyter subprojects.

The core team that coordinates development on GitHub can be found here: https://github.com/jupyter/.

Our Copyright Policy

Jupyter uses a shared copyright model. Each contributor maintains copyright over their contributions to Jupyter. But, it is important to note that these contributions are typically only changes to the repositories. Thus, the Jupyter source code, in its entirety is not the copyright of any single person or institution. Instead, it is the collective copyright of the entire Jupyter Development Team. If individual contributors want to maintain a record of what changes/contributions they have specific copyright on, they should indicate their copyright in the commit message of the change, when they commit the change to one of the Jupyter repositories.

With this in mind, the following banner should be used in any source code file to indicate the copyright and license terms:

# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
8.6.3 Sep 17, 2024
8.6.2 May 23, 2024
8.6.1 Mar 12, 2024
8.6.0 Nov 06, 2023
8.5.0 Oct 25, 2023
8.4.0 Oct 11, 2023
8.3.1 Aug 29, 2023
8.3.0 Jun 23, 2023
8.2.0 Apr 13, 2023
8.1.0 Mar 20, 2023
8.0.3 Feb 16, 2023
8.0.2 Jan 30, 2023
8.0.1 Jan 26, 2023
8.0.0 Jan 26, 2023
8.0.0rc0 Dec 19, 2022
8.0.0b3 Dec 13, 2022
8.0.0b2 Dec 08, 2022
8.0.0b1 Dec 05, 2022
8.0.0b0 Nov 29, 2022
8.0.0a4 Nov 16, 2022
8.0.0a3 Nov 15, 2022
8.0.0a2 Nov 09, 2022
8.0.0a1 Oct 25, 2022
8.0.0a0 Oct 12, 2022
7.4.9 Jan 12, 2023
7.4.8 Dec 05, 2022
7.4.7 Nov 16, 2022
7.4.6 Nov 15, 2022
7.4.5 Nov 10, 2022
7.4.4 Oct 25, 2022
7.4.3 Oct 19, 2022
7.4.2 Oct 11, 2022
7.4.1 Oct 11, 2022
7.4.0 Oct 11, 2022
7.3.5 Aug 25, 2022
7.3.4 Jun 08, 2022
7.3.3 Jun 07, 2022
7.3.2 Jun 06, 2022
7.3.1 May 08, 2022
7.3.0 Apr 25, 2022
7.2.2 Apr 07, 2022
7.2.1 Mar 30, 2022
7.2.0 Mar 29, 2022
7.1.2 Jan 21, 2022
7.1.1 Jan 14, 2022
7.1.0 Nov 22, 2021
7.0.6 Oct 05, 2021
7.0.5 Sep 29, 2021
7.0.4 Sep 28, 2021
7.0.3 Sep 16, 2021
7.0.2 Aug 30, 2021
7.0.1 Aug 20, 2021
7.0.0 Aug 19, 2021
7.0.0rc1 Aug 11, 2021
7.0.0rc0 Aug 05, 2021
7.0.0a1 Jul 26, 2021
7.0.0a0 Apr 12, 2021
6.2.0 Apr 12, 2021
6.1.13 Apr 07, 2021
6.1.12 Mar 14, 2021
6.1.11 Jan 09, 2021
6.1.10 Jan 08, 2021
6.1.9 Jan 08, 2021
6.1.8 Jan 08, 2021
6.1.7 Aug 25, 2020
6.1.6 Jul 14, 2020
6.1.5 Jun 30, 2020
6.1.3 Apr 13, 2020
6.1.2 Mar 26, 2020
6.1.1 Mar 25, 2020
6.1.0 Mar 20, 2020
6.0.0 Feb 24, 2020
5.3.5 Jun 30, 2020
5.3.4 Oct 08, 2019
5.3.3 Sep 17, 2019
5.3.2 Sep 13, 2019
5.3.1 Jul 09, 2019
5.3.0 Jul 07, 2019
5.2.4 Dec 10, 2018
5.2.3 Mar 12, 2018
5.2.2 Jan 24, 2018
5.2.1 Jan 03, 2018
5.2.0 Dec 18, 2017
5.1.0 Jun 22, 2017
5.0.1 Apr 04, 2017
5.0.0 Feb 20, 2017
4.4.0 Aug 31, 2016
4.3.0 Jun 07, 2016
4.2.2 Mar 10, 2016
4.2.1 Mar 06, 2016
4.2.0 Mar 04, 2016
4.1.1 Oct 08, 2015
4.1.0 Oct 08, 2015
4.0.0 Jul 12, 2015

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
importlib-metadata (>=4.8.3)
jupyter-core (!=5.0.*,>=4.12)
python-dateutil (>=2.8.2)
pyzmq (>=23.0)
tornado (>=6.2)
traitlets (>=5.3)