Skip to content

datalayer/jupyter-kernel-client

Repository files navigation

Jupyter Kernel Client (through websocket)

Github Actions Status

Jupyter Kernel Client to connect via WebSocket to Jupyter Servers.

Requirements

  • Jupyter Server

Install

To install the extension, execute:

pip install jupyter_kernel_client

Uninstall

To remove the extension, execute:

pip uninstall jupyter_kernel_client

Troubleshoot

If you are seeing the frontend extension, but it is not working, check that the server extension is enabled:

jupyter server extension list

Contributing

Development install

# Clone the repo to your local environment
# Change directory to the jupyter_kernel_client directory
# Install package in development mode - will automatically enable
# The server extension.
pip install -e ".[test,lint,typing]"

Running Tests

Install dependencies:

pip install -e ".[test]"

To run the python tests, use:

pytest

# To test a specific file
pytest jupyter_kernel_client/tests/test_handlers.py

# To run a specific test
pytest jupyter_kernel_client/tests/test_handlers.py -k "test_get"

Development uninstall

pip uninstall jupyter_kernel_client

Packaging the extension

See RELEASE