An AWS Lambda Runtime for PyPy 3.5
This is an AWS Lambda Runtime for PyPy 3.5. It uses portable-pypy, which is a statically-linked distribution of PyPy 3.5.
This runtime is still experimental and not intended for production use.
- Make the runtime behave as closely to the
python3.6
runtime as possible. - Improve runtime stability.
- Current runtime is 40MB zipped, 135MB unzipped. Reduce the runtime size by removing helpers/libraries that are included with portable-pypy that aren't relevant in an AWS Lambda use case.
This runtime is published as an AWS LAmbda Layer. If you're interested in giving it a try, here are the currently available ARNs:
- ap-northeast-1:
arn:aws:lambda:ap-northeast-1:146318645305:layer:pypy35:1
- ap-northeast-2:
arn:aws:lambda:ap-northeast-2:146318645305:layer:pypy35:1
- ap-south-1:
arn:aws:lambda:ap-south-1:146318645305:layer:pypy35:1
- ap-southeast-1:
arn:aws:lambda:ap-southeast-1:146318645305:layer:pypy35:1
- ap-southeast-2:
arn:aws:lambda:ap-southeast-2:146318645305:layer:pypy35:1
- ca-central-1:
arn:aws:lambda:ca-central-1:146318645305:layer:pypy35:1
- eu-central-1:
arn:aws:lambda:eu-central-1:146318645305:layer:pypy35:1
- eu-west-1:
arn:aws:lambda:eu-west-1:146318645305:layer:pypy35:1
- eu-west-2:
arn:aws:lambda:eu-west-2:146318645305:layer:pypy35:1
- eu-west-3:
arn:aws:lambda:eu-west-3:146318645305:layer:pypy35:1
- us-east-1:
arn:aws:lambda:us-east-1:146318645305:layer:pypy35:1
- us-east-2:
arn:aws:lambda:us-east-2:146318645305:layer:pypy35:1
- us-west-1:
arn:aws:lambda:us-west-1:146318645305:layer:pypy35:1
- us-west-2:
arn:aws:lambda:us-west-2:146318645305:layer:pypy35:1
For an example of how to use AWS Lambda Layers, see this SAM example.
To build this runtime as a layer:
make pypy35.zip
Apache 2.0