Skip to main content

Peer-to-peer file sharing for JupyterLab - create named shares (drops) or requests (inboxes), get a link, share it. Files served directly from your server; recipients can use a JupyterLab panel or a plain browser.

Project description

jupyterlab_share_files_extension

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

[!TIP] Part of stellars_jupyterlab_extensions. Install all at once: pip install stellars_jupyterlab_extensions

AirDrop for JupyterLab. Create a share (file drop) or request (inbox), copy the link, paste it in chat. Recipients open it in their JupyterLab panel or any plain browser.

Features

  • Shares - read-only file/folder drops; recipients download
  • Requests - inboxes; recipients upload, organised per uploader
  • Connections - paste someone's link to subscribe to their share or upload to their request
  • Drag-and-drop from the file browser - drop zone (new share), share row (add files), request row (upload)
  • Right-click context menu on the file browser ("Share Files..."), and on panel entries ("Copy to Current Folder", "Show in File Browser")
  • Standalone HTML page - link works in any browser, no JupyterLab needed
  • Live upload notifications when someone uploads to your request
  • Symlink-friendly - sharing @shared/... and similar works
  • Settings toggles - turn shares or requests on/off independently

Install

Requires JupyterLab 4.0+.

pip install jupyterlab_share_files_extension

Storage

Files live under <server_root_dir>/uploads/<shares|requests>/<slug>-<id>/. Each share/request is identified by an 8-char base32 token; the token is the credential.

Change the location via jupyter_server_config.py:

c.ShareFilesConfig.shares_dir = "/path/to/storage"

Settings

Settings → Settings Editor → Share Files toggles enableShares and enableRequests independently (both default on). Connections stay available either way.

Security

The link is the credential (40 bits of entropy). HTTPS is inherited from your JupyterHub/Jupyter proxy. Suitable for trusted-channel sharing (Slack, email). No expiry, no PIN.

Uninstall

pip uninstall jupyterlab_share_files_extension

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_share_files_extension-1.0.6.tar.gz (233.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_share_files_extension-1.0.6.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_share_files_extension-1.0.6.tar.gz
Algorithm Hash digest
SHA256 dcedd6d875bdbf67637a40ced080ceeff0d867b60c404c644d018889891e3422
MD5 005bb395fd3a0e1b50a9e568248e3605
BLAKE2b-256 82dae63f4890bacbeacdfc3af7129ccd0221096777c3130c821de2a541dbb3fe

See more details on using hashes here.

File details

Details for the file jupyterlab_share_files_extension-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_share_files_extension-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4029444cf4269e3fd0d06aafeb200378798ef091abdd953927b49ac5e1547f3d
MD5 25a68f526c1b1f9550f5471f48aeb076
BLAKE2b-256 9de819e921bae6a977b713326c5f6c4c5630ebd3f675acdbd08d60f930fc440e

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