Metadata-Version: 2.1
Name: actinia-module-plugin
Version: 2.6.1
Summary: A (RESTFUL) Flask application which adds module self-description and process-chain-template management to actinia-core
Author: Carmen Tawalika, Markus Neteler, Julia Haas, Guido Riembauer, Anika Weinmann, Jan Suleiman, Lina Krisztian
Project-URL: Homepage, https://github.com/mundialis/actinia-module-plugin
Project-URL: Tutorial, https://mundialis.github.io/actinia_core
Project-URL: API_Docs, https://redocly.github.io/redoc/?url=https://actinia.mundialis.de/latest/swagger.json
Keywords: processing,earth observation,cloud-based processing,rest api,gis,grass gis,osgeo
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: colorlog>=4.2.1
Requires-Dist: xmltodict
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"

# actinia-module-plugin

You can run actinia-module-plugin as actinia-core plugin.

## Installation
For installation or DEV setup, see docker/README.md.

## actinia-core process-chain templating
see actinia-module.md

## DEV notes

### Build

__insprired by [this](https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/)__

to create a shippable wheel, run
```bash
pip3 install --upgrade pip pep517
python3 -m pep517.build .
```

#### Versioning

[(MAJOR.MINOR.PATCH)](https://semver.org/)

#### Logging
in any module, import `from actinia_module_plugin.resources.logging import log` and call logger with `log.info("my info i want to log")`


### Running tests
You can run the tests in the actinia-modules-plugin-test docker. For that you can comment the execution of the test in the docker/actinia-modules-plugin-test/Dockerfile `RUN ./tests_with_redis.sh` and run the following commands:
```bash
docker build -f docker/actinia-module-plugin-test/Dockerfile -t actinia-module-plugin-test .

# run docker (here the tests folder can also be mounted for development of further tests)
docker run -it actinia-module-plugin-test -i

cd /src/actinia-module-plugin/

# run all tests
./tests_with_redis.sh
```
