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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8137ce3363a0b560a6a1873bca87a09f035069edde2146990abc09dc278c4c20 |
|
MD5 | 5cb040bdda9db26612ce156eacdc7f2e |
|
BLAKE2b-256 | a63a1836ca772c4f0067072b801378de437c847bf6415258e6d3d52ec289cace |
Hashes for actinia_module_plugin-2.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ed0a74eb8165a1b14e4920c09eb522a6611dc64d0969f100d5dc81d9410e24 |
|
MD5 | 7c433dd34fbda58cd2c2b0208ff2808a |
|
BLAKE2b-256 | b6463f7cc1c134cfb1e769f0e4f9485489b8ed27a1853a7d75e5ce3087bac3b0 |