A (RESTFUL) Flask application which adds module self-description and process-chain-template management to actinia-core
Project description
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
to create a shippable wheel, run
pip3 install --upgrade pip pep517
python3 -m pep517.build .
Versioning
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:
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
Project details
Release history Release notifications | RSS feed
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
Hashes for actinia_module_plugin-2.6.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe6b24dea26397d43f7698ff01e9f84ebba7b016014d9d236eeb6c6c70413aa8 |
|
MD5 | a5ad5edec5833455f4fb7a6a28de414c |
|
BLAKE2b-256 | 4888b76e1b61af3744080c4baa53d5e43a86822cd5f606e1227c19c59f1fd0f0 |
Hashes for actinia_module_plugin-2.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7525ed22b6f74563180c621218cc8b13e4fdab615fb461d611010689952a2923 |
|
MD5 | 113332ce3f1fa3a027206799e3046a40 |
|
BLAKE2b-256 | 4205fd9be10ae827aa9194c94181c98806344adc49d05fb9e25ea1a01927a2bd |