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.5.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87c813e62c3658525a8ca604828bb867460044cd933ef7d40944781072455b88 |
|
MD5 | 8e4b6620279f65bc044bee30a2e5093c |
|
BLAKE2b-256 | 1d1bd4c2167d04b61d432a66db9b4168c0b0ce1626c7f5414e77efbf821be24e |
Hashes for actinia_module_plugin-2.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236f75a06774af2311b1ab58a65e4c5866cedb6aeef5948118e8205d8a5ebc1f |
|
MD5 | 33117cfada98fb3e3429b33d603ee1e6 |
|
BLAKE2b-256 | 15e951851c230d5696389d1bf503dafeb53af7246a8067f1586f268c99591858 |