Skip to main content

Backend for the DeSEAsion application stack

Project description

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.

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

deseasion_backend-0.3.1.tar.gz (145.2 kB view details)

Uploaded Source

Built Distribution

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

deseasion_backend-0.3.1-py3-none-any.whl (182.2 kB view details)

Uploaded Python 3

File details

Details for the file deseasion_backend-0.3.1.tar.gz.

File metadata

  • Download URL: deseasion_backend-0.3.1.tar.gz
  • Upload date:
  • Size: 145.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for deseasion_backend-0.3.1.tar.gz
Algorithm Hash digest
SHA256 24b6c56dbeb997271c3fdbb2209b65a5daa36be20db610ce07be9354eeb56d6d
MD5 a653f231b4beca98bec61d64df388c94
BLAKE2b-256 ff22ad30a85734a9153d7b11294c9417d9cd1a0894257f46c6a54c50351495c9

See more details on using hashes here.

File details

Details for the file deseasion_backend-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deseasion_backend-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 709bd74a86f29e83a1b4ca60e844063b9fb2b52f741ee7c945aed91944f0fad9
MD5 039c2efe85879b93cc7c1bf0c5c9ea22
BLAKE2b-256 09389d8cfe560835aff0009959343b2079209d3bc79572f1d0fe051446f361f6

See more details on using hashes here.

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