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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylone-1.0.1.tar.gz.
File metadata
- Download URL: pylone-1.0.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8df3f9fcb84db395a2207958badb979b5e7551ece342c98aa4715df726f643da
|
|
| MD5 |
734d59287818d369bcad619b60acf792
|
|
| BLAKE2b-256 |
5d5bb175fbf17eb5658268bf725ad037910525788cd165f6e929d01e359c3a42
|
File details
Details for the file pylone-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pylone-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d71daab16664ebd404f05a480ebd59aa363db9260424b7cdaf814a7bc1f14564
|
|
| MD5 |
12906ac697d3c16b5eac780ba15d2a1a
|
|
| BLAKE2b-256 |
6ad591cf6547d9ed833750fa109c8fb42e27c96d2099279e05114c90bbc597ad
|