Skip to content

haohanyang/phreeqc

Repository files navigation

PHREEQC

Python bindings of PHREEQC Version 3

The original C/C++ source code was downloaded from IPhreeqc Modules made by USGS.

Install

pip install phreeqc

Use

from phreeqc import Phreeqc

p = Phreeqc()
p.load_database("phreeqc.dat")
p.run_file("myfile.in")

print(p.get_selected_output())