Background ZMQ IPython/Jupyter kernel
Project description
Run some IPython ZMQ kernel in the background, without an interactive shell.
You can connect to that kernel remotely via ZMQ.
Alternatives / related links:
* `pydbattach <https://github.com/albertz/pydbattach>`_
* `Twisted SSH <https://crochet.readthedocs.io/en/stable/introduction.html#ssh-into-your-server>`_
(`example code <https://github.com/msabramo/pyramid_ssh_crochet/blob/master/pyramid_ssh_crochet.py>`_)
* ``IPython.embed_kernel`` in a background thread
(`example code <https://github.com/msabramo/pyramid_ipython_kernel/blob/master/pyramid_ipython_kernel.py>`_).
This has some issues
(e.g. `here <https://github.com/ipython/ipython/issues/4032>`_;
messing around with ``sys.stdout`` etc).
* This code was introduced in
`this StackOverflow question <https://stackoverflow.com/questions/29148319/provide-remote-shell-for-python-script>`_,
and also discussed in this `IPython GitHub issue #8097 <https://github.com/ipython/ipython/issues/8097>`_,
but it has become outdated, so this project provides a rewrite / updated code,
and the goal was also an easy to install pip package.
You can connect to that kernel remotely via ZMQ.
Alternatives / related links:
* `pydbattach <https://github.com/albertz/pydbattach>`_
* `Twisted SSH <https://crochet.readthedocs.io/en/stable/introduction.html#ssh-into-your-server>`_
(`example code <https://github.com/msabramo/pyramid_ssh_crochet/blob/master/pyramid_ssh_crochet.py>`_)
* ``IPython.embed_kernel`` in a background thread
(`example code <https://github.com/msabramo/pyramid_ipython_kernel/blob/master/pyramid_ipython_kernel.py>`_).
This has some issues
(e.g. `here <https://github.com/ipython/ipython/issues/4032>`_;
messing around with ``sys.stdout`` etc).
* This code was introduced in
`this StackOverflow question <https://stackoverflow.com/questions/29148319/provide-remote-shell-for-python-script>`_,
and also discussed in this `IPython GitHub issue #8097 <https://github.com/ipython/ipython/issues/8097>`_,
but it has become outdated, so this project provides a rewrite / updated code,
and the goal was also an easy to install pip package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file background_zmq_ipython-1.20190201.152349.tar.gz.
File metadata
- Download URL: background_zmq_ipython-1.20190201.152349.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe47da8f34432803c99a07c6282717296556b7f1c5cfa602c0cfdfc22912cb76
|
|
| MD5 |
40b40d4848e6cb0d53d2c375d7a73506
|
|
| BLAKE2b-256 |
beb79fc406a8a1cf37ec4c6ddd80b9c43af10c0f2f90b67833c15a890ecfb160
|