Skip to main content

AWS Lambda Packages

Project description

Logo

Logo

lambda-packages

Build Status PyPI Slack

Various popular libraries, pre-compiled to be compatible with AWS Lambda.

Currently includes support for:

  • MySQL-Python

  • numpy

  • OpenCV

  • psycopg2

  • Pillow (PIL)

  • LXML

This project is intended for use by Zappa, but could also be used by any Python/Lambda project.

Installation

pip install lambda-packages

Usage

To use the packages with your projects, put the contents of the .tar.gz archive into your lambda .zip.

lambda-packages also includes a manifest with information about the included packages and the paths to their binaries.

from lambda_packages import lambda_packages

print lambda_packages['psycopg2']['version']
# 2.6.1
print lambda_packages['psycopg2']['path']
# /home/YourUsername/.venvs/lambda_packages/psycopg2/psycopg2-2.6.1.tar.gz

Contributing

To add support for more packages, send a pull request containing a gzipped tarball of the package (build on Amazon Linux and tested on AWS Lambda) in the appropriate directory, an updated manifest, and deterministic build instructions for creating the archive.

Useful targets include:

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

lambda_packages-0.5.0.tar.gz (50.2 MB view details)

Uploaded Source

Built Distribution

lambda_packages-0.5.0-py2-none-any.whl (50.2 MB view details)

Uploaded Python 2

File details

Details for the file lambda_packages-0.5.0.tar.gz.

File metadata

File hashes

Hashes for lambda_packages-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4b68790783482a4f0c3fccaa7c8cb8e546ce6858edc910214e047132206381e0
MD5 827f8c27bdd0e64721150c7fdc02476f
BLAKE2b-256 2ddc629abb2966a3120561010750d682df8fceaeb058cef2c622005e346cde6b

See more details on using hashes here.

Provenance

File details

Details for the file lambda_packages-0.5.0-py2-none-any.whl.

File metadata

File hashes

Hashes for lambda_packages-0.5.0-py2-none-any.whl
Algorithm Hash digest
SHA256 d0237824589863071dda8ba87e64a8e1cab16fa814ecac842d0a6c529d43cc4c
MD5 572966a14c536587d44b43ee68f77f11
BLAKE2b-256 b168f0a0ff8b5d087a18a22046956cae7fc301ec12a8338fd018fde6947d17d7

See more details on using hashes here.

Provenance

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