Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

jupyterlab-python-file

Binder PyPI conda-forge npm

Create Python Files from JupyterLab

screenshot

screenshot2

Prerequisites

  • JupyterLab 1.0+

Installation

For JupyterLab 3.x, the extension can be installed with pip:

pip install jupyterlab-python-file

Or with conda:

conda install -c conda-forge jupyterlab-python-file

# or with mamba
mamba install jupyterlab-python-file

For JupyterLab 1.x and 2.x:

jupyter labextension install jupyterlab-python-file

Development

Note: You will need NodeJS to build the extension package.

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Change directory to the jupyterlab-python-file directory

# create a new environment
conda create -n jupyterlab-python-file -c conda-forge python nodejs -y
conda activate jupyterlab-python-file

# install the JupyterLab pre-release
python -m pip install --pre jupyterlab

# Install package in development mode
pip install -e .

# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite

# Rebuild extension Typescript source after making changes
jlpm run build

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

Release files for jupyterlab-python-file 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-python-file 0.5.5
File Size Uploaded
jupyterlab-python-file-0.5.5.tar.gz 125.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-python-file 0.5.5
File Interpreter ABI Platform
jupyterlab_python_file-0.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 193.6 kB

Release files / jupyterlab-python-file-0.5.5.tar.gz

Download URL jupyterlab-python-file-0.5.5.tar.gz
Size 125.7 kB
Tags Source
SHA-256 checksum
How to use checksums
556377c1896c1ebf37bd6e9f7ad363c627b4472f82f59ca5fe2adf6daf44dc63
BLAKE2b-256 checksum
How to use checksums
bf17e7dd371b751671fb3dc4b37823b69bc544d5ad4945a7a42bf5fb0db0b95f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / jupyterlab_python_file-0.5.5-py3-none-any.whl

Download URL jupyterlab_python_file-0.5.5-py3-none-any.whl
Size 68.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5a3f3f39d2dc2a34ba035c9e7969b35e7a67508b4fa97efa3fef9cc059f1792
BLAKE2b-256 checksum
How to use checksums
176074d627416411f6234025ba83698b9296d655a603cc24caaf4b85270c1190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page