Skip to main content

thomas-jupyter-widget

Widget to display and interact with Bayesian Networks in JupyterLab. This version only supports JupyterLab >= 3.

Regular Installation

The package can be installed through pip:

pip install thomas-jupyter-widget

Development Installation

First ensure that nodejs (>=12) and yarn are installed. In debian, you can use the following if you have sudo privileges:

curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -

# Running apt-get update is not necessary, since it's alread called in the
# above setup script.
sudo apt-get install -y nodejs

# Install yarn properly. The version of yarn that's available by default is
# just weird.
sudo apt-get remove cmdtest
sudo npm install --global yarn

Second, depending on your situation, you may want to create a virtual environment. For example, this might be useful if the command jupyter labextension develop --overwrite . fails because it cannot write to the system-wide extensions folder (e.g. /usr/local). Under debian/ubuntu, a virtual environment can be created as follows:

# Install the virtualenv package to make life easier
pip install virtualenv

# Create a virtual environment in the subdirectory '.venv'
virtualenv .venv

# Activate the virtual environment.
source .venv/bin/activate

After the preliminaries, install the package as follows:

# Clone the repository and move into the directory
git clone https://github.com/mellesies/thomas-jupyter-widget.git
cd thomas-jupyter-widget

# Checkout branch jupyter3
git checkout jupyter3

# Install the package in editable mode.
pip install -e .

# We need the latest version of JupyterLab, otherwise this will fail
pip install git+https://github.com/jupyterlab/jupyterlab

# link your development version of the extension with JupyterLab
jupyter labextension develop --overwrite .

# watch the source directory, automatically rebuilding when needed
yarn --cwd ./js run watch

Then, start JupyterLab like you normally would in a separate terminal (and don't forget to activate the virtual environment if you're using one ;-).

Metadata

Release files for thomas-jupyter-widget 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thomas-jupyter-widget 0.1.2
File Size Uploaded Provenance
thomas-jupyter-widget-0.1.2.tar.gz 307.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for thomas-jupyter-widget 0.1.2
File Interpreter ABI Platform
thomas_jupyter_widget-0.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 791.0 kB

Release files / thomas-jupyter-widget-0.1.2.tar.gz

Download URL thomas-jupyter-widget-0.1.2.tar.gz
Size 307.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9e364157032ea6cdba915556d551a7083d9eb25d82790b0642ecf6209ea30b8d
BLAKE2b-256 checksum
How to use checksums
a85aa8a1f93ef2425f0af7c7311a5aee3e5dff82fa698102be37c4d5b9a143c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

Release files / thomas_jupyter_widget-0.1.2-py2.py3-none-any.whl

Download URL thomas_jupyter_widget-0.1.2-py2.py3-none-any.whl
Size 483.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f7270ad3c0af7a24006e2b02b0d5f5e95dbc0eb4fb9ae8dd3309879b38b6f54a
BLAKE2b-256 checksum
How to use checksums
19c3b4da28de1863c0e8d3a80d86b511407c7711805ce8ac2df4f496459639e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

Security for thomas-jupyter-widget 0.1.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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