Available as stdlib compression.zstd as of python 3.14, with 3.9+ backport at backports.zstd published by the pyzstd maintainer (which got moved into cpython 3.14 standard library).
import example: https://github.com/aio-libs/aiohttp/blob/e260b15ca8d5e3a199cc9db7d0d154b3cb7350d8/aiohttp/compression_utils.py#L25-L28
requirement: backports.zstd==1.0.0 ; python_version < "3.14"