Skip to main content

Jupyterlab fix in a form of extension for a common problem of restoring workspace after server restart etc... such that terminal windows are there, but they all were opened in the same location (notebook root). We'd like to have them opened in the locations where they were opened originally.

Project description

jupyterlab_restore_terminals_fix

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

[!TIP] This extension is part of the stellars_jupyterlab_fixes metapackage. Install all Stellars extensions at once: pip install stellars_jupyterlab_fixes

Fix for the common JupyterLab problem where terminal windows lose their working directories after workspace restoration. When JupyterLab restores a saved workspace (after server restart, browser refresh, etc.), all terminals reopen pointing to the notebook root instead of their original locations. This extension remembers and restores each terminal's working directory.

Features

  • Automatic cwd restoration - terminals reopen in their original working directories after workspace restore
  • Server-side cwd detection - accurately determines each terminal's current directory via process inspection
  • Cross-platform support - works on Linux (via /proc) and macOS (via lsof)
  • Transparent operation - works automatically with no user interaction required

Requirements

  • JupyterLab >= 4.0.0

Install

pip install jupyterlab_restore_terminals_fix

Uninstall

To remove the extension, execute:

pip uninstall jupyterlab_restore_terminals_fix

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

jupyterlab_restore_terminals_fix-0.9.26.tar.gz (271.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file jupyterlab_restore_terminals_fix-0.9.26.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_restore_terminals_fix-0.9.26.tar.gz
Algorithm Hash digest
SHA256 18ff629c3f14e0d15ca241c93d6eae086f334336e767bd5cb8dddfeaf87236d4
MD5 89b0ae5bf6ebb5d63fdb239938c130d3
BLAKE2b-256 c1fefc48f8a36aa3c9b1cb506f098ad8d4d6fae9cdd20b8a9b4c618c3cd1c331

See more details on using hashes here.

File details

Details for the file jupyterlab_restore_terminals_fix-0.9.26-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_restore_terminals_fix-0.9.26-py3-none-any.whl
Algorithm Hash digest
SHA256 13d1c62b7d5057f3e44d8dbda154e00f7b41f2cb0d7eaaf38a27d7045ba26def
MD5 f14d795464c43b4c8596d5e96d94cd60
BLAKE2b-256 4e9cace52f3ab5f4c1ec7a42f654ca6d7c82c622bceff811c8302dc6d1344d56

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