Metadata-Version: 2.4
Name: jupyterlab-singleton-consumer
Version: 1.0.0
Summary: Example of a JupyterLab extension that consumes e.g. a webcomponent singleton registered by another extension
Project-URL: Repository, https://github.com/timkpaine/jupyterlab-singleton-consumer
Project-URL: Homepage, https://github.com/timkpaine/jupyterlab-singleton-consumer
Author-email: the jupyterlab-singleton-consumer authors <t.paine154@gmail.com>
License: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Jupyter
Classifier: Framework :: Jupyter :: JupyterLab
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.10
Requires-Dist: jupyterlab-singleton-provider<2,>=1.0.0
Requires-Dist: jupyterlab<5,>=4
Provides-Extra: develop
Requires-Dist: build; extra == 'develop'
Requires-Dist: bump-my-version; extra == 'develop'
Requires-Dist: check-manifest; extra == 'develop'
Requires-Dist: codespell<2.5,>=2.4; extra == 'develop'
Requires-Dist: hatch-js; extra == 'develop'
Requires-Dist: hatchling; extra == 'develop'
Requires-Dist: jupyterlab<5,>=4; extra == 'develop'
Requires-Dist: mdformat-tables>=1; extra == 'develop'
Requires-Dist: mdformat<1.1,>=0.7.22; extra == 'develop'
Requires-Dist: pytest; extra == 'develop'
Requires-Dist: pytest-cov; extra == 'develop'
Requires-Dist: ruff<0.15,>=0.9; extra == 'develop'
Requires-Dist: twine; extra == 'develop'
Requires-Dist: wheel; extra == 'develop'
Description-Content-Type: text/markdown

# jupyterlab-singleton-consumer

Example of a JupyterLab extension that consumes e.g. a webcomponent singleton registered by another extension

[![Build Status](https://github.com/timkpaine/jupyterlab-singleton-consumer/actions/workflows/build.yaml/badge.svg?branch=main&event=push)](https://github.com/timkpaine/jupyterlab-singleton-consumer/actions/workflows/build.yaml)
[![codecov](https://codecov.io/gh/timkpaine/jupyterlab-singleton-consumer/branch/main/graph/badge.svg)](https://codecov.io/gh/timkpaine/jupyterlab-singleton-consumer)
[![License](https://img.shields.io/github/license/timkpaine/jupyterlab-singleton-consumer)](https://github.com/timkpaine/jupyterlab-singleton-consumer)
[![PyPI](https://img.shields.io/pypi/v/jupyterlab-singleton-consumer.svg)](https://pypi.python.org/pypi/jupyterlab-singleton-consumer)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/timkpaine/jupyterlab-singleton-consumer/main?urlpath=lab)

## Overview

This repo demonstrates how to create a JupyterLab extension which consumes a singleton service from another extension.
In this case, we're not actually using a service, but instead a singleton WebComponent.

An example provider is implemented in [jupyterlab-singleton-provider](https://github.com/timkpaine/jupyterlab-singleton-provider).

> [!NOTE]
> This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).
