Jupyter protocol implementation and client libraries
Maintained. Last release 3 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity.
pip install jupyter-clientJupyter Client
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: