Skip to main content

Jupyter Client

Build Status Code style: black

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_client-7.3.5.tar.gz (326.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_client-7.3.5-py3-none-any.whl (132.1 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_client-7.3.5.tar.gz.

File metadata

  • Download URL: jupyter_client-7.3.5.tar.gz
  • Upload date:
  • Size: 326.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for jupyter_client-7.3.5.tar.gz
Algorithm Hash digest
SHA256 3c58466a1b8d55dba0bf3ce0834e4f5b7760baf98d1d73db0add6f19de9ecd1d
MD5 c182cd1ae8ba61a9709bec452db808d3
BLAKE2b-256 4dd1b6161a5e8639a0d35aeb59a50d944dc4928775db2408ea10b23087e354b6

See more details on using hashes here.

File details

Details for the file jupyter_client-7.3.5-py3-none-any.whl.

File metadata

  • Download URL: jupyter_client-7.3.5-py3-none-any.whl
  • Upload date:
  • Size: 132.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for jupyter_client-7.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b33222bdc9dd1714228bd286af006533a0abe2bbc093e8f3d29dc0b91bdc2be4
MD5 beb9fdbca753fe2c107bb0eb0934e7f2
BLAKE2b-256 35af66f66acacf1b22b1400cd46e1ac83810509511e7c75afbfbdd9155367a99

See more details on using hashes here.

Release history Release notifications | RSS feed

8.10.0

2 files

8.9.1

2 files

8.9.0

2 files

8.8.0

2 files

8.7.0

2 files

8.6.3

2 files

8.6.2

2 files

8.6.1

2 files

8.6.0

2 files

8.5.0

2 files

8.4.0

2 files

8.3.1

2 files

8.3.0

2 files

8.2.0

2 files

8.1.0

2 files

8.0.3

2 files

8.0.2

2 files

8.0.1

2 files

8.0.0

2 files

7.4.9

2 files

7.4.8

2 files

7.4.7

2 files

7.4.6

2 files

7.4.5

2 files

7.4.4

2 files

7.4.3

2 files

7.4.2

2 files

7.4.1

2 files

7.4.0

2 files

This release

7.3.5 This release

2 files

7.3.4

2 files

7.3.3

2 files

7.3.2

2 files

7.3.1

2 files

7.3.0

2 files

7.2.2

2 files

7.2.1

2 files

7.2.0

2 files

7.1.2

2 files

7.1.1

2 files

7.1.0

2 files

7.0.6

2 files

7.0.5

2 files

7.0.4

2 files

7.0.3

2 files

7.0.2

2 files

7.0.1

2 files

7.0.0

2 files

6.2.0

2 files

6.1.13

2 files

6.1.12

2 files

6.1.11

2 files

6.1.10

2 files

6.1.9

2 files

6.1.8

2 files

6.1.7

2 files

6.1.6

2 files

6.1.5

2 files

6.1.3

2 files

6.1.2

2 files

6.1.1

2 files

6.1.0

2 files

6.0.0

2 files

5.3.5

2 files

5.3.4

2 files

5.3.3

2 files

5.3.2

2 files

5.3.1

2 files

5.3.0

2 files

5.2.4

2 files

5.2.3

2 files

5.2.2

2 files

5.2.1

2 files

5.2.0

2 files

5.1.0

2 files

5.0.1

2 files

5.0.0

2 files

4.4.0

2 files

4.3.0

3 files

4.2.2

3 files

4.2.1

3 files

4.2.0

3 files

4.1.1

3 files

4.1.0

2 files

4.0.0

3 files

4.0.0.dev

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page