VRE JupyterLab Extension with VRE DSL highlighting and notebook execution guard
Project description
vre-jupyterlab-extension
A prebuilt JupyterLab 4 extension that provides CodeMirror 6 highlighting for the VRE DSL and a simple execution guard.
Why this package
- No Node tooling required for end users as the wheel embeds the prebuilt labextension assets.
- Installable via pip and ready to use in a JupyterLab environment.
Quick install
pip install vre-jupyterlab-extension
jupyter lab
Developer / Build from source
cd packages/vre-jupyterlab-extension
npm ci
npm run build
python -m pip install --upgrade build
python -m build --wheel --sdist
python -m pip install dist/vre_jupyterlab_extension-*.whl
Release (package-local)
You can run the release flow from inside the package directory. The package provides a helper that:
- prompts for the new semantic version
- updates
package.json,setup.cfg, andvre_jupyterlab_extension/__init__.py - removes build artifacts (
dist,build,lib,labextension,*.egg-info, ...) - runs
npm ci, builds frontend assets, and builds a Python wheel and sdist
Usage (from repository root):
cd packages/vre-jupyterlab-extension
npm run release
# or run directly
python3 ./scripts/release.py
Notes:
- The README uses the PyPI badge to show the published version dynamically. Avoid hardcoding the version string in the README so the badge stays authoritative.
- The package-local
releasescript is intentionally self-contained and safe to run from the package folder.
Release checklist and publish flow
- Create a release branch or PR title containing
release(for example:release/0.1.4). - The workflow
.github/workflows/release-pr-checklist.ymlwill auto-insert a release checklist into the PR description if missing. - Complete the checklist items before merge.
- Merge, create and push a tag like
v0.1.4. - The publish workflow
.github/workflows/extension-publish.ymlpublishes to PyPI and GitHub Packages. - Detailed release checklist and commands: see
RELEASE.md.
Documentation
Full documentation is available at https://officiallygod.github.io/vre-jupyterlab-extension/
Local development: run mkdocs serve from this directory after installing requirements_docs.txt.
Runtime requirements
jupyterlab>=4.2,<5
Notes
- The wheel includes
labextension/andinstall.json;setup.pycopies these assets into the wheel during the build step.
PyPI Repository: vre-jupyterlab-extension
Contributing
Please see the repository CONTRIBUTING guidelines and open issues to discuss changes.
License
BSD-3-Clause
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vre_jupyterlab_extension-0.1.11.tar.gz.
File metadata
- Download URL: vre_jupyterlab_extension-0.1.11.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73cb4e7efb5fef86f3271c82441453b9bdabc31c993273825fd6f83d132f22d0
|
|
| MD5 |
1febd822748687d225a740023c70b360
|
|
| BLAKE2b-256 |
4e3f8199b6b3501c9fc91ad90311b36f652d9568834f01c359cf4bd751202629
|
File details
Details for the file vre_jupyterlab_extension-0.1.11-py3-none-any.whl.
File metadata
- Download URL: vre_jupyterlab_extension-0.1.11-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b817800822f6bd1de597a1a7674aa7ffd62af621bdc794617843703afb83c16
|
|
| MD5 |
e69003f76fa50bfce7b62117ddd38d49
|
|
| BLAKE2b-256 |
3a52308f91083f1d037344ceb49b397525e0bd24972cfa9e3f475e147e924d55
|