Jupyter bzlmod extensions
Module Extensions
jupyter
jupyter = use_extension("@rules_jupyter//jupyter:extensions.bzl", "jupyter")
jupyter.pandoc(name, version)
Jupyter dependencies.
TAG CLASSES
pandoc
Tag class for configuring Pandoc in the Jupyter module extension. Use this to specify which Pandoc version to use.
Attributes
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | Name of the Pandoc repository to create. This name can be referenced in use_repo() to access the Pandoc binary. | Name | required | |
| version | Pandoc version to use. Must be one of the versions available in PANDOC_VERSIONS. Defaults to the latest version. | String | optional | "3.8.2" |
playwright
playwright = use_extension("@rules_jupyter//jupyter:extensions.bzl", "playwright")
playwright.toolchain(name, version, version_from_requirements)
Playwright browser dependencies.
TAG CLASSES
toolchain
Playwright toolchain configuration
Attributes
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | Name of the toolchain repository | Name | optional | "playwright_toolchains" |
| version | Playwright version (e.g., '1.57.0'). Browser versions will be auto-selected based on this. Mutually exclusive with version_from_requirements. | String | optional | "" |
| version_from_requirements | A python requirements.txt file used for parsing the desired playwright version. Mutually exclusive with version. | Label | optional | None |