pyFANS is a Python-wrapped library to control FANS via the Micro Manager. The main idea is to create a large number of FANS simulations, and couple them to one macro-scale simulation typically in Abaqus, CalculiX, etc. The library follows the API of the Micro Manager.
To build FANS as a Micro Manager compatible Python library, set the CMake variable FANS_LIB to ON. The CMake command to compile FANS would then be cmake .. -DFANS_LIBRARY_FOR_MICRO_MANAGER=ON.
pyFANS is intended to be used with the Micro Manager and preCICE for two-scale coupled simulations. However, standalone use of the library is not restricted per se. Look at the test_pyfans example to see how the library is used in a Python script.