Skip to main content

Create AWS Lambda packages

Project description

Creates Python 2.7 packages for AWS Lambda, installing requirements and setting build-time variables.

Bare minimum

Lambpack’s purposely minimal - it only packages functions. No uploading, no publishing, no aspirations to become a framework.

Command-line example

Given a directory my-function containing:

Run the following to get, ready for upload to AWS Lambda:

$ pip install lambpack
$ lambpack my-function index.handler --env DEBUG=yes --env MY_OTHER_FLAG=123

Your function can access the --env variables via os.environ.

API example

As above, but via the API:

import lambpack

        "ENV": "prod"

See src/lambpack/ for more info.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lambpack, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size lambpack-0.1.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page