Skip to main content

AWS Lambda Packages

Project description

Logo

Logo

lambda-packages

Build Status Slack

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

Currently includes support for:

  • MySQL-Python

  • numpy

  • OpenCV

  • psycopg2

  • Pillow (PIL)

  • LXML

  • PyCrypto

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.6.0.tar.gz (50.6 MB view details)

Uploaded Source

Built Distribution

lambda_packages-0.6.0-py2-none-any.whl (50.6 MB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for lambda_packages-0.6.0.tar.gz
Algorithm Hash digest
SHA256 0aafe686d69d5560d43d51e3a613902fbc6e100b9e4f2842fe958a9ec95eb2b1
MD5 e24962b78883597fcfb1e7c0ced25187
BLAKE2b-256 dbf31dda653f4efc62f78863d3ad849d9a80c945c8a45a355d8cb241eac60f0d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for lambda_packages-0.6.0-py2-none-any.whl
Algorithm Hash digest
SHA256 ac635da40101a9341ca1528c837370252fa548c23e373acf714a69c0f1990f46
MD5 95fe2fc4752b2dc744f5f36817ded43a
BLAKE2b-256 b1345b41d1781fc6a094132c751ef7d6d2094733c4a0a3d345715ffadcc8e5eb

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