Thanks to the huge efforts of Nickolai Belakovski, PRIMA now has an official Python interface. It talks to Python via pybind11 and its C API instead of using F2PY.
I hope PRIMA will provide an example of binding modern Fortran libraries with Python.
Concerning Python, the next steps of PRIMA will be
- making PRIMA available on PyPI
- making PRIMA available on Conda
- getting PRIMA into SciPy
BTW, Nickolai is truly outstanding as a person and a programmer / engineer. He worked for amazing companies including Bloomberg and Tesla. If you search for Nickolai Belakovski, you can find the following interesting article about him:
Rocket Science: From Russia and Bloomberg, With Love,
and the following one by him:
The little-known Soviet mission to rescue a dead space station
It is a privilege to have him contributing to PRIMA.
See Nickolai’s homepage for more (although it does not seem up to date).