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

  • 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.3.0.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

lambda_packages-0.3.0-py2-none-any.whl (3.2 MB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for lambda_packages-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6364a2770401134ad7e8d1a750ba36c526d5ee1332088f81d1dfd0beb86fce83
MD5 4d5f03e8c3b180b5f700b933ca76d3e1
BLAKE2b-256 b2a22c2dbdbb3d7a8d3bd866102026e252f6e116fbd07ba3fa1224b284fa9b36

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for lambda_packages-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6d4d5ad272069ff4763dabc741dbcf341ef10358e8c310e97b732b32f6efa803
MD5 45b3d9bb4c380c9e7d35610255d7eaed
BLAKE2b-256 1533aa300d4483ef1d2d0d5b13c0f3f43f4e4d86226036b7071a9c722a9ef69b

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