skip to navigation
skip to content

lambda_packages 0.14.2

AWS Lambda Packages

Latest Version: 0.20.0

.. figure::
:alt: Logo



|Build Status| |PyPI| |Slack|

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

Currently includes support for:

- bcrypt
- cffi
- cryptography
- datrie\_extended
- misaka
- MySQL-Python
- numpy
- OpenCV
- Pillow (PIL)
- psycopg2
- PyCrypto
- PyNaCl
- pyproj
- python-ldap
- python-Levenshtein
- regex

This project is intended for use by
`Zappa <https:"" miserlou="" zappa="">`__, but could also be used by
any Python/Lambda project.



pip install lambda-packages


The best way to use these packages is with
`Zappa <https:"" miserlou="" 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 <https:"" posts="" zappa-adds-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.

.. code:: python

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


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 `
script <https:"" miserlou="" lambda-packages="" blob="" master="" lambda_packages="" cryptography="""">`__
useful as a starting point.

Useful targets include:

- MongoEngine
- pandas
- scipy
- `scikit-learn <https:"" post="" deploy-scikitlearn-on-lamba=""/>`__

Support / Development / Training / Consulting

Do you need help with..

- Porting existing Python applications to AWS Lambda?
- Building new applications and services that scale infinitely?
- Reducing your operations and hosting costs?
- Training your team to use AWS and other server-less paradigms?

Good news! We're currently available for remote and on-site consulting
for small, large and enterprise teams. Please contact
with your needs and let's work together!

.. raw:: html

<p align="center">

.. raw:: html


.. |Build Status| image::
.. |PyPI| image::
.. |Slack| image::
File Type Py Version Uploaded on Size
lambda_packages-0.14.2-py2-none-any.whl (md5) Python Wheel 2.7 2017-02-17 56MB
lambda_packages-0.14.2.tar.gz (md5) Source 2017-02-17 54MB