Q# extension for JupyterLab
Reason this release was yanked:
Superseded
Project description
Q# extension for JupyterLab
Prerequisites
You will need to install jupyterlab
to build and develop the extension.
pip install jupyterlab==4.0.0
A note about yarn
The jlpm
command used below is an alias for yarn
which comes bundled with Jupyter.
This folder is not part of the npm
workspace that is defined at the root of this repo.
This is intentional, since Jupyter extension tooling depends on jlpm
, which expects a
yarn
-style workspace and a yarn.lock
file.
Building
To build and install the extension in development mode, from the jupyterlab
directory run:
pip install -e .
# The below command creates a symlink from JupyterLab's
# extensions directory to the current source directory.
jupyter labextension develop . --overwrite
To start JupyterLab and use the extension, run:
jupyter lab
To rebuild after making source changes, run:
jlpm build
Then refresh the browser.
Uninstalling
Remove the pip
package by running:
pip uninstall qsharp_jupyterlab
You will also need to remove the symlink created by jupyter labextension develop
command. To find its location, you can run jupyter labextension list
to figure out where the labextensions
folder is located. Then you can remove the symlink named qsharp_jupyterlab
within that folder.
Testing
Run pytest
from the jupyterlab
folder to run the extension tests.
Releasing
The extension can be published to PyPI
and npm
manually or using the Jupyter Releaser.
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 Distributions
Built Distribution
File details
Details for the file qsharp_jupyterlab-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: qsharp_jupyterlab-0.0.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 548baa51fd58f64eaf2a7c983c8b3744fe3e16a0b297e58202179814bbfeb91b |
|
MD5 | d7dc7d5860edd43ad9c759c21e25e6e4 |
|
BLAKE2b-256 | 445df1d8a1de054d70e49e0f0178eae1a7ba509baf502561b4526ef173033c16 |