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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file dash_cm-0.1.25.tar.gz.

File metadata

  • Download URL: dash_cm-0.1.25.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dash_cm-0.1.25.tar.gz
Algorithm Hash digest
SHA256 82d183ef201d0a24f9b5f0b00ccba44a471f0828369f8e3dc6fad8f0804383c9
MD5 983e43c9fe323e24ff8601db8c4f62b0
BLAKE2b-256 1b1417e9b5c38452dc259d778682af2772e112a1b8ae38cef33593c413ee872a

See more details on using hashes here.

File details

Details for the file dash_cm-0.1.25-py3-none-any.whl.

File metadata

  • Download URL: dash_cm-0.1.25-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dash_cm-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 ab937657fab7a1e76a7c9f86a05cc36a0640cd958d693962929a39512f6d4278
MD5 a5987c55ba3f138f6c929b5b77cc6186
BLAKE2b-256 2382e521164d410a810c31f8b6d329e30817a8908a3af8c2c9615c040db46804

See more details on using hashes here.

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