Python Packages in Lambda Runtimes

In addition to the default Python Standard Library, some third-party packages are embeded in AWS Lambda Python runtimes. These packages are ready to be used in your FaaS functions.

AWS Lambda upgrades the versions of these dependencies every now and then. It is important to make sure your applications are compatible with the latest APIs.

Could you please circulate this page if it is useful? -- a fan of cloud computing

How it works
from pkg_resources import working_set

for p in list(working_set):
    print(p.project_name, p.version)

Python 3.7 Runtime

the following third-party packages come together with AWS Lambda Python 3.7 runtime (based on ap-southeast-1 region)

Package Version
Python 3.7.5
boto3 1.9.221
botocore 1.12.221
docutils 0.15.2
jmespath 0.9.4
pip 19.2.3
python-dateutil 2.8.0
s3transfer 0.2.1
setuptools 41.2.0
six 1.12.0
urllib3 1.25.3

Updated on 2019-12-06 UTC

Python 3.6 Runtime

the following third-party packages come together with AWS Lambda Python 3.6 runtime (based on ap-southeast-1 region)

Package Version
Python 3.6.9
boto3 1.9.221
botocore 1.12.221
docutils 0.15.2
jmespath 0.9.4
pip 18.1
python-dateutil 2.8.0
s3transfer 0.2.1
setuptools 40.6.2
six 1.12.0
urllib3 1.25.3

Updated on 2019-12-06 UTC