Skip to main content

TVB logo VBT logo

tvb-ext-xircuits

This is a jupyterlab extension built as a prototype for building EBRAINS (including TVB simulator, Siibra API) workflows in a visual and interactive manner. It extends the already existent Xircuits jupyterlab extension by adding new components and new features on top.

Starting with version 2.0.0, tvb-ext-xircuits can be installed in lightweight mode or in full mode.

Full mode means that the extension will be fully working and able to run workflows.

Lightweight mode means that only the front-end part of the extension will be available, meaning that the users will be able to see all the extension's components, but running workflows will not work.

To install the extension locally and in full mode (recommended):

pip install tvb-ext-xircuits[full]

To install the extension in lightweight mode (only for specialized users):

pip install tvb-ext-xircuits

For dev mode setup there are 2 alternatives:

  1. Using jlpm:

    jlpm is a JupyterLab-provided, locked version of yarn and has a similar usage:

    conda activate [my-env]
    pip install --upgrade pip
    pip install -e .[full]
    jupyter labextension develop . --overwrite  # Link your development version of the extension with JupyterLab
    jupyter server extension enable tvbextxircuits  # Enable the server extension
    tvbextxircuits
    
  2. Using yarn:

    You need to have a dedicated Python env, yarn, rust and cargo (from https://rustup.rs/) prepared:

    conda activate [my-env]
    pip install --upgrade pip
    pip install -e .[full]
    yarn install
    yarn install:extension
    tvbextxircuits
    

To rebuild the extension after making changes to it:

  # Rebuild Typescript source after making changes
  jlpm build
  # Rebuild extension after making any changes
  jupyter lab build

To rebuild automatically:

  # Watch the source directory in another terminal tab
  jlpm run watch
  # Run Xircuits in watch mode in one terminal tab
  jupyter lab --watch

Notes

To be able to see details info related to TVB components you must first run the command python generate_description_files.py

Notebooks generated can be found at TVB_generated_notebooks/<xircuits_id>

Acknowledgments

Copyright (c) 2022-2025 to Xircuits Team See: https://github.com/XpressAI/xircuits

Copyright (c) 2022-2023 to TVB-Xircuits team (SDL Neuroscience Juelich, INS Marseille, Codemart) for changes in this fork.

Copyright (c) 2024- 2025 to Codemart - Brainiacs team for further changes in this fork.

This extension is build on top of the Xircuits https://xircuits.io Jupyter extension, and it adds custom features, tailored for EBRAINS and VBT environments.

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 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-ext-xircuits 3.0.1

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-ext-xircuits 3.0.1
File Size Uploaded
tvb_ext_xircuits-3.0.1.tar.gz 3.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for tvb-ext-xircuits 3.0.1
File Interpreter ABI Platform
tvb_ext_xircuits-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 MB

Release files / tvb_ext_xircuits-3.0.1.tar.gz

Download URL tvb_ext_xircuits-3.0.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
9fc78531b9caf6a4015133847ad5aed71a5edaccade4c9a7fb579ba0e763d49e
BLAKE2b-256 checksum
How to use checksums
e9c8e29a98dab546d18c2057935d90e70d811f549174720329d9544ff19520ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / tvb_ext_xircuits-3.0.1-py3-none-any.whl

Download URL tvb_ext_xircuits-3.0.1-py3-none-any.whl
Size 4.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e112000a313efdb8fe42ac886dbcb4a6c61314fa4209073bdee19c135f563ce7
BLAKE2b-256 checksum
How to use checksums
ad65d6016ee619eda06f72ec391f89d9b3d693eee046b09e848d8f6dbb039915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14
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