Skip to main content

Dashboard for tracking and analyzing live MD simulations with streaming.

Project description

mdadash

Latest release Last release tag GitHub commits since latest release (by date) for a branch Documentation Status
Status GH Actions Status codecov
Community License: MIT License Powered by MDAnalysis

Dashboard for tracking and analyzing live MD simulations with streaming.

mdadash is bound by a Code of Conduct.

Installation

To build mdadash from source, we highly recommend using virtual environments. If possible, we strongly recommend that you use Anaconda as your package manager. Below we provide instructions both for conda and for pip.

With conda

Ensure that you have conda installed.

Create a virtual environment and activate it:

conda create --name mdadash
conda activate mdadash

Install the development, testing and documentation dependencies:

conda env update --name mdadash --file devtools/conda-envs/dev_env.yaml
conda env update --name mdadash --file devtools/conda-envs/test_env.yaml
conda env update --name mdadash --file docs/requirements.yaml

Build this package from source:

pip install -e .

If you want to update your dependencies (which can be risky!), run:

conda update --all

And when you are finished, you can exit the virtual environment with:

conda deactivate

With pip

To build the package from source, run:

pip install .

If you want to create a development environment, install the dependencies required for tests and docs with:

pip install ".[dev,test,doc]"

Run

The frontend code needs to be built before running the backend server. This can be done as follows:

cd mdadash/frontend
npm install
npm run build

To run the dashboard server:

mdadash

To see the options available:

mdadash --help

Development

Frontend

Developer instruction for frontend code can be found here.

Backend

  • Use the editable installation above (pip install -e .)

Tests

Frontend

npm run test:unit --prefix mdadash/frontend -- --run

Backend

pytest -v

Code Coverage

Frontend

cd mdadash/frontend
npx vitest --run --coverage

The coverage details will be shown on the console. Open coverage/index.html to view the interactive coverage report in the browser.

Backend

To see coverage output on the console:

pytest -v --cov=mdadash

To write coverage output to html file:

pytest -v --cov=mdadash --cov-report=html

Open htmlcov/index.html to view the coverage report in the browser.

Build

To build this package:

rm -rf mdadash.egg-info dist && python -m build

To verify the created wheel:

uv run --refresh --with path.to.whl mdadash

To check the created distribution:

twine check dist/*

Verify GitHub actions locally

GitHub actions can be verified locally using act.

Note that this requires Docker. Running on Mac needs an additional param --container-architecture linux/arm64. To bypass the repo name check, you can pass --env GITHUB_REPOSITORY=MDAnalysis/mdadash. Both these can be set in ~/.actrc as well.

To list the jobs:

act -l

To run a job (eg: pylint_check):

act -j pylint_check

To run all jobs:

act

Docs

Setting up the docs environment:

conda env update --name mdadash --file docs/requirements.yaml

Building docs locally:

cd docs
make clean && make html

Open docs/_build/html/index.html to view the docs in the browser.

Copyright

The mdadash source code is hosted at https://github.com/MDAnalysis/mdadash and is available under the MIT License (see the file LICENSE).

Copyright (c) 2026, MDAnalysis

Acknowledgements

Project based on the MDAnalysis Cookiecutter version 0.1. Please cite MDAnalysis when using mdadash in published work.

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

mdadash-0.0.1.tar.gz (5.2 MB view details)

Uploaded Source

Built Distribution

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

mdadash-0.0.1-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file mdadash-0.0.1.tar.gz.

File metadata

  • Download URL: mdadash-0.0.1.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for mdadash-0.0.1.tar.gz
Algorithm Hash digest
SHA256 10cc3b765b3b0eea3be79e2ca2939ab93ba69d80e548f2b3aac6d7e896530663
MD5 a6be34cf86e43a8437e06c4075bb095b
BLAKE2b-256 17303d689176eec1ea8d3490e0f2c71d4555a8fee32af5aaafd2f405a521d54b

See more details on using hashes here.

File details

Details for the file mdadash-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mdadash-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for mdadash-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6a67b773d0a552fd10d3205152c5ffdfd584007c7d17e78359ed710586c3c3f
MD5 0b05185f7b819d5d89b69ff24bb8a643
BLAKE2b-256 605b8cabcadaf4ed33c70f3cc2ffe5c827a30cfac95b74901268e236ec8c5eda

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