Skip to main content

Jupyterlab extension for building TVB workflows in a visual and interactive manner

Project description

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.

For installing in a Jupyter Lab environment:

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 .
    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 .
    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

Acknowledgments

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

Copyright (c) 2022 to TVB-Xircuits team (SDL Neuroscience Juelich, INS Marseille, Codemart) for 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 env.

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvb-ext-xircuits-1.0.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

tvb_ext_xircuits-1.0.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file tvb-ext-xircuits-1.0.0.tar.gz.

File metadata

  • Download URL: tvb-ext-xircuits-1.0.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for tvb-ext-xircuits-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c50712f05a496322792c1f298b3c5195804c638121fa24bb7da7249e424c2f9b
MD5 d21c6ca4f510dfe11991afb5e6f10917
BLAKE2b-256 2e6723464f0fe22e7130e793dce2926ee1c9e53262e411c3979ca89bf68bd869

See more details on using hashes here.

File details

Details for the file tvb_ext_xircuits-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tvb_ext_xircuits-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0302e0fabb0a0dc2971b6ad940ae89dc05cfeafd3004d3839dff51a0c4ee8aa8
MD5 a53c919fc702cf42cf84610a76d452b6
BLAKE2b-256 a816a26c1a8073cf7f4eb83b2ce3e1f952dac384b792a5c38647ec143aad1663

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page