Toolbox for managing and deploying CoSApp powered dashboards.
Project description
CosApp Lab - Toolbox for managing and deploying CoSApp powered dashboards.
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...
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cosapp_lab-0.17.1.tar.gz
.
File metadata
- Download URL: cosapp_lab-0.17.1.tar.gz
- Upload date:
- Size: 23.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a05e84d3914631d8a7e903eff86a649a1b2dad56fa673a2487485261703ca1 |
|
MD5 | a0a496ce3f16aba478f2e376868ea374 |
|
BLAKE2b-256 | 07540cb201b0f29b362498c33f7cfa3f718b4319cfdc4edaa38da3fc618ba467 |
File details
Details for the file cosapp_lab-0.17.1-py3-none-any.whl
.
File metadata
- Download URL: cosapp_lab-0.17.1-py3-none-any.whl
- Upload date:
- Size: 6.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93594535b440d87be522c5217419b97308132a3018292aefd1a2f8f46105b923 |
|
MD5 | d4f0f890c6473b39284df4afa0734350 |
|
BLAKE2b-256 | 77ff1f4bd2903dc6473f520c65fe083e5508c9d1784d2691318ef962fb696463 |