Skip to main content

TVB logo

tvb-widgets

Github Actions Status Maintainability Rating Reliability Rating Lines of Code

TheVirtualBrain - Widgets is a package with somehow generic GUI components, but developed for EBRAINS Showcases in particular.

The showcases developed in the last phase of the HBP are meant to illustrate the full potential of technical and scientific features offered by EBRAINS. Access by the end users to this showcased functionality should be as easy as possible. In order to support the usability of the showcases, as well as future EBRAINS workflows, we develop here a set of modular graphic solutions which can be easily deployed in the EBRAINS Collaboratory within the JupyterLab.

This module is also documented in EBRAINS here: https://wiki.ebrains.eu/bin/view/Collabs/tvb-widgets

These graphic user interface components enable:

  1. Easy setup of models and region specific or cohort simulations. This includes single simulations as well as parameter explorations.
  2. Selection of Data sources and their links to models. This will exploit the backend data access functionality to be developed new in TVB.
  3. Integration of a subset of TVB analysis and visualisation tools.
  4. The GUIs must be designed to be integrated into cells in the notebooks and Jupyter notebook extension for HPC resource usage and job tracking will be also developed as independent panels.

Installation

This module is already available in EBRAINS lab, but you can also make use of it locally, in which case, execute:

jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib
pip install tvb-widgets

In order to install tvb-widgets from the local repo clone, directly in a notebook, run (in the first cell):

%pip install --quiet --upgrade pip
%pip install --quiet -e ..
%pip install tvb-data

For some of our widgets, where connection to EBRAINS storage is necessary, you should setup as environment variable before launching the local Jupyter Lab instance:

export CLB_AUTH = "{Your TokenString copied from EBRAINS Collab}"

To retrieve the token string, execute in https://lab.ch.ebrains.eu/:

clb_oauth.get_token()

Acknowledgments

This project has received funding from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).

This project has received funding from the European Union’s Horizon Europe Programme under the Specific Grant Agreement No. 101147319 (EBRAINS 2.0 Project).

This projects also has contribution from @peeplika as part of Google Summer of Code, through INCF organization (https://summerofcode.withgoogle.com/programs/2024/organizations/incf).

This project has received funding from the European Union’s Research and Innovation Program Horizon Europe under Grant Agreement No. 101137289 (Virtual Brain Twin Project).

Metadata

Release files for tvb-widgets 2.4.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 tvb-widgets 2.4.0
File Size Uploaded Provenance Actions
tvb_widgets-2.4.0.tar.gz 3.7 MB Without provenance Details for tvb_widgets-2.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tvb-widgets 2.4.0
File Interpreter ABI Platform Actions
tvb_widgets-2.4.0-py3-none-any.whl Python 3 none any Details for tvb_widgets-2.4.0-py3-none-any.whl

Total release size: 7.4 MB

Release files / tvb_widgets-2.4.0.tar.gz

Download URL tvb_widgets-2.4.0.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3f5cdcb2625b36acdc2424d83e26af481de8d6f2847f94dade649c6f6e74a03f
BLAKE2b-256 checksum
How to use checksums
660700cefb4f2690a160d8e99ec2483c57443beb8b6eacc0cd602354499933ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / tvb_widgets-2.4.0-py3-none-any.whl

Download URL tvb_widgets-2.4.0-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
20fa4f213d375e97e96be8729ce18ba81f4b4de334e49876356f0cfabecfd61e
BLAKE2b-256 checksum
How to use checksums
0ac0c2e438026dd8747e73341ad56b45f528e507849b77f7858f63a2a4fc37a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for tvb-widgets 2.4.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.

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