Skip to main content

A Kernel Proxy to restart your kernels in place.

Project description

In Place restarter

A Jupyter kernel proxy which can be useful for inplace restart.

In hpc system for example you might not want to go back through the scheduler. it might be useful to restart in place.

This install a proxy kernel which will forward all the messages to the underlying kernel, but intercept the %restart magic to kill and restart the underlying kernel.

Installing:

$ pip install inplace_restarter

This must be installed on all the environment you want to restart ipykernel in place.

$ python -m inplace_restarter list
In place restarting installed on:
  ✓ 'atk'

Use:python -m inplace_restarter remove [name,[name...]] to remove

In place restarting installable on:
  - 'python3'
  - 'mpl'
  - 'sns'

Use:python -m inplace_restarter install [name,[name...]] to install

Unknown kernel types, does not know how to install:
  ✘ 'bash'
  ✘ 'ir'
  ✘ 'julia-0.6'

If prompt toolkit is installed, python -m inplace_restarter wiz will open a wizard to install/remove from kernels.

Gotchas:

Automatic install suppose that the kernelspec path on all the system this will be used is the same. This is made to not "Pollute" the kernelspec list; otherwise you will get 2x the number of kernelspec. one to launch the proxy and one to launch the inner kernel.

Project details


Download files

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

Source Distribution

inplace_restarter-0.0.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

inplace_restarter-0.0.2-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file inplace_restarter-0.0.2.tar.gz.

File metadata

  • Download URL: inplace_restarter-0.0.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.24.0

File hashes

Hashes for inplace_restarter-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f541dd58b5fc4f9463f68fe1eef8681770feb930dca83265d0d0d7ca5ccadefd
MD5 1d85df5a23137eb9c4db69bb35a25195
BLAKE2b-256 3a896b3e7f53dc8c71c069bea30833d83845cab4ea4d16ae4922a9d0b343c125

See more details on using hashes here.

File details

Details for the file inplace_restarter-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for inplace_restarter-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 720d2b8df6bc1229d26740c3ad77aad81b27d91b73994715019c41077c29aa4c
MD5 b802166916f2980b6cb56ac2218b6f56
BLAKE2b-256 2138ec6ce51cf61363cbfda9435daee31dc56c5ba1b2aec587d83f52fb9f7f22

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page