Skip to main content

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.

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

background_zmq_ipython-1.20190201.151619.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file background_zmq_ipython-1.20190201.151619.tar.gz.

File metadata

  • Download URL: background_zmq_ipython-1.20190201.151619.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5

File hashes

Hashes for background_zmq_ipython-1.20190201.151619.tar.gz
Algorithm Hash digest
SHA256 c468691307d9a37f2ada8ba6699a82da8aaf6c7ed2690a968b58990e429b79ec
MD5 c6c3e680bfee689021f1960ec04a37e6
BLAKE2b-256 d2549a92a6919dafeb3cfb58bc7f9fa51f5219f582d150d1b86ca2754940ae05

See more details on using hashes here.

Supported by

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