Skip to main content

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

Metadata

Release files for jupyviv 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyviv 0.1.2
File Size Uploaded
jupyviv-0.1.2.tar.gz 111.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyviv 0.1.2
File Interpreter ABI Platform
jupyviv-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 142.5 kB

Release files / jupyviv-0.1.2.tar.gz

Download URL jupyviv-0.1.2.tar.gz
Size 111.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49974c53ce5415f5f444d5a74f3a0871982beffdcde93419e273e1b0774781e1
BLAKE2b-256 checksum
How to use checksums
2688764d970cf28aaa67db3eddb4825720b27fb77af40a518d079832f8fef1f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.17

Release files / jupyviv-0.1.2-py3-none-any.whl

Download URL jupyviv-0.1.2-py3-none-any.whl
Size 31.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a24591e2119049f17dc705c8a0e738b31c81602f64badfcb9ba22fd44ad0c85c
BLAKE2b-256 checksum
How to use checksums
d5984d7f1fc7d9562a4136d9614d8464c2fe62042728e7ecebc2fb25cfdf82cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.17

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page