Seems to even be in Debian as https://packages.debian.org/trixie/python3-apsw Nice!
There is even a website that tracks around 150 different Linux and BSD flavours (even termux) and shows package name, version, etc for each it is present on - see https://repology.org/project/python:apsw/versions
(I am the APSW maintainer)