The plugin for poetry that allows you to build zip packages suited for serverless deployment like AWS Lambda, Google App Engine, Azure App Service, and more...
Project description
Poetry Plugin Lambda Build
The plugin for poetry that allows you to build zip packages suited for serverless deployment like AWS Lambda, Google App Engine, Azure App Service, and more...
Additionally it provides docker container support for build inside container
Installation
poetry self add poetry-plugin-lambda-build
Configuration Examples
AWS Lambda - all in one - dependencies and handler in the same zip package - Default
[tool.poetry-plugin-lambda-build]
artifact_name = "package.zip"
AWS Lambda - all in one - layer package
[tool.poetry-plugin-lambda-build]
install_dir = "lambda/python"
artifact_name = "layer.zip"
AWS Lambda - separated - separate layer package and handler package
[tool.poetry-plugin-lambda-build]
layer_artifact_name = "layer.zip"
layer_install_dir = "lambda/python"
handler_artifact_name = "handler.zip"
AWS Lambda - separated - separate layer package and handler package build in docker container
[tool.poetry-plugin-lambda-build]
docker_image = "public.ecr.aws/sam/build-python3.11:latest-x86_64"
docker_network = "host"
layer_artifact_name = "layer.zip"
layer_install_dir = "lambda/python"
handler_artifact_name = "handler.zip"
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
Close
Hashes for poetry_plugin_lambda_build-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aabb82cd040e349ebc7564d933295f5db1631cb089d58c45f8376938135fd598 |
|
MD5 | 0e3471f506367edef1fa4e68d8c68f54 |
|
BLAKE2b-256 | 2d16dc1acab3cad5735f7ff07d7a3ed16494fb0eae155a15b04f608812a89a46 |
Close
Hashes for poetry_plugin_lambda_build-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 283caf6bdb4df7153a4e83ec62eb634ce9f695339bd45fb3cc26d3cd16240c58 |
|
MD5 | 1e54ca66d8a91ab33e8d6a4cccc6b0c7 |
|
BLAKE2b-256 | abf2abc953052c7ab1a1dcabf7050b92950f56ad3326a46f85df48902598e95f |