jupyter_existing_provisioner
This package register existing_provisioner endpoint for attach to the running jupyter kernel.
pip install jupyter_existing_provisioner
# check endpoint
jupyter pyxll install
Based on PyXLL-Jupyter.
Requirements
- Jupyter-client >= 7.0.0
Optional
- jupyterlab >= 4.0.0
Installation
To install this package use:
pip install jupyter_existing_provisioner
Once installed register existing_provisioner endpoint for jupyter_client.
# check endpoints
jupyter kernelspec provisioners
Jupyter Lab
# prepare working environment
pip install jupyterlab
pip install qtconsole
python embed_qtconsole.py
# connect to the last kernel
jupyter lab --KernelProvisionerFactory.default_provisioner_name=existing-provisioner
# linux: connect to the kernel-xxxx.json file
EXISTING_CONNECTION_FILE=kernel-xxxx.json jupyter lab --KernelProvisionerFactory.default_provisioner_name=existing-provisioner
# windows: connect to the kernel-xxxx.json file
set EXISTING_CONNECTION_FILE=kernel-xxxx.json
jupyter lab --KernelProvisionerFactory.default_provisioner_name=existing-provisioner
In the working kernel show connection info magic %connect_info
Google Colab
# prepare for connect colab
pip install jupyter_http_over_ws
jupyter serverextension enable --py jupyter_http_over_ws
jupyter lab --KernelProvisionerFactory.default_provisioner_name=existing-provisioner \
--ServerApp.allow_origin='https://colab.research.google.com'
Start Google Colab and connect to the local environment - url from terminal.
Release files for jupyter-existing-provisioner 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyter_existing_provisioner-0.1.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyter_existing_provisioner-0.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / jupyter_existing_provisioner-0.1.4.tar.gz
| Download URL | jupyter_existing_provisioner-0.1.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
508c109061d58756197d1c5266ab70f226d363711e356be48cc889ea46e9a023
|
|
BLAKE2b-256 checksum How to use checksums |
536d67e04f281254298e81adb626205531c6afc69d1c457f2ce48267d7db58ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.3
|
Release files / jupyter_existing_provisioner-0.1.4-py2.py3-none-any.whl
| Download URL | jupyter_existing_provisioner-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
333fa4c1a3c65c55f0f5066631f09ce71c9e0199bde1eaf9ba6a3d497a9f4f32
|
|
BLAKE2b-256 checksum How to use checksums |
f53a72643af76f539730c3f766124b195b988da6c6e2843f8ca91409ce84bc48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.3
|