Skip to main content

jupyterlab_macaulay2

PyPI version npm version Github Actions Status

CodeMirror-based syntax highlighting for Macaulay2 in Jupyter code cells

The extension registers Macaulay2 with JupyterLab's CodeMirror language registry, so code cells running the Macaulay2 kernel and files ending in .m2 are highlighted as you type.

It also highlights Macaulay2 that JupyterLab itself renders plain: macaulay2 and m2 code fences in markdown cells, whatever their case, and the documentation the kernel emits as raw HTML, which rendermime's markdown highlighter never sees. Both use the same language and the same theme-aware colors as the editor.

Alongside that, it fixes a few things about how the kernel's output is laid out: examples and nets are left-aligned, and documentation Usage: lines keep the label and the code on one line.

Requirements

  • JupyterLab >= 4.3.5

Install

To install the extension, execute:

pip install jupyterlab_macaulay2

Uninstall

To remove the extension, execute:

pip uninstall jupyterlab_macaulay2

Contributing

If you would like to contribute to this extension, please refer to the Contributing Guide.

Metadata

Release files for jupyterlab-macaulay2 0.3.0

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-macaulay2 0.3.0
File Size Uploaded Provenance
jupyterlab_macaulay2-0.3.0.tar.gz 194.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-macaulay2 0.3.0
File Interpreter ABI Platform
jupyterlab_macaulay2-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 222.6 kB

Release files / jupyterlab_macaulay2-0.3.0.tar.gz

Download URL jupyterlab_macaulay2-0.3.0.tar.gz
Size 194.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9220537f76a690ffb143eb492c03933eb4fbf6499ab80ef5196a7c571e54e5e4
BLAKE2b-256 checksum
How to use checksums
ae5de8007adf7a3f9c6a2fa7813d08862718745926946e3ea635eb31e9198353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / jupyterlab_macaulay2-0.3.0-py3-none-any.whl

Download URL jupyterlab_macaulay2-0.3.0-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29e6556ee8b6b35466e6642b0ee26773dc7fcff6e0d1fd8680c1d6fa5f560124
BLAKE2b-256 checksum
How to use checksums
2903e64d5c8a141de35d16215aa7f924465f7dbe53d1a479e03820eeaf193a03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.14

Security for jupyterlab-macaulay2 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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