Skip to main content

VRE JupyterLab Extension with VRE DSL highlighting and notebook execution guard

Project description

vre-jupyterlab-extension

CI PyPI <<<<<<< Updated upstream PyPI Downloads Python Wheel JupyterLab Docs

Docs

Stashed changes License

VRE logo

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, and vre_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 release script is intentionally self-contained and safe to run from the package folder.

Release checklist and publish flow

  1. Create a release branch or PR title containing release (for example: release/0.1.4).
  2. The workflow .github/workflows/release-pr-checklist.yml will auto-insert a release checklist into the PR description if missing.
  3. Complete the checklist items before merge.
  4. Merge, create and push a tag like v0.1.4.
  5. The publish workflow .github/workflows/extension-publish.yml publishes to PyPI and GitHub Packages.
  6. Detailed release checklist and commands: see RELEASE.md.

Documentation

Full documentation is available at https://virtmat-tools.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/ and install.json; setup.py copies 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vre_jupyterlab_extension-0.1.13.tar.gz (160.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vre_jupyterlab_extension-0.1.13-py3-none-any.whl (172.2 kB view details)

Uploaded Python 3

File details

Details for the file vre_jupyterlab_extension-0.1.13.tar.gz.

File metadata

File hashes

Hashes for vre_jupyterlab_extension-0.1.13.tar.gz
Algorithm Hash digest
SHA256 acf11f18cdebeffecf8833125160d958a7754bc1a3f5eff6bdd027a1291db21d
MD5 583998957f8bf2a79fc31d7d2348f401
BLAKE2b-256 a52316e7a8adaee48ad071e96c4fcc14523c068782f92449747094e5a5d18368

See more details on using hashes here.

File details

Details for the file vre_jupyterlab_extension-0.1.13-py3-none-any.whl.

File metadata

File hashes

Hashes for vre_jupyterlab_extension-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 571bf4bd96307fd779e320a299d447d404752f40ec2a09d1c31ed9acda20ca5e
MD5 b11c48c1c8a19df08e2f0484ff9ab3b6
BLAKE2b-256 67e499d621fd1d6a0a4a1d0fa22fb89fcfaebd1be9ae59e64fcbf2609db53338

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page