A python bmi sdk is under development under the bmi_sdk package here:
https://github.com/hellkite500/bmi_pytorch
which can be pulled/installed simply using
pip install "git+https://github.com/hellkite500/bmi_pytorch@main#egg=bmi_sdk&subdirectory=bmi_sdk"
An example usage of some of the sdk tools can be seen in this module.