A JupyterLab extension that allows adding comments to notebooks and documents in a multiuser environment.
Project description
jupyterhub_comments
A JupyterLab extension that allows adding comments to notebooks and documents in a multiuser environment, where files are shared between users, wher the main goal is the review process
Features
- Add comments to specific cells of jupyter notebooks or lines of text documents
- Edit, delete, resolve and reply to comments
- Icons indicate when comments are added to a document and highlight the comment upon clicking
- Clicking a comment text in an interface focuses notebook cell / line where comment was placed
Examples and more detailed documentation
Requirements
- JupyterLab >= 4.0.0,<5
Install
To install the extension, execute:
pip install jupyterhub_comments
To enable comment sharing among users, set the JUPYTERHUB_COMMENTS_DB_PATH environment variable to specify the directory where the comments.db file should be stored. By default, the comments are saved in the directory where the extension is installed, which may vary between users or be non-writable if the extension is installed globally, thus preventing comment sharing.
Ensure that Jupyter users have read, write, and execute permissions for the directory where the comments.db file is located, and read and write permissions for the file itself.
The library will attempt to configure these permissions automatically by creating the specified directory from JUPYTERHUB_COMMENTS_DB_PATH with 775 permissions for the current user and the jupyterhub-users group, and setting 664 permissions on the comments.db file. You can change the default jupyterhub-users group by using the JUPYTERHUB_COMMENTS_DB_GROUP environment variable.
Uninstall
To remove the extension, execute:
pip uninstall jupyterhub_comments
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
File details
Details for the file jupyterhub_comments-1.0.1.tar.gz
.
File metadata
- Download URL: jupyterhub_comments-1.0.1.tar.gz
- Upload date:
- Size: 12.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811afd7aec7ca8f5a54601195f4e286ad3266460f3c7ce8d463037c771ac2044 |
|
MD5 | 4f7eeb65c4cba3accd710263749fed8f |
|
BLAKE2b-256 | 4f291382746bc9ea9a41305d4b3b3a5ff3db0cd2f38a6b104fbd02665fb21c6a |
File details
Details for the file jupyterhub_comments-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: jupyterhub_comments-1.0.1-py3-none-any.whl
- Upload date:
- Size: 41.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb25cc9fd3f09e890a66df455d60cd4df5cca3b25d33ed0fc65f49df297f35f |
|
MD5 | bb6519b927b413cd157947063cbabe45 |
|
BLAKE2b-256 | 3dd3e4b2a56758788e262d8659e6d91c46c41f9bde7e128a29e7c80f34969447 |