A terminal for JupyterLite
Project description
jupyterlite_terminal
A terminal for JupyterLite.
⚠️ This extension is still in development and not yet ready for general use. ⚠️
Requirements
- JupyterLite >= 0.4.0
Install
To install the extension, execute:
pip install jupyterlite-terminal
You will also need to install the JupyterLite CLI:
python -m pip install --pre jupyterlite-core
Usage
After installing jupyterlite-core
and jupyterlite-terminal
, create a jupyter-lite.json
file with the following content to activate the terminal extension:
{
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"terminalsAvailable": true
}
}
Then build a new JupyterLite site:
jupyter lite build
Contributing
Development install
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 jupyterlite_terminal directory
# 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 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 watch
# Run JupyterLab in another terminal
jupyter lab
Then build a JupyterLite distribution with the extension installed:
jupyter lite build
And serve it:
jupyter lite serve
Packaging the extension
See RELEASE
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 jupyterlite_terminal-0.1.0.tar.gz
.
File metadata
- Download URL: jupyterlite_terminal-0.1.0.tar.gz
- Upload date:
- Size: 155.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9fef2ce25a9b7772c347865a4575e4069de3057ae4f268f412603468da8333f |
|
MD5 | 875f248f7994427d35cce73624921ea5 |
|
BLAKE2b-256 | f987d216288d59d39969f7a94f143f18db0fba314e777089b1ae06a65bd1ab00 |
File details
Details for the file jupyterlite_terminal-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: jupyterlite_terminal-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f78152b62ba6561c440de910827fd796d796dab5d8671d2c05872bec6b30412f |
|
MD5 | c9dea3761783a0383bf9d910293e8cfa |
|
BLAKE2b-256 | e83621058663e6e0b10383452b341d51f31d4bdc33809742a85e75a45df3875e |