Python bindings of PHREEQC Version 3
The original C/C++ source code was downloaded from IPhreeqc Modules made by USGS.
pip install phreeqc
from phreeqc import Phreeqc
p = Phreeqc()
p.load_database("phreeqc.dat")
p.run_file("myfile.in")
print(p.get_selected_output())