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:
- European Union Public Licence: https://joinup.ec.europa.eu/collection/eupl/eupl-guidelines-faq-infographics
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deseasion_backend-0.2.1.tar.gz.
File metadata
- Download URL: deseasion_backend-0.2.1.tar.gz
- Upload date:
- Size: 142.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17fdcf120495cf418491a02a61537276d4b9534a05298d4cc952d47fd8f8ec63
|
|
| MD5 |
32701d913a281030889ce6266c741b0a
|
|
| BLAKE2b-256 |
ac6b2c3789d1829381868c924857e063c36716e01c4907d67ed4b26335a8e7ba
|
File details
Details for the file deseasion_backend-0.2.1-py3-none-any.whl.
File metadata
- Download URL: deseasion_backend-0.2.1-py3-none-any.whl
- Upload date:
- Size: 179.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0db39a6f9bc8bbdb3a8a5680d2b56f6e9631b5748dd7c1133639b864aed14f3e
|
|
| MD5 |
0e8e3ea22cc70a03462b6fe5ffaaf8db
|
|
| BLAKE2b-256 |
de53453ec313ecb133332c0155804165509ea7f27527be5612d84762daadd37e
|