Scripting the Fluid Simulator

I have a computer that I keep at a remote location that I use for my really long renders. I use ssh to connect then run blender through the command line. I would like to use this computer to do fluid simulations too. There isn’t a command line option for running a fluid sim but there is one for running a script. What I would like to know is if there is a way to run a fluid sim from a python script.