Stan seems like a really advanced platform for calculating statistical models wherever you wish - shell, python, etc.
General documentation here, commandline docs here, python here