Skip to main content

Toolbox for managing and deploying CoSApp powered dashboards.

Project description

CosApp Lab - Toolbox for managing and deploying CoSApp powered dashboards.

Readthedocs Binder

Introduction

The primary goal of CoSApp Lab is to help users transform existing CoSApp modules into interactive dashboards, with almost no additional development or configuration.

Examples

Using CosApp Lab in JupyterLab

CoSApp Lab provides a JupyterLab extension named SysExplorer for creating interactive dashboards. This extension allows users to dynamically customize the layout and fill their dashboard with multiple predefined widgets, such as charts, controllers (sliders, etc.), 3D visualization panels...

CosApp Lab in JupyterLab

Using CosApp Lab standalone mode

Dashboards defined with SysExplorer in JupyterLab can also be exported into libraries and served by CoSApp Lab as web applications.

CoSApp Lab standalone

Documentation

A more detailed CoSApp Lab documentation is available at:

https://cosapp-lab.readthedocs.io/

Installation

Stable release

The easiest way to obtain cosapp_lab is to install the conda package:

conda install -c conda-forge cosapp_lab

cosapp_lab is also available on PyPI. However, since pythonocc-core is not, users can install cosapp_lab with pip, but the 3D viewer widget will not work.

pip install cosapp-lab

JupyterLab is not a direct dependency of cosapp_lab, but users need to have JupyterLab (>3.0) in order to create CoSApp dashboard in notebooks.

Development

Setup development environment

    # create a new conda environment
    conda create -n cosapplab -c conda-forge python jupyterlab nodejs=20
    conda activate cosapplab

    # download cosapp_lab from gitlab
    git clone --recursive https://gitlab.com/cosapp/cosapp_lab.git

    # install JS dependencies, build and install JupyterLab extension in development mode
    cd cosapp_lab
    npm run install
    npm run build:all
    npm run install:extension

    # install cosapp_lab in editable mode
    python -m pip install -e .

Testing

    # Test python code
    python -m pytest

    # Test typescript code
    npm run test

Build documents

cd docs
sphinx-build -b html -d _build/doctrees . _build

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

cosapp_lab-1.0.0.tar.gz (23.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cosapp_lab-1.0.0-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

Details for the file cosapp_lab-1.0.0.tar.gz.

File metadata

  • Download URL: cosapp_lab-1.0.0.tar.gz
  • Upload date:
  • Size: 23.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for cosapp_lab-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cd6dca790f8d38cd7abdd6492af84863994c5be5793ea206c711a2088b9f232b
MD5 52d9f3d0a70d7bfc12607b28e5973016
BLAKE2b-256 1e511de75ce626a37b9472b7082365a61e650ec41c7a5f1347ec00fa5871b9b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cosapp_lab-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for cosapp_lab-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ff38a61b0e9c5e21bd380eba686a26cbada66772f9ed6ecb934f0c54838504
MD5 8327e18294e91ce51f818c508dfa2cde
BLAKE2b-256 7d62594ca518769ab72c9a4b1585ab68bd9864236c1badd198c019d26f8fc008

See more details on using hashes here.

Supported by

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