AWS Lambda Packages
Project description
lambda-packages
Various popular libraries, pre-compiled to be compatible with AWS Lambda.
Currently includes support for:
bcrypt
cffi
cryptography
LXML
misaka
MySQL-Python
numpy
OpenCV
Pillow (PIL)
psycopg2
PyCrypto
PyNaCl
pyproj
python-ldap
regex
This project is intended for use by Zappa, but could also be used by any Python/Lambda project.
Installation
pip install lambda-packages
Usage
The best way to use these packages is with Zappa, which will automatically install the right packages during deployment, and do a million other useful things. Whatever you’re currently trying to do on Lambda, it’ll be way easier for you if you just use Zappa right now. Trust me. It’s awesome. As a bonus, Zappa now also provides support for manylinux wheels, which adds support for hundreds of other packages.
But, if you want to use this project the other (wrong) way, just 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.
You may find the build.sh script useful as a starting point.
Useful targets include:
MongoEngine
pandas
scipy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lambda_packages-0.13.0.tar.gz
.
File metadata
- Download URL: lambda_packages-0.13.0.tar.gz
- Upload date:
- Size: 56.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027cadddbaaa5d53bd77efd3de8577898a8e152d860dc2cf033615bd1a40cf98 |
|
MD5 | 20bbc73560c31e4710c2490fce645ae3 |
|
BLAKE2b-256 | e083f196ac03d50c08fd1d8ccc8fdf8fb72748f9dcff624f357482e73563ded3 |
Provenance
File details
Details for the file lambda_packages-0.13.0-py2-none-any.whl
.
File metadata
- Download URL: lambda_packages-0.13.0-py2-none-any.whl
- Upload date:
- Size: 57.8 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d81b142c148337bb1bdf56f41a75e524d1831c5f53d5519e374109fd5f51451 |
|
MD5 | dbfab36338ebc302ed498a1f96ff514d |
|
BLAKE2b-256 | 44771b9bba5b745dc90f6d91242574c347c9cebb51631cbece8c7f34e54b984f |