To install 3rd party modules on your Kindle:
This leverages python's
crossenv package
Your system's python version must be the same as the one in NiLuJe's package.
1. Install NiLuJe's python3 package.
2. Install the correct kindle cross toolchain (the one NiLuJe used to build the python) and load it into your $PATH
3. Extract the python3 package locally on your computer in the examle below it is in ./python3
Code:
python -m pip install crossenv
python -m crossenv ./python3/bin/python3.9 cross
source ./cross/bin/activate
python -m pip install tinytuya
Youn can then copy the site-packages folder to your kindle's python install.