All Projects → jupyterlab → pull-requests

jupyterlab / pull-requests

Licence: BSD-3-Clause license
A JupyterLab extension for reviewing GitHub pull requests

Programming Languages

python
139335 projects - #7 most used programming language
typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to pull-requests

ipydagred3
ipywidgets library for drawing directed acyclic graphs in jupyterlab using dagre-d3
Stars: ✭ 38 (+15.15%)
Mutual labels:  jupyterlab, jupyterlab-extension
jlab-enhanced-cell-toolbar
A cell toolbar for JupyterLab.
Stars: ✭ 28 (-15.15%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyter-offlinenotebook
Save and load notebooks to local-storage
Stars: ✭ 39 (+18.18%)
Mutual labels:  jupyterlab, jupyterlab-extension
perspective-python
Python APIs for perspective front end
Stars: ✭ 14 (-57.58%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-sparkmonitor
JupyterLab extension that enables monitoring launched Apache Spark jobs from within a notebook
Stars: ✭ 78 (+136.36%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-vimrc
add a basic vimrc to jupyterlab vim
Stars: ✭ 59 (+78.79%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlite
Wasm powered Jupyter running in the browser 💡
Stars: ✭ 3,039 (+9109.09%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab iframe
View html as an embedded iframe in JupyterLab
Stars: ✭ 91 (+175.76%)
Mutual labels:  jupyterlab, jupyterlab-extension
spellchecker
Spellchecker for JupyterLab notebook markdown cells and file editor.
Stars: ✭ 162 (+390.91%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-h5web
A JupyterLab extension to explore and visualize HDF5 file contents. Based on https://github.com/silx-kit/h5web.
Stars: ✭ 41 (+24.24%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyter-archive
A Jupyter/Jupyterlab extension to make, download and extract archive files.
Stars: ✭ 57 (+72.73%)
Mutual labels:  jupyterlab, jupyterlab-extension
ipyp5
p5.js Jupyter Widget
Stars: ✭ 33 (+0%)
Mutual labels:  jupyterlab, jupyterlab-extension
knowledgelab
KnowledgeRepo + JupyterLab
Stars: ✭ 46 (+39.39%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-custom-css
Add custom CSS rules for JupyterLab
Stars: ✭ 32 (-3.03%)
Mutual labels:  jupyterlab, jupyterlab-extension
theme-cookiecutter
A cookiecutter template to help you make new JupyterLab theme extensions
Stars: ✭ 47 (+42.42%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab discovery
A JupyterLab extension to facilitate the discovery and installation of other extensions
Stars: ✭ 47 (+42.42%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-kubeflow-kale
JupyterLab extension to provide a Kubeflow specific left area for Notebooks deployment
Stars: ✭ 17 (-48.48%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-link-share
JupyterLab Extension to easily share a link to a running server on Binder
Stars: ✭ 40 (+21.21%)
Mutual labels:  jupyterlab, jupyterlab-extension
nbcelltests
Cell-by-cell testing for production Jupyter notebooks in JupyterLab
Stars: ✭ 66 (+100%)
Mutual labels:  jupyterlab, jupyterlab-extension
jupyterlab-heroku
JupyterLab extension to deploy applications to Heroku
Stars: ✭ 20 (-39.39%)
Mutual labels:  jupyterlab, jupyterlab-extension

jupyterlab-pullrequests

Build Status NPM Version Pypi Version Conda Version

A JupyterLab extension for reviewing pull requests.

demo

For now, it supports GitHub and GitLab providers.

Prerequisites

For GitLab, you will need also diff-match-patch

Usage

  • Open the pull request extension from the tab on the left panel

Installation

1. Install the extension with the following steps

With pip:

pip install jupyterlab-pullrequests

Or with conda:

conda install -c conda-forge jupyterlab-pullrequests

For GitLab, in addition, you will need to

pip install diff-match-patch

Or with conda:

conda install -c conda-forge diff-match-patch

2. Getting your access token

For GitHub, the documentation is there. The token scope must be repo.

For GitLab, the documentation is there. The token scope must be api.

Remember that this token is effectively a password for your account. Do not share it online or check the token into version control, as people can use it to access all of your data.

3. Setting your access token in JupyterLab Pull Requests

You now need to add the credentials you got from the provider to your server configuration file. Instructions for generating a configuration file can be found here. Once you have identified this file, add the following lines to it:

c.PRConfig.access_token = '<YOUR_ACCESS_TOKEN>'

where "<YOUR_ACCESS_TOKEN>" is the string value you obtained above.

If you are using GitLab instead of GitHub, you also need to set the provider:

c.PRConfig.provider = 'gitlab'

Congrats, you did it! Launch JupyterLab and look for the Pull Request tab on the left! 🎉

If you are not using GitHub.com or GitLab.com, you can set the API base URL of your provider with the configurable parameter PRConfig.api_base_url.

Settings

This extension as server settings.

  • PRConfig.access_token: Access token to be authenticated by the provider
  • PRConfig.provider: github (default) or gitlab
  • PRConfig.api_base_url: Provider API base url (default to https://api.github.com except if provider is gitlab then it defaults to https://gitlab.com/api/v4/)

Troubleshooting

  • If you are seeing the following error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain and the certificates are installed on your machine, you will need to set the SSL_CERT_FILE environment variable to point to your system certificates bundle. For example:
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt

Development

Contributing

If you would like to contribute to the project, please read our contributor documentation.

JupyterLab follows the official Jupyter Code of Conduct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].