Pylone is a simple tool to manage serverless functions easily and fastly.
It's build to be totally cloud agnostic, and managed by a single template file.
In opposition to Serverless, there are no fancy config options, just the bare minimum.
What you can do with Pylone:
Only tested with python 3.7.
pip3 install pylone
pylone -h
You can set the stages
parameter to have a multistage project
stages:
- dev # first one is used as default stage
- prod # all other stages are more advanced stages
You can use the source
parameter to force a directory to be used as source
source: ./bin
You can use the before-script
parameter to execute a bash script before processing an entity
before-script: ./script.sh
# OR
before-script: "echo 'Starting ...'"
Similar as before-script
but launch script at the end of process
after-script: ./script.sh
# OR
after-script: "echo 'END of process'"