Skip to main content

Build and package AWS Lambda deployment artifacts: source code, dependency layers, and container images.

Project description

Documentation Status https://github.com/MacHu-GWU/aws_lambda_artifact_builder-project/actions/workflows/main.yml/badge.svg https://img.shields.io/pypi/v/aws-lambda-artifact-builder.svg https://img.shields.io/pypi/l/aws-lambda-artifact-builder.svg https://img.shields.io/pypi/pyversions/aws-lambda-artifact-builder.svg https://img.shields.io/badge/✍️_Release_History!--None.svg?style=social&logo=github https://img.shields.io/badge/⭐_Star_me_on_GitHub!--None.svg?style=social&logo=github
https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to aws_lambda_artifact_builder Documentation

https://aws-lambda-artifact-builder.readthedocs.io/en/latest/_static/aws_lambda_artifact_builder-logo.png

AWS Lambda Artifact Builder is a comprehensive Python library that solves the deployment challenges every team faces when building Lambda applications. It provides battle-tested solutions for both Lambda Layer creation and deployment package building across pip, Poetry, and UV dependency managers.

Key Features:

  • Multi-Tool Support: Seamless integration with pip, Poetry, and UV dependency managers

  • Cross-Platform Builds: Container-based builds ensuring Linux compatibility from any development platform

  • Private Repository Support: Built-in AWS CodeArtifact and private PyPI server integration

  • Command Pattern Architecture: Granular control with simple builder.run() interface

  • Enterprise Ready: Intelligent change detection, automated cleanup, cross-account layer sharing

  • Complete Workflow: End-to-end automation from dependency installation to AWS deployment

The Problems It Solves:

  • Platform compatibility issues (Windows/macOS → Linux Lambda runtime)

  • Dependency separation complexity (stable layers vs changing application code)

  • Build reproducibility across development, CI, and production environments

  • Private repository authentication and credential management

  • Storage optimization and version management

  • Enterprise deployment workflows

Usage Examples

Lambda Source Artifacts (Deployment Packages):

Build application code packages for Lambda function deployment:

Lambda Layer Artifacts:

Build dependency layers for Lambda functions using different build tools:

Common Setup:

  • settings.py: Shared configuration for all layer examples

Pip Builder Examples:

Poetry Builder Examples:

UV Builder Examples:

Advanced Workflow Examples:

Install

aws_lambda_artifact_builder is released on PyPI, so all you need is to:

$ pip install aws-lambda-artifact-builder

To upgrade to latest version:

$ pip install --upgrade aws-lambda-artifact-builder

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

aws_lambda_artifact_builder-0.1.3.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_lambda_artifact_builder-0.1.3-py3-none-any.whl (55.2 kB view details)

Uploaded Python 3

File details

Details for the file aws_lambda_artifact_builder-0.1.3.tar.gz.

File metadata

File hashes

Hashes for aws_lambda_artifact_builder-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6c1ce6b36ba357e85e690e669e1e72d7542f3291803632e7f0d62c37dadcbcc8
MD5 1e70be0d3e3596948336e4b31bb0227d
BLAKE2b-256 50b972bf60b437cef1fcc7adbbe1cc7f239a3f92dac2b9e11e8fb5453fa0bb95

See more details on using hashes here.

File details

Details for the file aws_lambda_artifact_builder-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_lambda_artifact_builder-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18b6df8a01fa54e5f5d0face13f95261380b98d6cd64a5ebe15307818340aefd
MD5 52d3c34e41a08f37d082366f710e11d1
BLAKE2b-256 560693cc11fec3470b0a95bb4d0a6f181d42889561809a4a35ccebe2101170ec

See more details on using hashes here.

Supported by

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