Skip to main content

AWS Lambda Packages

Project description

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

Currently includes support for:

  • MySQL-Python

  • numpy

  • OpenCV

  • psycopg2

  • Pillow (PIL)

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

Installation

pip install lambda-packages

Usage

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

Uploaded Source

Built Distribution

lambda_packages-0.4.0-py2-none-any.whl (47.3 MB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for lambda_packages-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7b069c7d73c4265abf750be427100a369454c392e079bb0b043bd843ae51d73c
MD5 9d76e25bbf1820de86e866c2528df38f
BLAKE2b-256 aae5616d3d25b41fa8f3c0b4f6619dd66ea7e807a532f5e29aee56f2526df437

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for lambda_packages-0.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 c1792bf0a93c4ca37ad82aadeeab048a79d504b558c940d59eab861a5525e3b1
MD5 9c61ce3267016800c66b01a5849eaef2
BLAKE2b-256 0f7f59f80f7d7b48c45d4950189ab9d6e063c6a327fbf175d4913b40cef60e6e

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