# lambda_image_utils_prebuilt A prebuilt set of the dependencies needed to run some common image utilities in AWS Lambda. This solves two main problems:
Builds some dependencies that need to be built in the AWS Lambda runtime environment.
Works arounds AWS Lambda’s source code size limitation.
## Usage pip install lambda_image_utils_prebuilt
Then, simply place this as the first import in your lambda function’s handler:
import lambda_image_utils_prebuilt.unpack
## How it Works The libs needed for face_recognition are built inside a Docker container that matches the environment in which AWS Lambda code is ran.
Since the dependencies for face_recognition exceed the source code size limit of AWS Lambda functions, we do some ridiculousness to make it work. We zip up the deps and then unzip them at runtime.
The dependencies in prebuilt-requirements.txt are generally large dependencies, therefore, these are included as well so that you can keep the source code size of your Lambda function small enough to deploy.
The unzipping of these deps at runtime will add overhead to your function’s start time. So, please keep that in mind in deciding whether to use this package.
## See it in Action [Here](https://github.com/JonathanPorta/lambda_face_recognition_example) is an example project that uses the [face_recognition portion](https://github.com/JonathanPorta/lambda_face_recognition_prebuilt) of this project as one of its dependencies.
Metadata
Release files for lambda-image-utils-prebuilt 0.0.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lambda_image_utils_prebuilt-0.0.20.tar.gz | 4.0 kB | Without provenance | Details |
Release files / lambda_image_utils_prebuilt-0.0.20.tar.gz
| Download URL | lambda_image_utils_prebuilt-0.0.20.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fef196fa3cfcf3558a9066c0de9729bb70a6bd8ae91698b7f15668f9e7b6f8f4
|
|
BLAKE2b-256 checksum How to use checksums |
e551644031e199763c15de916dcaa1268feb38d6a9062627f8cf0af664d3220e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/37.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.5
|
Security for lambda-image-utils-prebuilt 0.0.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.