A Python Serverless framework
Project description
PYLONE
Python CD framework
Features
- Publish, update and delete Lambdas
- Publish, update and delete Layers
- Doppler integration
- Simple and light wieght
- Multi stages lambdas
- Before/after deploy hooks
Install
pip install pylone
Usage
Pylone usage
pylone -h
Template reference
stages
global parameter
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
source
parameter
You can use the source
parameter to force a directory to be used as source
source: ./bin
before-script
parameter
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 ...'"
after-script
parameter
Similar as before-script
but launch script at the end of process
after-script: ./script.sh
# OR
after-script: "echo 'END of process'"
bucket-name
parameter
Default value:
pylone-bucket
Allows you to choose the bucket name where pylone will upload zip files.
bucket-name: tmp-pylone-files
DX
VSCode config
.vscode/settings.json
{
"yaml.customTags": [
"!env scalar"
]
}
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
pylone-1.0.1.tar.gz
(11.7 kB
view hashes)
Built Distribution
pylone-1.0.1-py3-none-any.whl
(16.8 kB
view hashes)