Skip to main content

Description

Project description

dash_cm

Install

pip install --upgrade dash_cm

Optionally:

sudo tee /usr/local/bin/dashcm > /dev/null <<EOT
#!/usr/bin/bash

exec "python" -m dash_cm "\$@"
EOT
sudo chmod +x /usr/local/bin/dashcm

And then use as executable

dashcm serve &

To check used ports: netstat -tulpn | grep LISTEN |grep 3000

Make '.model' file executable

Create the two following files:

  • /usr/share/mime/packages/cardiac-model.xml

    <?xml version="1.0" encoding="UTF-8"?>
        <mime-info xmlns="https://www.freedesktop.org/standards/shared-mime-info">
        <mime-type type="application/zip">
            <comment xml:lang="en">Cardiac Model</comment>
            <glob pattern="*.model"/>
            <glob pattern="*.zip"/>
        </mime-type>
    </mime-info>
    
  • /usr/share/applications/cardiac-model.desktop

    [Desktop Entry]
    Encoding=UTF-8
    Version=1.0
    Type=Application
    Terminal=true
    Exec=dashcm load %F
    Name=CardiacModel
    Icon=<path-to>/dash_cm/build/static/icons/logo_512.png
    

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

dash_cm-0.1.25.tar.gz (2.5 MB view hashes)

Uploaded Source

Built Distribution

dash_cm-0.1.25-py3-none-any.whl (2.6 MB view hashes)

Uploaded Python 3

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