Signac-dashboard package documentation¶
Note
This is documentation for the signac-dashboard package, which is part of the signac framework. See here for a comprehensive introduction to the signac framework.
Contents¶
Installation¶
The recommended installation method for signac-dashboard is via conda or pip. The software is tested for Python versions 3.6+. Its primary dependencies are signac and flask.
Install with conda¶
You can install signac-dashboard via conda (available on the conda-forge channel), with:
$ conda install -c conda-forge signac-dashboard
All additional dependencies will be installed automatically. To upgrade the package, execute:
$ conda update signac-dashboard
Install with pip¶
To install the package with the package manager pip, execute
$ pip install signac-dashboard --user
Note
It is highly recommended to install the package into the user space and not as superuser!
To upgrade the package, simply execute the same command with the --upgrade
option.
$ pip install signac-dashboard --user --upgrade
Source Code Installation¶
Alternatively you can clone the git repository and execute the setup.py
script to install the package.
git clone https://bitbucket.org/glotzer/signac-dashboard.git
cd signac-dashboard
git submodule update --init # This step is required!
python setup.py install --user
API Reference¶
This is the API for the signac-dashboard application.
Dashboard¶
Modules¶
-
class
signac_dashboard.modules.
ImageViewer
(name='Image Viewer', context='JobContext', template='cards/image_viewer.html', img_globs=['*.png', '*.jpg', '*.gif'], **kwargs)[source]¶ Bases:
signac_dashboard.module.Module
-
class
signac_dashboard.modules.
VideoViewer
(name='Video Viewer', context='JobContext', template='cards/video_viewer.html', video_globs=['*.mp4', '*.m4v'], preload='none', poster=None, **kwargs)[source]¶ Bases:
signac_dashboard.module.Module
-
class
signac_dashboard.modules.
StatepointList
(name='Statepoint Parameters', context='JobContext', template='cards/statepoint_list.html', **kwargs)[source]¶ Bases:
signac_dashboard.module.Module
-
class
signac_dashboard.modules.
DocumentList
(name='Job Document', context='JobContext', template='cards/document_list.html', max_chars=None, **kwargs)[source]¶ Bases:
signac_dashboard.module.Module
Support and Development¶
To get help using the signac-dashboard package, either send an email to signac-support@umich.edu or join the signac gitter chatroom.
The signac-dashboard package is hosted on Bitbucket and licensed under the open-source BSD 3-Clause license. Please use the repository’s issue tracker to report bugs or request new features.