Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page