Python Packages in Alibaba Function Compute Runtimes

In addition to the default Python Standard Library, some third-party packages are embedded in Alibaba Function Compute Python runtimes. These packages can be directly imported in your FaaS functions.

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

How it works
from pkg_resources import working_set

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

Python 3.10 Runtime

the following third-party packages come together with Alibaba Function Compute Python 3.10 x86_64 runtime (based on cn-hangzhou region)

Package Version
Python 3.10.9
aiohttp 3.8.3
aiosignal 1.3.1
alibabacloud-credentials 0.3.0
alibabacloud-endpoint-util 0.0.3
alibabacloud-fc-open20210406 2.0.0
alibabacloud-gateway-fc-util 0.0.3
alibabacloud-gateway-spi 0.0.1
alibabacloud-openapi-util 0.2.0
alibabacloud-tea 0.3.0
alibabacloud-tea-openapi 0.3.6
alibabacloud-tea-util 0.3.8
alibabacloud-tea-xml 0.0.2
aliyun-fc2 2.5.2
aliyun-log-python-sdk 0.8.0
aliyun-mns 1.1.5
aliyun-python-sdk-cdn 3.7.8
aliyun-python-sdk-core 2.13.36
aliyun-python-sdk-core-v3 2.13.33
aliyun-python-sdk-dds 3.7.3
aliyun-python-sdk-ecs 4.24.26
aliyun-python-sdk-fnf 1.8.0
aliyun-python-sdk-imm 1.24.0
aliyun-python-sdk-iot 8.47.0
aliyun-python-sdk-kms 2.16.0
aliyun-python-sdk-ram 3.2.0
aliyun-python-sdk-rds 2.7.2
aliyun-python-sdk-sts 3.1.0
aliyun-python-sdk-vpc 3.0.27
async-timeout 4.0.2
attrs 22.1.0
Automat 22.10.0
cbor 1.0.0
certifi 2022.9.24
cffi 1.15.1
chardet 5.1.0
charset-normalizer 2.1.1
constantly 15.1.0
coverage 6.5.0
cprotobuf 0.1.11
crcmod 1.7
cryptography 38.0.4
cssselect 1.2.0
dataclasses 0.6
dateparser 1.1.4
debugpy 1.6.4
elastic-transport 8.4.0
elasticsearch 8.5.2
enum34 1.1.10
filelock 3.8.2
flatbuffers 22.12.6
frozenlist 1.3.3
funcsigs 1.0.2
future 0.18.2
greenlet 2.0.1
hyperlink 21.0.0
icc-rt 2020.0.133
idna 3.4
incremental 22.10.0
intel-openmp 2020.0.133
itemadapter 0.7.0
itemloaders 1.0.6
jmespath 0.10.0
lxml 4.9.1
multidict 6.0.3
oss2 2.16.0
packaging 21.3
parsel 1.7.0
Pillow 9.3.0
pip 22.3.1
Protego 0.2.1
protobuf 3.20.3
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.21
pycryptodome 3.16.0
PyDispatcher 2.0.6
PyExecJS 1.5.1
PyMySQL 1.0.2
pyOpenSSL 22.1.0
pyparsing 3.0.9
python-dateutil 2.8.2
pytz 2022.6
pytz-deprecation-shim 0.1.0.post0
queuelib 1.6.2
redis 4.4.0
regex 2022.10.31
requests 2.28.1
requests-file 1.5.1
Scrapy 2.7.1
service-identity 21.1.0
setuptools 65.5.0
six 1.16.0
tablestore 5.4.1
tldextract 3.4.0
Twisted 22.10.0
typing-extensions 4.4.0
tzdata 2022.7
tzlocal 4.2
urllib3 1.26.13
w3lib 2.1.0
Wand 0.6.10
websocket-client 1.4.2
wheel 0.38.4
yarl 1.8.2
zope.interface 5.5.2

Updated on 2025-11-03 UTC

Python 3.9 Runtime

the following third-party packages come together with Alibaba Function Compute Python 3.9 x86_64 runtime (based on cn-hangzhou region)

Package Version
Python 3.9.8
aiohttp 3.8.1
aiosignal 1.2.0
alibabacloud-credentials 0.2.0
alibabacloud-endpoint-util 0.0.3
alibabacloud-fc-open20210406 1.0.1
alibabacloud-gateway-spi 0.0.1
alibabacloud-openapi-util 0.1.5
alibabacloud-tea 0.2.8
alibabacloud-tea-openapi 0.3.0
alibabacloud-tea-util 0.3.5
aliyun-fc 0.6
aliyun-fc2 2.5.0
aliyun-log-python-sdk 0.7.3
aliyun-mns 1.1.5
aliyun-python-sdk-cdn 3.6.7
aliyun-python-sdk-core 2.13.35
aliyun-python-sdk-dds 3.6.0
aliyun-python-sdk-ecs 4.24.11
aliyun-python-sdk-fnf 1.8.0
aliyun-python-sdk-imm 1.23.4
aliyun-python-sdk-iot 8.30.0
aliyun-python-sdk-kms 2.15.0
aliyun-python-sdk-ram 3.2.0
aliyun-python-sdk-rds 2.6.1
aliyun-python-sdk-sts 3.1.0
aliyun-python-sdk-vpc 3.0.15
asn1crypto 1.4.0
async-timeout 4.0.1
attrs 21.2.0
Automat 20.2.0
cbor 1.0.0
certifi 2021.10.8
cffi 1.15.0
chardet 4.0.0
charset-normalizer 2.0.8
constantly 15.1.0
coverage 6.2
crcmod 1.7
cryptography 36.0.0
cssselect 1.1.0
cycler 0.11.0
Cython 0.29.24
dateparser 1.1.0
debugpy 1.5.1
elasticsearch 7.15.2
enum34 1.1.10
frozenlist 1.2.0
future 0.18.2
greenlet 1.1.2
h2 3.2.0
hpack 3.0.0
hyperframe 5.2.0
hyperlink 21.0.0
icc-rt 2020.0.133
idna 3.3
incremental 21.3.0
intel-openmp 2020.0.133
itemadapter 0.4.0
itemloaders 1.0.4
jmespath 0.10.0
kiwisolver 1.3.2
lxml 4.6.4
matplotlib 3.4.3
multidict 5.2.0
numpy 1.21.4
opencv-python 4.5.4.58
oss2 2.15.0
parsel 1.6.0
Pillow 8.4.0
pip 21.3.1
priority 1.3.0
Protego 0.1.16
protobuf 3.19.1
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.21
pycryptodome 3.11.0
PyDispatcher 2.0.5
pyOpenSSL 21.0.0
pyparsing 3.0.6
python-dateutil 2.8.2
pytz 2021.3
pytz-deprecation-shim 0.1.0.post0
queuelib 1.6.2
regex 2021.11.10
requests 2.26.0
scipy 1.7.2
Scrapy 2.5.1
service-identity 21.1.0
setuptools 59.4.0
six 1.16.0
tablestore 5.2.1
Twisted 21.7.0
typing-extensions 4.0.0
tzdata 2021.5
tzlocal 4.1
urllib3 1.26.7
w3lib 1.22.0
Wand 0.6.7
wheel 0.37.0
yarl 1.7.2
zope.interface 5.4.0

Updated on 2025-11-03 UTC

Python 3.6 Runtime

the following third-party packages come together with Alibaba Function Compute Python 3.6 x86_64 runtime (based on cn-hangzhou region)

Package Version
Python 3.6.13
aliyun-fc 0.6
aliyun-fc2 2.3.0
aliyun-log-python-sdk 0.6.38
aliyun-mns 1.1.5
aliyun-python-sdk-cdn 3.0.8
aliyun-python-sdk-core 2.13.11
aliyun-python-sdk-core-v3 2.13.11
aliyun-python-sdk-dds 2.0.7
aliyun-python-sdk-ecs 4.10.1
aliyun-python-sdk-fnf 1.3.0
aliyun-python-sdk-imm 1.3.4
aliyun-python-sdk-iot 7.8.0
aliyun-python-sdk-kms 2.14.0
aliyun-python-sdk-ram 3.0.0
aliyun-python-sdk-rds 2.1.4
aliyun-python-sdk-sts 3.0.0
aliyun-python-sdk-vpc 3.0.2
asn1crypto 0.24.0
attrs 21.4.0
Automat 20.2.0
backports.zoneinfo 0.2.1
cbor 1.0.0
certifi 2021.10.8
cffi 1.11.5
chardet 3.0.4
charset-normalizer 2.0.11
constantly 15.1.0
coverage 6.2
cprotobuf 0.1.10
crcmod 1.7
cryptography 3.2.1
cssselect 1.1.0
cycler 0.11.0
Cython 0.29.27
dateparser 1.1.0
debugpy 1.3.0
elasticsearch 6.8.2
enum34 1.1.10
future 0.18.2
greenlet 0.4.13
hyperlink 21.0.0
icc-rt 16.0.3
idna 2.7
importlib-resources 5.4.0
incremental 21.3.0
intel-openmp 2022.0.2
jmespath 0.10.0
lxml 4.7.1
lz4 3.1.10
matplotlib 2.0.2
numpy 1.13.3
opencv-python 3.3.0.10
oss2 2.9.1
parsel 1.6.0
pip 21.3.1
protobuf 3.13.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.21
pycryptodome 3.14.1
pydatahub 2.11.2
PyDispatcher 2.0.5
pyOpenSSL 18.0.0
pyparsing 3.0.7
python-dateutil 2.8.2
pytz 2021.3
pytz-deprecation-shim 0.1.0.post0
queuelib 1.6.2
regex 2022.1.18
requests 2.27.1
scipy 1.0.0
Scrapy 1.4.0
service-identity 18.1.0
setuptools 59.6.0
simplejson 3.17.6
six 1.16.0
tablestore 5.1.0
Twisted 18.4.0
tzdata 2021.5
tzlocal 4.1
urllib3 1.23
w3lib 1.22.0
Wand 0.6.7
wheel 0.37.1
zipp 3.6.0
zope.interface 5.4.0

Updated on 2025-11-03 UTC

Python 2.7 Runtime

the following third-party packages come together with Alibaba Function Compute Python 2.7 x86_64 runtime (based on cn-hangzhou region)

Package Version
Python 2.7.18
aliyun-fc 0.6
aliyun-fc2 2.3.0
aliyun-log-python-sdk 0.6.38
aliyun-mns 1.1.5
aliyun-python-sdk-cdn 3.0.8
aliyun-python-sdk-core 2.13.11
aliyun-python-sdk-dds 2.0.7
aliyun-python-sdk-ecs 4.10.1
aliyun-python-sdk-fnf 1.3.0
aliyun-python-sdk-imm 1.3.4
aliyun-python-sdk-iot 7.8.0
aliyun-python-sdk-kms 2.14.0
aliyun-python-sdk-ram 3.0.0
aliyun-python-sdk-rds 2.1.4
aliyun-python-sdk-sts 3.0.0
aliyun-python-sdk-vpc 3.0.2
appdirs 1.4.3
asn1crypto 0.24.0
attrs 21.2.0
Automat 20.2.0
backports.entry-points-selectable 1.1.0
cbor 1.0.0
certifi 2021.5.30
cffi 1.14.6
chardet 4.0.0
configparser 4.0.2
constantly 15.1.0
contextlib2 0.6.0.post1
coverage 5.5
cprotobuf 0.1.10
crcmod 1.7
cryptography 3.3.2
cssselect 1.1.0
cycler 0.10.0
Cython 0.29.14
dateparser 0.7.6
distlib 0.3.2
elasticsearch 6.8.2
enum34 1.1.10
filelock 3.0.12
functools32 3.2.3.post2
future 0.18.2
futures 3.3.0
greenlet 0.4.13
hyperlink 21.0.0
icc-rt 16.0.3
idna 2.10
importlib-metadata 2.1.1
importlib-resources 3.3.1
incremental 21.3.0
intel-openmp 2021.3.0
ipaddress 1.0.23
jmespath 0.10.0
lxml 4.6.3
lz4 2.2.1
matplotlib 2.0.2
numpy 1.13.3
opencv-python 3.3.0.10
oss2 2.9.1
packaging 16.8
parsel 1.6.0
pathlib2 2.3.6
pip 20.3.4
platformdirs 2.0.2
protobuf 3.13.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.20
pycryptodome 3.10.1
pydatahub 2.11.2
PyDispatcher 2.0.5
PyHamcrest 1.10.1
pyOpenSSL 20.0.1
pyparsing 2.4.7
Python 2.7.18
python-dateutil 2.8.2
pytz 2021.1
queuelib 1.6.1
regex 2021.8.3
requests 2.26.0
scandir 1.10.0
scipy 1.0.0
Scrapy 1.4.0
service-identity 21.1.0
setuptools 44.1.1
simplejson 3.17.3
singledispatch 3.6.2
six 1.16.0
subprocess32 3.5.4
tablestore 5.1.0
Twisted 20.3.0
typing 3.10.0.0
tzlocal 2.1
urllib3 1.26.6
virtualenv 20.7.2
w3lib 1.22.0
Wand 0.4.4
wheel 0.37.0
wsgiref 0.1.2
zipp 1.2.0
zope.interface 5.4.0

Updated on 2025-11-03 UTC