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
[!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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters