A Docker image based on termux/termux-docker:x86_64 with Python pre-installed.
termux/termux-docker:x86_64
docker run --rm ghcr.io/astral-sh/termux-python:latest \ /entrypoint.sh python3 -c "print('hello from termux')"