Skip to main content

A Python Serverless framework

Project description

Pylone icon

PYLONE

Python CD framework

Pypi Docker Pulls

wakatime Maintainability

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


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 details)

Uploaded Source

Built Distribution

pylone-1.0.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

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

Hashes for pylone-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8df3f9fcb84db395a2207958badb979b5e7551ece342c98aa4715df726f643da
MD5 734d59287818d369bcad619b60acf792
BLAKE2b-256 5d5bb175fbf17eb5658268bf725ad037910525788cd165f6e929d01e359c3a42

See more details on using hashes here.

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

Hashes for pylone-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d71daab16664ebd404f05a480ebd59aa363db9260424b7cdaf814a7bc1f14564
MD5 12906ac697d3c16b5eac780ba15d2a1a
BLAKE2b-256 6ad591cf6547d9ed833750fa109c8fb42e27c96d2099279e05114c90bbc597ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page