Skip to main content

Edit and run Jupyter Notebooks with plain text editors like Neovim while live viewing them with Vivify

Project description

Jupyviv

Jupyviv is a solution for working with and running Jupyter Notebooks from plain text editors such as Neovim while using Vivify as a live viewer of the full Notebook in the browser.

Showcase

[!NOTE] Jupyviv is very new. I have been using it myself in my daily workflow for a few months now but there may be bugs that make it hard for you to use it. If this happens, don't hesitate to open an issue, we'll find a solution and fix it!

Features

Aside from allowing you to use your favorite editor with Jupyter Notebooks, the main benefit of Jupyviv comes from the fact that computation is fully decoupled from file handling and your editor:

  • Edit and render your Notebooks locally and optionally run computation on a different machine through an SSH tunnel
  • Disconnect and keep running: No need to keep the your local machine connected or even running to have the remote keep computing and saving all outputs. This is something Jupyter Notebooks can't do
  • Almost no setup on remote: Just install Jupyviv and the Kernel you need, open the SSH tunnel and you are good to go. No need to even clone your repository there or configure anything

Install

pip install jupyviv

Usage

Using Jupyviv requires Vivify and a plugin for integration with your editor. See below for a list of existing editor integration.

Jupyviv itself is made up of two components:

  • Agent, responsible for computation
  • Handler, responsible for handling files locally, and communication between the Agent, your editor, and Vivify

The Handler is always run locally where your editor and Vivify are as well, and should be taken care of by your editor plugin. The Agent can be automatically launched and managed by the Handler, or run separately (optionally on a different machine).

To run the Agent either way, you need the Jupyter Kernel for the respective language installed, e.g. pip install ipykernel for Python. If you want to run the agent separately, use jupyviv agent --help for more information.

Existing editor integration

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

jupyviv-0.1.2.tar.gz (111.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyviv-0.1.2-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyviv-0.1.2.tar.gz.

File metadata

  • Download URL: jupyviv-0.1.2.tar.gz
  • Upload date:
  • Size: 111.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for jupyviv-0.1.2.tar.gz
Algorithm Hash digest
SHA256 49974c53ce5415f5f444d5a74f3a0871982beffdcde93419e273e1b0774781e1
MD5 cb58a249d40e3b7dd6044bf121664170
BLAKE2b-256 2688764d970cf28aaa67db3eddb4825720b27fb77af40a518d079832f8fef1f3

See more details on using hashes here.

File details

Details for the file jupyviv-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: jupyviv-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for jupyviv-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a24591e2119049f17dc705c8a0e738b31c81602f64badfcb9ba22fd44ad0c85c
MD5 45bc48e4b3d0589f075f60b91e4c7f0f
BLAKE2b-256 d5984d7f1fc7d9562a4136d9614d8464c2fe62042728e7ecebc2fb25cfdf82cd

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