Skip to main content

deSEAsion

deSEAsion is a collaborative support tool for maritime decision making.

deseasion-backend

This package contains its backend, as the namespace package deseasion.backend. It can be installed simply:

pip install deseasion-backend

Alternatively, you can install it from its source repository:

git clone https://gitlab.com/decide.imt-atlantique/deseasion.git
cd deseasion/backend
pip install .

It is not meant to be used outside a docker container with the whole application stack. We are only distributing this package so the backend can be easily expanded by users with specific needs for which the generic deSEAsion backend is not enough.

However, you can test the backend easily. It needs an instance/config.py file in the directory in which you will run it which you can either copy from deseasion/backend/instance-example or generate from the deseasion/backend directory using the bash script configure-backend.sh. In the latter case, you will need to supply at least the following environment variables:

DB_URI             # URI of the Postgresql/PostGIS database
CELERY_BROKER_URL  # URL of the Redis broker used by celery to communicate with the backend

Once setup, you can run the backend with:

python -m deseasion.backend.app
# or
ENV FLASK_APP=deseasion.backend.app
flask run

You can run a celery worker from the same directory (sharing the same instance/config.py file) with:

celery -A deseasion.backend.app.celery worker

Copyright and licence

deSEAsion is copyrighted (C) 2016-2025 by IMT Atlantique Bretagne Pays de la Loire and Service hydrographique et océanographique de la marine (Shom). Licensed under the European Union Public Licence (EUPL) v1.2.

Please refer to the file LICENCE containing the text of the EUPL v1.2.

You may also obtain a copy of the license at: https://joinup.ec.europa.eu/software/page/eupl

For more information on this license, please refer to:

Documentation

See the documentation if you need any information about the project, how to install or contribute to it.

Metadata

Release files for deseasion-backend 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deseasion-backend 0.3.1
File Size Uploaded
deseasion_backend-0.3.1.tar.gz 145.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deseasion-backend 0.3.1
File Interpreter ABI Platform
deseasion_backend-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 327.4 kB

Release files / deseasion_backend-0.3.1.tar.gz

Download URL deseasion_backend-0.3.1.tar.gz
Size 145.2 kB
Tags Source
SHA-256 checksum
How to use checksums
24b6c56dbeb997271c3fdbb2209b65a5daa36be20db610ce07be9354eeb56d6d
BLAKE2b-256 checksum
How to use checksums
ff22ad30a85734a9153d7b11294c9417d9cd1a0894257f46c6a54c50351495c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.11.12

Release files / deseasion_backend-0.3.1-py3-none-any.whl

Download URL deseasion_backend-0.3.1-py3-none-any.whl
Size 182.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
709bd74a86f29e83a1b4ca60e844063b9fb2b52f741ee7c945aed91944f0fad9
BLAKE2b-256 checksum
How to use checksums
09389d8cfe560835aff0009959343b2079209d3bc79572f1d0fe051446f361f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page