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
Metadata
Release files for dash-cm 0.1.25
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dash_cm-0.1.25.tar.gz | 2.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dash_cm-0.1.25-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 MB
Release files / dash_cm-0.1.25.tar.gz
| Download URL | dash_cm-0.1.25.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82d183ef201d0a24f9b5f0b00ccba44a471f0828369f8e3dc6fad8f0804383c9
|
|
BLAKE2b-256 checksum How to use checksums |
1b1417e9b5c38452dc259d778682af2772e112a1b8ae38cef33593c413ee872a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / dash_cm-0.1.25-py3-none-any.whl
| Download URL | dash_cm-0.1.25-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab937657fab7a1e76a7c9f86a05cc36a0640cd958d693962929a39512f6d4278
|
|
BLAKE2b-256 checksum How to use checksums |
2382e521164d410a810c31f8b6d329e30817a8908a3af8c2c9615c040db46804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|