Skip to main content

Main graphical application for the DTOcean tools

Project description

dtocean-app actions codecov PyPI - Python Version

dtocean-app

This repository contains the main graphical application of the DTOcean software tools. The code contained in this package is a Qt GUI view of the underlying model, provided by the dtocean-core package.

Part of the DTOcean suite of tools.

Installation

pip install dtocean-app

Install a desktop shortcut to the UI with the following command:

dtocean init

Note that Design and assessment modules must be installed separately.

Usage

Graphical Interface

If dtocean init was called a shortcut named "DTOcean" should be available in the desktop start menu

Alternatively, the UI can be started from a command line terminal:

dtocean app

To send all output to the cmd window (useful when crashes occur before logging is started) use "debug mode":

dtocean app --debug

See the "Getting Started 1: Example Project" chapter of the DTOcean documentation for an example project.

Command Line Tools

A utility is provided to copy user modifiable configuration files to the users "AppData" directory (on Windows). For instance the logging configuration can be modified once these files have been copied. To get help:

dtocean app config -h

Development

Development of dtocean-app uses the Poetry dependency manager. Poetry must be installed and available on the command line.

If installing from the git repository, the image files must first be retrieved using git-lfs (ensure that git-lfs is installed first):

git lfs fetch --all
git lfs pull

To install:

poetry install

Tests

A test suite is provided with the source code that uses pytest. To install the testing dependencies:

poetry install --with test

Alternatively to include additional modules which enable the full suite of tests, use the command:

poetry install --with test --with test-extras

Run the tests:

poetry run pytest

Code quality can also be audited using the ruff and pyright tools. Install the dependencies:

poetry install --with audit

Run the audit:

poetry run ruff
poetry run pyright src

The above tests can be run across all compatible Python versions using tox and tox-uv. To install and run:

poetry install --with tox
poetry run tox

Contributing

Please see the dtocean GitHub repository for contributing guidelines.

Credits

This package was initially created as part of the EU DTOcean project by:

It is now maintained by Mathew Topper at Data Only Greater.

Licenses

Software

GPL-3.0

Icons

The icons used with the graphical interface are source directly or derived from the following open source icon sets:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

dtocean_app-4.0.2-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

dtocean_app-4.0.2-cp313-cp313-manylinux_2_39_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

dtocean_app-4.0.2-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

dtocean_app-4.0.2-cp312-cp312-manylinux_2_39_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

File details

Details for the file dtocean_app-4.0.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for dtocean_app-4.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 820829e7ae36c07488ca62fd58b03f092e69c1902804019fcfc096910e1a01a0
MD5 3173dff3c5bf2ca6c17a4b1fb7e9dea0
BLAKE2b-256 ea98e4eb5369d8998ef0dc64d34dca4050759c74f3daa3d3fb08490950b802af

See more details on using hashes here.

Provenance

The following attestation bundles were made for dtocean_app-4.0.2-cp313-cp313-win_amd64.whl:

Publisher: release.yml on DTOcean/dtocean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dtocean_app-4.0.2-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for dtocean_app-4.0.2-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 b162dbc5095873cc5ee5b616389904f4c2ceb7701467b5d42b76c9289d5542f0
MD5 9931a067ad48bb44637e950d126e4169
BLAKE2b-256 67b2419af8c5b0b20962d7685efb6bf322387850f69595d6aa795a73ce6e8aaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for dtocean_app-4.0.2-cp313-cp313-manylinux_2_39_x86_64.whl:

Publisher: release.yml on DTOcean/dtocean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dtocean_app-4.0.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for dtocean_app-4.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 64f0dc378b08388912179aa6e4bb06298340751f857fa3c8b1131c199853ce87
MD5 4f4e409313c2672205eec8109485f39f
BLAKE2b-256 4cd255635af91d19024a7a466ae477e014bd4a43bd64de05b5f4f4b3d8152f82

See more details on using hashes here.

Provenance

The following attestation bundles were made for dtocean_app-4.0.2-cp312-cp312-win_amd64.whl:

Publisher: release.yml on DTOcean/dtocean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dtocean_app-4.0.2-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for dtocean_app-4.0.2-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5be8cd516cd8cfff9a973171cf12a15d4d4fe4825f661a93ba1f6b885b3ab699
MD5 2b11bbfa3e448c592974f66c68b8c37d
BLAKE2b-256 049148613500f266279e7316ebd25352e2368139f19ea0d0900664838cde7f44

See more details on using hashes here.

Provenance

The following attestation bundles were made for dtocean_app-4.0.2-cp312-cp312-manylinux_2_39_x86_64.whl:

Publisher: release.yml on DTOcean/dtocean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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